From 778a2f3ddcd69804ff5e948b8dd119609356501b Mon Sep 17 00:00:00 2001 From: laforge Date: Sun, 2 Oct 2005 16:59:48 +0000 Subject: first step towards automake --- input/Makefile.am | 2 ++ input/flow/Makefile.am | 7 +++++++ input/flow/Makefile.in | 30 ------------------------------ input/packet/Makefile.am | 7 +++++++ input/packet/Makefile.in | 30 ------------------------------ 5 files changed, 16 insertions(+), 60 deletions(-) create mode 100644 input/Makefile.am create mode 100644 input/flow/Makefile.am delete mode 100644 input/flow/Makefile.in create mode 100644 input/packet/Makefile.am delete mode 100644 input/packet/Makefile.in (limited to 'input') diff --git a/input/Makefile.am b/input/Makefile.am new file mode 100644 index 0000000..77f2838 --- /dev/null +++ b/input/Makefile.am @@ -0,0 +1,2 @@ + +SUBDIRS = packet flow diff --git a/input/flow/Makefile.am b/input/flow/Makefile.am new file mode 100644 index 0000000..474e155 --- /dev/null +++ b/input/flow/Makefile.am @@ -0,0 +1,7 @@ + +CFLAGS=-fPIC -Wall + +lib_LTLIBRARIES = ulogd_inpflow_CTNL.la # ulogd_inpflow_IPFIX.la + +ulogd_inpflow_CTNL_la_SOURCES = ulogd_inpflow_CTNL.c +ulogd_inpflow_IPFIX_la_SOURCES = ulogd_inpflow_IPFIX.c diff --git a/input/flow/Makefile.in b/input/flow/Makefile.in deleted file mode 100644 index ddb20f4..0000000 --- a/input/flow/Makefile.in +++ /dev/null @@ -1,30 +0,0 @@ -# -include @top_srcdir@/Rules.make - -CFLAGS+=-I@top_srcdir@ -I@top_srcdir@/libipulog/include -I@top_srcdir@/include -SH_CFLAGS:=$(CFLAGS) -fPIC - -# Normally You should not need to change anything below -# - -SHARED_LIBS=ulogd_inpflow_CTNL.so - -all: $(SHARED_LIBS) - -distrib: - -$(SHARED_LIBS): %.so: %_sh.o - $(LD) -shared -o $@ $< -lc -lpcap - -%_sh.o: %.c - $(CC) $(SH_CFLAGS) -o $@ -c $< - -clean: - $(RM) $(SHARED_LIBS) *.o - -distclean: - $(RM) Makefile - -install: all - $(INSTALL) -m 755 -d $(DESTDIR)$(ULOGD_LIB_PATH) - $(INSTALL) -m 755 *.so $(DESTDIR)$(ULOGD_LIB_PATH) diff --git a/input/packet/Makefile.am b/input/packet/Makefile.am new file mode 100644 index 0000000..748496b --- /dev/null +++ b/input/packet/Makefile.am @@ -0,0 +1,7 @@ + +CFLAGS=-fPIC -Wall + +lib_LTLIBRARIES = ulogd_inppkt_NFLOG.la ulogd_inppkt_ULOG.la + +ulogd_inppkt_NFLOG_la_SOURCES = ulogd_inppkt_NFLOG.c +ulogd_inppkt_ULOG_la_SOURCES = ulogd_inppkt_ULOG.c diff --git a/input/packet/Makefile.in b/input/packet/Makefile.in deleted file mode 100644 index 78ae382..0000000 --- a/input/packet/Makefile.in +++ /dev/null @@ -1,30 +0,0 @@ -# -include @top_srcdir@/Rules.make - -CFLAGS+=-I@top_srcdir@ -I@top_srcdir@/libipulog/include -I@top_srcdir@/include -SH_CFLAGS:=$(CFLAGS) -fPIC - -# Normally You should not need to change anything below -# - -SHARED_LIBS=ulogd_inppkt_ULOG.so ulogd_inppkt_NFLOG.so - -all: $(SHARED_LIBS) - -distrib: - -$(SHARED_LIBS): %.so: %_sh.o - $(LD) -shared -o $@ $< -lc -lpcap - -%_sh.o: %.c - $(CC) $(SH_CFLAGS) -o $@ -c $< - -clean: - $(RM) $(SHARED_LIBS) *.o - -distclean: - $(RM) Makefile - -install: all - $(INSTALL) -m 755 -d $(DESTDIR)$(ULOGD_LIB_PATH) - $(INSTALL) -m 755 *.so $(DESTDIR)$(ULOGD_LIB_PATH) -- cgit v1.2.3