Makefile.am 800 Bytes
Newer Older
1 2
if ENABLE_TESTS

3
AM_CPPFLAGS = \
4
	-I$(top_srcdir)/include \
Dan Winship's avatar
Dan Winship committed
5 6
	-I$(top_srcdir)/libnm-core \
	-I$(top_builddir)/libnm-core \
7
	-I$(top_srcdir)/callouts \
8
	-DNETWORKMANAGER_COMPILATION \
9
	-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
10 11
	$(GLIB_CFLAGS) \
	$(DBUS_CFLAGS)
12 13 14 15 16 17 18 19 20 21

noinst_PROGRAMS = \
	test-dispatcher-envp

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

test_dispatcher_envp_SOURCES = \
	test-dispatcher-envp.c

test_dispatcher_envp_LDADD = \
Dan Winship's avatar
Dan Winship committed
22
	$(top_builddir)/libnm/libnm.la \
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
	$(top_builddir)/callouts/libtest-dispatcher-envp.la \
	$(GLIB_LIBS) \
	$(DBUS_LIBS)

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

check-local: test-dispatcher-envp
	$(abs_builddir)/test-dispatcher-envp $(abs_srcdir)

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

38
endif