chiark / gitweb /
build: Add initial build support
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 9 Dec 2013 21:43:10 +0000 (23:43 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 12 Dec 2013 16:43:33 +0000 (11:43 -0500)
The client test program is the only one to be built so far.

Makefile.am
src/libsystemd-dhcp/Makefile [new symlink]

index 25bbcab888bff43ed8e55e66579ee18ef8a1c6eb..9b5c49624d89692789b4d26eadbf42db3839db0a 100644 (file)
@@ -3846,6 +3846,19 @@ lib_LTLIBRARIES += \
        libnss_myhostname.la
 endif
 
        libnss_myhostname.la
 endif
 
+# ------------------------------------------------------------------------------
+test_dhcp_client_SOURCES = \
+       src/libsystemd-dhcp/protocol.h \
+       src/systemd/sd-dhcp-client.h \
+       src/libsystemd-dhcp/dhcp-client.c \
+       src/libsystemd-dhcp/test-dhcp-client.c
+
+test_dhcp_client_LDADD = \
+       libsystemd-shared.la
+
+tests += \
+       test-dhcp-client
+
 # ------------------------------------------------------------------------------
 if ENABLE_MACHINED
 systemd_machined_SOURCES = \
 # ------------------------------------------------------------------------------
 if ENABLE_MACHINED
 systemd_machined_SOURCES = \
diff --git a/src/libsystemd-dhcp/Makefile b/src/libsystemd-dhcp/Makefile
new file mode 120000 (symlink)
index 0000000..d0b0e8e
--- /dev/null
@@ -0,0 +1 @@
+../Makefile
\ No newline at end of file