X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=postlicyd%2FMakefile;h=ac0e95ab18179505086a73c22eb4e44dfb102a93;hb=3ecf64721aea62f951481e8d39386347ced81db6;hp=3d49ba22cee932b7f26efcc763f66de999223f19;hpb=d8b00b7c6eb72ef123eeb85016649742932c38d9;p=apps%2Fpfixtools.git diff --git a/postlicyd/Makefile b/postlicyd/Makefile index 3d49ba2..ac0e95a 100644 --- a/postlicyd/Makefile +++ b/postlicyd/Makefile @@ -34,12 +34,20 @@ include ../mk/tc.mk PROGRAMS = postlicyd GENERATED = policy_tokens.h policy_tokens.c \ filter_tokens.h filter_tokens.c \ - hook_tokens.h hook_tokens.c -TESTS = test-rbl + hook_tokens.h hook_tokens.c \ + param_tokens.h param_tokens.c +TESTS = test-rbl tst-filters -postlicyd_SOURCES = main-postlicyd.c ../common/lib.a filter.c config.c greylist.c rbl.c $(GENERATED) +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 +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