diff --git a/Makefile.am b/Makefile.am index 25bbcab888..9b5c49624d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3846,6 +3846,19 @@ lib_LTLIBRARIES += \ 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 = \ 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