about summary refs log tree commit diff
path: root/src/settings/plugins/ifnet/tests/Makefile.am
blob: 23f96c81fae9465fdbaaceba79528b4576bc17c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
if ENABLE_TESTS

INCLUDES=-I$(srcdir)/../ \
	 -I$(top_srcdir)/libnm-glib \
	 -I$(top_srcdir)/libnm-util \
	 -I$(top_builddir)/libnm-util \
	 -I$(top_srcdir)/include \
	 -I$(top_builddir)/include \
	 -I$(top_srcdir)/src/settings

noinst_PROGRAMS = check_ifnet
check_ifnet_SOURCES = test_all.c

check_ifnet_CPPFLAGS = \
	$(CHECK_CFLAGS) \
	$(GLIB_CFLAGS) \
	-DTEST_WPA_SUPPLICANT_CONF='"$(srcdir)/wpa_supplicant.conf"'

check_ifnet_LDADD = $(top_builddir)/libnm-util/libnm-util.la \
		    $(builddir)/../lib-ifnet-io.la \
		    $(CHECK_LIBS) \
		    $(GLIB_LIBS) \
		    $(LIBM)
check-local: check_ifnet
	$(abs_builddir)/check_ifnet $(abs_srcdir) $(abs_builddir)

EXTRA_DIST = \
	hostname \
	net \
	net.all \
	nm-system-settings.conf \
	wpa_supplicant.conf \
	test_ca_cert.pem

endif