summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlaforge <laforge>2001-02-03 19:11:50 +0000
committerlaforge <laforge>2001-02-03 19:11:50 +0000
commitb9f7e52d2508aa336aa18d05b422eaf640b28d82 (patch)
treee78df7f3b8a09fb7dad5c85af79c09bc00529139
parent2b4a161ba4daf0eb50fb9e50b9ae3e8645d0fde3 (diff)
no makefile!
-rw-r--r--Makefile40
1 files changed, 0 insertions, 40 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 4af9a52..0000000
--- a/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
-