From b5d01d174c5cb3d2ae49875d3bc1f233c5412120 Mon Sep 17 00:00:00 2001 From: Patrik Flykt Date: Mon, 9 Dec 2013 23:43:10 +0200 Subject: [PATCH] build: Add initial build support The client test program is the only one to be built so far. --- Makefile.am | 13 +++++++++++++ src/libsystemd-dhcp/Makefile | 1 + 2 files changed, 14 insertions(+) create mode 120000 src/libsystemd-dhcp/Makefile diff --git a/Makefile.am b/Makefile.am index 25bbcab88..9b5c49624 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 000000000..d0b0e8e00 --- /dev/null +++ b/src/libsystemd-dhcp/Makefile @@ -0,0 +1 @@ +../Makefile \ No newline at end of file -- 2.30.2