summaryrefslogtreecommitdiff
path: root/common/Makefile.am.in
diff options
context:
space:
mode:
Diffstat (limited to 'common/Makefile.am.in')
-rw-r--r--common/Makefile.am.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/common/Makefile.am.in b/common/Makefile.am.in
new file mode 100644
index 00000000..b168a0ba
--- /dev/null
+++ b/common/Makefile.am.in
@@ -0,0 +1,17 @@
+AM_CPPFLAGS = -I$(top_srcdir) -DLOCALSTATEDIR='"@localstatedir@"'
+AM_CFLAGS = $(LDAP_CFLAGS)
+
+noinst_LIBRARIES = libdhcp.@A@
+libdhcp_@A@_SOURCES = alloc.c bpf.c comapi.c conflex.c ctrace.c dhcp4o6.c \
+ discover.c dispatch.c dlpi.c dns.c ethernet.c execute.c \
+ fddi.c icmp.c inet.c lpf.c memory.c nit.c ns_name.c \
+ options.c packet.c parse.c print.c raw.c resolv.c \
+ socket.c tables.c tr.c tree.c upf.c
+man_MANS = dhcp-eval.5 dhcp-options.5
+EXTRA_DIST = $(man_MANS)
+
+# We want to build this directory first, before descending into tests subdir.
+# The reason is that ideally the tests should link existing objects from this
+# directory. That eliminates any discrepancies between tested code and
+# production code. Sadly, we are not there yet.
+SUBDIRS = . tests