diff options
author | laforge <laforge> | 2001-02-03 19:11:50 +0000 |
---|---|---|
committer | laforge <laforge> | 2001-02-03 19:11:50 +0000 |
commit | 9a0f1a2f60a0b9b2203d27d5cc97a82405a6bb92 (patch) | |
tree | 8ff6e2297d6c2722f3c1da6d10e798df135cb853 /ulogd | |
parent | 010287aa2db43b8c44dc8238ed43e2a283be0cb1 (diff) |
no makefile!
Diffstat (limited to 'ulogd')
-rw-r--r-- | ulogd/Makefile | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/ulogd/Makefile b/ulogd/Makefile deleted file mode 100644 index 4af9a52..0000000 --- a/ulogd/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -# Path of libipulog (from iptables) -LIBIPULOG=../libipulog -INCIPULOG=-I../libipulog/include - -# Names of the plugins to be compiled -ULOGD_SL:=BASE OPRINT PWSNIFF LOGEMU #MYSQL - -# Normally You should not need to change anything below -# -ULOGD_VERSION=0.92 - -CC = gcc -CFLAGS = -I. -Wall $(INCIPULOG) -O2 -DULOGD_VERSION=\"$(ULOGD_VERSION)\" -CFLAGS+=-g -DDEBUG - -SH_CFLAGS:=$(CFLAGS) -fPIC - -SHARED_LIBS+=$(foreach T,$(ULOGD_SL),extensions/ulogd_$(T).so) - -all: $(SHARED_LIBS) ulogd - -$(SHARED_LIBS): %.so: %_sh.o - ld -shared -o $@ $< - -%_sh.o: %.c - $(CC) $(SH_CFLAGS) -o $@ -c $< - -conffile.o: conffile.c - $(CC) $(CFLAGS) -c $< -o $@ - -ulogd: ulogd.c $(LIBIPULOG) ulogd.h conffile.o - $(CC) $(CFLAGS) -rdynamic -ldl ulogd.c -lmysqlclient conffile.o $(LIBIPULOG)/libipulog.a -o ulogd - -clean: - rm -f ulogd *.o extensions/*.o extensions/*.so - -install: all - mkdir -p /usr/local/lib/ulogd && cp extensions/*.so /usr/local/lib/ulogd - cp ulogd /usr/local/sbin - |