[systemd-devel] [PATCH v3 04/26] build: Add initial build support
Patrik Flykt
patrik.flykt at linux.intel.com
Mon Dec 9 13:43:10 PST 2013
The client test program is the only one to be built so far.
---
Makefile.am | 13 +++++++++++++
src/dhcp/Makefile | 1 +
2 files changed, 14 insertions(+)
create mode 120000 src/dhcp/Makefile
diff --git a/Makefile.am b/Makefile.am
index 7bedd76..4e13370 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3837,6 +3837,19 @@ lib_LTLIBRARIES += \
endif
# ------------------------------------------------------------------------------
+test_dhcp_client_SOURCES = \
+ src/dhcp/protocol.h \
+ src/systemd/sd-dhcp-client.h \
+ src/dhcp/client.c \
+ src/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/dhcp/Makefile b/src/dhcp/Makefile
new file mode 120000
index 0000000..d0b0e8e
--- /dev/null
+++ b/src/dhcp/Makefile
@@ -0,0 +1 @@
+../Makefile
\ No newline at end of file
--
1.7.10.4
More information about the systemd-devel
mailing list