X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=postlicyd%2FMakefile;h=8ffe7cd4fc6bd056ff2b387c80bf32f06303c064;hb=7961b29b3aae8dee45748bf66e30a45c76a47272;hp=ac0e95ab18179505086a73c22eb4e44dfb102a93;hpb=8f968cb4add434c8eaf82c0d0891d5336ba4c93e;p=apps%2Fpfixtools.git diff --git a/postlicyd/Makefile b/postlicyd/Makefile index ac0e95a..8ffe7cd 100644 --- a/postlicyd/Makefile +++ b/postlicyd/Makefile @@ -36,18 +36,24 @@ 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 +TESTS = tst-rbl tst-filters tst-greylist -FILTERS = rbl.c greylist.c strlist.c match.c +FILTERS = iplist.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-rbl_SOURCES = tst-rbl.c ../common/lib.a filter.c config.c query.c iplist.c $(GENERATED) + tst-filters_SOURCES = tst-filters.c ../common/lib.a config.c filter.c query.c $(FILTERS) $(GENERATED) tst-filters_LIBADD = $(TC_LIBS) +tst-greylist_SOURCES = tst-greylist.c ../common/lib.a +tst-greylist_LIBADD = $(TC_LIBS) + hook_tokens.h hook_tokens.c: $(FILTERS) param_tokens.c param_tokens.h: $(FILTERS) config.c +all: + include ../mk/common.mk