projects
/
apps
/
pfixtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Better fix for pidfile.
[apps/pfixtools.git]
/
postlicyd
/
Makefile
diff --git
a/postlicyd/Makefile
b/postlicyd/Makefile
index
5a0ab49
..
ac0e95a
100644
(file)
--- a/
postlicyd/Makefile
+++ b/
postlicyd/Makefile
@@
-32,12
+32,22
@@
include ../mk/tc.mk
PROGRAMS = postlicyd
include ../mk/tc.mk
PROGRAMS = postlicyd
-GENERATED = tokens.h tokens.c
-TESTS = test-rbl
+GENERATED = policy_tokens.h policy_tokens.c \
+ filter_tokens.h filter_tokens.c \
+ hook_tokens.h hook_tokens.c \
+ param_tokens.h param_tokens.c
+TESTS = test-rbl tst-filters
-postlicyd_SOURCES = greylist.c rbl.c main-postlicyd.c $(GENERATED) ../common/lib.a
+FILTERS = rbl.c greylist.c strlist.c match.c
+
+postlicyd_SOURCES = main-postlicyd.c ../common/lib.a filter.c config.c query.c $(FILTERS) $(GENERATED)
postlicyd_LIBADD = $(TC_LIBS)
tst-rbl_SOURCES = tst-rbl.c
postlicyd_LIBADD = $(TC_LIBS)
tst-rbl_SOURCES = tst-rbl.c
+tst-filters_SOURCES = tst-filters.c ../common/lib.a config.c filter.c query.c $(FILTERS) $(GENERATED)
+tst-filters_LIBADD = $(TC_LIBS)
+
+hook_tokens.h hook_tokens.c: $(FILTERS)
+param_tokens.c param_tokens.h: $(FILTERS) config.c
include ../mk/common.mk
include ../mk/common.mk