aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-05-10 17:44:39 +0200
committerHarald Welte <laforge@gnumonks.org>2011-05-10 17:44:39 +0200
commit6fc42401b9c0a5f5b17da5d549fbf20dab40f3d4 (patch)
treefee6301027f18d740507d46ff5402dd37affc55b /lib
parentb502255b8fd6357d83f19efa941bee154c887f48 (diff)
properly build a library for the content of the lib directory
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
new file mode 100644
index 0000000..7c06e27
--- /dev/null
+++ b/lib/Makefile.am
@@ -0,0 +1,7 @@
+noinst_LIBRARIES = libmisc.a
+
+noinst_HEADERS = gnugetopt.h ippool.h lookup.h syserr.h tun.h
+
+AM_CFLAGS = -O2 -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' -ggdb
+
+libmisc_a_SOURCES = getopt1.c getopt.c ippool.c lookup.c syserr.c tun.c