summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorlaforge <laforge>2000-11-16 17:20:52 +0000
committerlaforge <laforge>2000-11-16 17:20:52 +0000
commit09cdbbfcdb6d796884caf294ac24a54be8d82cc3 (patch)
treef51e7fcd9b5f42ed453503a0aab52de8e6ecfc7d /Makefile
parent600eca4eeb412826686086c2a639128132e11b16 (diff)
Major update. Almost everything has changed.
- no more dynamic allocations at runtime - only once at startup - less list traversal through interpreter and key hashes - output plugins can request only certain results!
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 6d80dfb..2f15c62 100644
--- a/Makefile
+++ b/Makefile
@@ -3,13 +3,13 @@ LIBIPULOG=../libipulog
INCIPULOG=-I../libipulog/include
# Names of the plugins to be compiled
-ULOGD_SL:=BASE OPRINT PWSNIFF
+ULOGD_SL:=BASE OPRINT PWSNIFF #MYSQL
# Normally You should not need to change anything below
#
CC = gcc
CFLAGS = -I. -Wall $(INCIPULOG) -O2
-#CFLAGS+=-g -DDEBUG
+CFLAGS+=-g -DDEBUG
SH_CFLAGS:=$(CFLAGS) -fPIC
@@ -27,7 +27,7 @@ conffile.o: conffile.c
$(CC) $(CFLAGS) -c $< -o $@
ulogd: ulogd.c $(LIBIPULOG) ulogd.h conffile.o
- $(CC) $(CFLAGS) -rdynamic -ldl -i ulogd.c conffile.o $(LIBIPULOG)/libipulog.a -o ulogd
+ $(CC) $(CFLAGS) -rdynamic -ldl ulogd.c -lmysqlclient conffile.o $(LIBIPULOG)/libipulog.a -o ulogd
clean:
rm -f ulogd *.o extensions/*.o extensions/*.so