summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am13
l---------src/libsystemd-dhcp/Makefile1
2 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 25bbcab888..9b5c49624d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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
index 0000000000..d0b0e8e008
--- /dev/null
+++ b/src/libsystemd-dhcp/Makefile
@@ -0,0 +1 @@
+../Makefile \ No newline at end of file