From 9a0f1a2f60a0b9b2203d27d5cc97a82405a6bb92 Mon Sep 17 00:00:00 2001 From: laforge Date: Sat, 3 Feb 2001 19:11:50 +0000 Subject: no makefile! --- ulogd/Makefile | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 ulogd/Makefile (limited to 'ulogd/Makefile') 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 - -- cgit v1.2.3