From: Martin Xu <[email protected]>

---
 Makefile.am |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index cffebd0..14adec6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,7 +26,8 @@ local_headers = $(foreach file,$(include_HEADERS) 
$(nodist_include_HEADERS) \
 gdbus_sources = gdbus/gdbus.h gdbus/mainloop.c gdbus/watch.c \
                                        gdbus/object.c gdbus/polkit.c
 
-gdhcp_sources = gdhcp/gdhcp.h gdhcp/common.h gdhcp/common.c gdhcp/client.c
+gdhcp_sources = gdhcp/gdhcp.h gdhcp/common.h gdhcp/common.c gdhcp/client.c \
+               gdhcp/server.c
 
 gweb_sources = gweb/gweb.h gweb/gweb.c gweb/gresolv.h gweb/gresolv.c
 
@@ -128,11 +129,11 @@ client_cm_LDADD = @DBUS_LIBS@
 endif
 
 if TOOLS
-noinst_PROGRAMS += tools/wifi-scan tools/supplicant-test tools/dhcp-test \
-                       tools/addr-test tools/web-test tools/resolv-test \
-                       tools/dbus-test tools/polkit-test tools/portal-test \
-                       tools/iptables-test tools/tap-test tools/wpad-test \
-                       tools/stats-ringbuffer-dump
+noinst_PROGRAMS += tools/wifi-scan tools/supplicant-test 
tools/dhcp-server-test \
+                       tools/dhcp-test tools/addr-test tools/web-test \
+                       tools/resolv-test tools/dbus-test tools/polkit-test \
+                       tools/portal-test tools/iptables-test tools/tap-test \
+                       tools/wpad-test tools/stats-ringbuffer-dump
 
 tools_wifi_scan_LDADD = @GLIB_LIBS@ @NETLINK_LIBS@
 
@@ -153,6 +154,9 @@ tools_wpad_test_LDADD = @GLIB_LIBS@ -lresolv
 tools_dhcp_test_SOURCES = $(gdhcp_sources) tools/dhcp-test.c
 tools_dhcp_test_LDADD = @GLIB_LIBS@
 
+tools_dhcp_server_test_SOURCES = $(gdhcp_sources) tools/dhcp-server-test.c
+tools_dhcp_server_test_LDADD = @GLIB_LIBS@
+
 tools_dbus_test_SOURCES = $(gdbus_sources) tools/dbus-test.c
 tools_dbus_test_LDADD = @GLIB_LIBS@ @DBUS_LIBS@
 
-- 
1.6.1.3

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to