summaryrefslogtreecommitdiffstats
path: root/input/packet
diff options
context:
space:
mode:
authorlaforge <laforge>2005-04-17 14:10:25 +0000
committerlaforge <laforge>2005-04-17 14:10:25 +0000
commitcf9658711c28f4c671740814e8c269e2fa6974fa (patch)
tree14ca3188d30f99a4105177af8e5f661c1e17a550 /input/packet
parent6b1e5cfae8991b828aac11681f6589de6c37f87a (diff)
add makefiles for subdirs
Diffstat (limited to 'input/packet')
-rw-r--r--input/packet/Makefile.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/input/packet/Makefile.in b/input/packet/Makefile.in
new file mode 100644
index 0000000..d3fa371
--- /dev/null
+++ b/input/packet/Makefile.in
@@ -0,0 +1,30 @@
+#
+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
+
+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)