summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorlaforge <laforge>2000-08-14 08:28:23 +0000
committerlaforge <laforge>2000-08-14 08:28:23 +0000
commit3b1c87cc39c7fd24b71d7d5fe79264398087f756 (patch)
tree9b732d96c0ff7e89348d2e0a3d8b3a7dfef2f712 /Makefile
parenta1d04013e7ee72ba62053e11c57a3aff4b19a17f (diff)
various bugfixes (tcp interpreter), output for boolean type
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9cb52f6..0d02917 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,14 @@
# Path of libipulog (from iptables)
LIBIPULOG=../libipulog
+INCIPULOG=-I../libipulog/include
# Names of the plugins to be compiled
ULOGD_SL:=BASE OPRINT
-
# Normally You should not need to change anything below
#
CC = gcc
-CFLAGS = -I. -I$(LIBIPULOG)/include -g -Wall
+CFLAGS = -I. -g -Wall $(INCIPULOG)
SH_CFLAGS:=$(CFLAGS) -fPIC
SHARED_LIBS+=$(foreach T,$(ULOGD_SL),extensions/ulogd_$(T).so)
@@ -21,7 +21,7 @@ $(SHARED_LIBS): %.so: %_sh.o
%_sh.o: %.c
gcc $(SH_CFLAGS) -o $@ -c $<
-ulogd: ulogd.c ../libipulog/libipulog.a ulogd.h
+ulogd: ulogd.c $(LIBIPULOG) ulogd.h
$(CC) $(CFLAGS) -rdynamic -ldl -i ulogd.c $(LIBIPULOG)/libipulog.a -o ulogd
clean: