diff options
author | laforge <laforge> | 2002-07-30 08:00:47 +0000 |
---|---|---|
committer | laforge <laforge> | 2002-07-30 08:00:47 +0000 |
commit | a7d746549ff7731ef3941013dbd0b9b31fb2982b (patch) | |
tree | 361c8d5f9f9589a0d4bd9b40ea40dad923fceafa /ulogd/pcap/Makefile.in | |
parent | 575fb38957a2a27951579a40f4d1c3914752f52c (diff) |
make ulogd_PCAP build conditional to the existance of pcap.h
Diffstat (limited to 'ulogd/pcap/Makefile.in')
-rw-r--r-- | ulogd/pcap/Makefile.in | 30 |
1 files changed, 30 insertions, 0 deletions
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) |