From a7d746549ff7731ef3941013dbd0b9b31fb2982b Mon Sep 17 00:00:00 2001 From: laforge Date: Tue, 30 Jul 2002 08:00:47 +0000 Subject: make ulogd_PCAP build conditional to the existance of pcap.h --- ulogd/pcap/Makefile.in | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 ulogd/pcap/Makefile.in (limited to 'ulogd/pcap/Makefile.in') diff --git a/ulogd/pcap/Makefile.in b/ulogd/pcap/Makefile.in new file mode 100644 index 0000000..9a31edb --- /dev/null +++ b/ulogd/pcap/Makefile.in @@ -0,0 +1,30 @@ +# + +# Normally You should not need to change anything below +# +include @top_srcdir@/Rules.make + +CFLAGS+=-I@top_srcdir@ -I@top_srcdir@/libipulog/include -I@top_srcdir@/conffile +SH_CFLAGS:=$(CFLAGS) -fPIC + +SHARED_LIBS=ulogd_PCAP.so + +all: $(SHARED_LIBS) + +distrib: + +$(SHARED_LIBS): %.so: %_sh.o + ld -shared -o $@ $< + +%_sh.o: %.c + $(CC) $(SH_CFLAGS) -o $@ -c $< + +clean: + rm -f $(SHARED_LIBS) *.o + +distclean: + rm -f Makefile + +install: all + @INSTALL@ -m 755 -d $(DESTDIR)$(ULOGD_LIB_PATH) + @INSTALL@ -m 755 *.so $(DESTDIR)$(ULOGD_LIB_PATH) -- cgit v1.2.3