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 25bbcab..9b5c496 100644 (file)
@@ -3847,6 +3847,19 @@ lib_LTLIBRARIES += \
 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 = \
        src/machine/machined.c \
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