summaryrefslogtreecommitdiff
path: root/callouts/tests/Makefile.am
blob: fface33db32ff87b30b91c3fd9add7353c34ae44 (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
36
37
38
39
40
if ENABLE_TESTS

AM_CPPFLAGS = \
	-I$(top_srcdir)/include \
	-I$(top_srcdir)/libnm-core \
	-I$(top_builddir)/libnm-core \
	-I$(top_srcdir)/callouts \
	-I$(top_builddir)/callouts \
	-DNETWORKMANAGER_COMPILATION \
	-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
	-DSRCDIR=\"$(abs_srcdir)\" \
	$(GLIB_CFLAGS) \
	$(DBUS_CFLAGS)

noinst_PROGRAMS = \
	test-dispatcher-envp

####### dispatcher envp #######

test_dispatcher_envp_SOURCES = \
	test-dispatcher-envp.c

test_dispatcher_envp_LDADD = \
	$(top_builddir)/libnm/libnm.la \
	$(top_builddir)/callouts/libtest-dispatcher-envp.la \
	$(GLIB_LIBS) \
	$(DBUS_LIBS)

###########################################

@VALGRIND_RULES@
TESTS = test-dispatcher-envp

endif

EXTRA_DIST= \
	dispatcher-down \
	dispatcher-up \
	dispatcher-vpn-down \
	dispatcher-vpn-up