summaryrefslogtreecommitdiffstats
path: root/libipq
diff options
context:
space:
mode:
Diffstat (limited to 'libipq')
-rw-r--r--libipq/Makefile28
-rw-r--r--libipq/Makefile.am11
2 files changed, 11 insertions, 28 deletions
diff --git a/libipq/Makefile b/libipq/Makefile
deleted file mode 100644
index 64633f3..0000000
--- a/libipq/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#! /usr/bin/make
-
-EXTRAS+=libipq/libipq.a
-#CFLAGS+=-DDEBUG_LIBIPTQ
-
-DEVEL_MAN3+=libipq/ipq_create_handle.3 \
- libipq/ipq_destroy_handle.3 \
- libipq/ipq_errstr.3 \
- libipq/ipq_get_msgerr.3 \
- libipq/ipq_get_packet.3 \
- libipq/ipq_message_type.3 \
- libipq/ipq_perror.3 \
- libipq/ipq_read.3 \
- libipq/ipq_set_mode.3 \
- libipq/ipq_set_verdict.3 \
- libipq/libipq.3
-
-DEVEL_LIBS+=libipq/libipq.a
-
-DEVEL_HEADERS+=include/libipq/libipq.h
-
-ifndef TOPLEVEL_INCLUDED
-local:
- cd .. && $(MAKE) $(SHARED_LIBS) $(EXTRAS)
-else
-libipq/libipq.a: libipq/libipq.a(libipq/libipq.o)
-endif
-
diff --git a/libipq/Makefile.am b/libipq/Makefile.am
new file mode 100644
index 0000000..942a874
--- /dev/null
+++ b/libipq/Makefile.am
@@ -0,0 +1,11 @@
+# -*- Makefile -*-
+
+AM_CFLAGS = ${regular_CFLAGS} -I${top_srcdir}/include
+
+libipq_a_SOURCES = libipq.c
+lib_LIBRARIES = libipq.a
+include_HEADERS = ${top_srcdir}/include/libipq/libipq.h
+man_MANS = ipq_create_handle.3 ipq_destroy_handle.3 ipq_errstr.3 \
+ ipq_get_msgerr.3 ipq_get_packet.3 ipq_message_type.3 \
+ ipq_perror.3 ipq_read.3 ipq_set_mode.3 ipq_set_verdict.3 \
+ libipq.3