diff options
author | laforge <laforge> | 2005-09-26 17:57:17 +0000 |
---|---|---|
committer | laforge <laforge> | 2005-09-26 17:57:17 +0000 |
commit | e058706f21433f6a0b61822daa2b16fcb847b536 (patch) | |
tree | f3b4a43e704f5ab32952fb939d41ebb2c35aa0b5 /output/pcap/Makefile.in | |
parent | 2339a177886c0630aa837665b4a2210b3f0b041b (diff) |
move pcap to right directory
Diffstat (limited to 'output/pcap/Makefile.in')
-rw-r--r-- | output/pcap/Makefile.in | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/output/pcap/Makefile.in b/output/pcap/Makefile.in new file mode 100644 index 0000000..d469c2b --- /dev/null +++ b/output/pcap/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_PCAP.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) |