[systemd-devel] [PATCH 16/28] build: Add example DHCP test program

Patrik Flykt patrik.flykt at linux.intel.com
Wed Nov 13 13:22:44 PST 2013


---
 Makefile.am |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 1c73423..f079822 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3760,6 +3760,12 @@ libsystemd_dhcp_la_LDFLAGS = \
 libsystemd_dhcp_la_LIBADD = \
 	libsystemd-shared.la
 
+dhcp_example_client_SOURCES = \
+	src/dhcp/dhcp-example-client.c
+
+dhcp_example_client_LDADD = \
+	libsystemd-dhcp.la
+
 test_dhcp_option_SOURCES = \
 	src/dhcp/protocol.h \
 	src/dhcp/internal.h \
@@ -3784,6 +3790,10 @@ test_dhcp_client_LDADD = \
 tests += \
 	test-dhcp-option \
 	test-dhcp-client
+
+manual_tests += \
+	dhcp-example-client
+
 endif
 
 # ------------------------------------------------------------------------------
-- 
1.7.10.4



More information about the systemd-devel mailing list