about summary refs log tree commit diff
path: root/src/dhcp-manager/tests/Makefile.am
blob: 1feade8693d73046b1d7693ff8e103b3e5f1b734 (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
INCLUDES = \
	-I$(top_srcdir)/include \
	-I$(top_builddir)/include \
	-I${top_srcdir}/libnm-util \
	-I${top_builddir}/libnm-util \
	-I$(top_srcdir)/src/dhcp-manager

noinst_PROGRAMS = test-dhcp-dhclient

####### policy /etc/hosts test #######

test_dhcp_dhclient_SOURCES = \
	test-dhcp-dhclient.c

test_dhcp_dhclient_CPPFLAGS = \
	$(GLIB_CFLAGS)

test_dhcp_dhclient_LDADD = \
	-ldl \
	$(top_builddir)/src/dhcp-manager/libdhcp-dhclient.la \
	$(top_builddir)/libnm-util/libnm-util.la \
	$(GLIB_LIBS)

if WITH_TESTS

check-local: test-dhcp-dhclient
	$(abs_builddir)/test-dhcp-dhclient

endif