X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=postlicyd%2FMakefile;h=e0b8474352fda7a300d8ae35c2d334d818d3982f;hb=8847829f22135d594241a9c51877966e7cb0716a;hp=81d2ac25f7f1266a00bf39bb56daf3009b6f0eae;hpb=0ad0ac6446aa4490800addafd8219f0f2a968c4d;p=apps%2Fpfixtools.git diff --git a/postlicyd/Makefile b/postlicyd/Makefile index 81d2ac2..e0b8474 100644 --- a/postlicyd/Makefile +++ b/postlicyd/Makefile @@ -36,26 +36,29 @@ 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 = tst-rbl tst-filters tst-greylist +TESTS = tst-rbl tst-filters tst-greylist tst-qf UB_LIBS = -lunbound -FILTERS = iplist.c greylist.c strlist.c match.c +FILTERS = iplist.c greylist.c strlist.c match.c counters.c -postlicyd_SOURCES = main-postlicyd.c ../common/lib.a filter.c config.c query.c $(FILTERS) $(GENERATED) +postlicyd_SOURCES = main-postlicyd.c ../common/lib.a filter.c config.c query.c resources.c $(FILTERS) $(GENERATED) postlicyd_LIBADD = $(UB_LIBS) $(TC_LIBS) -lev -tst-rbl_SOURCES = tst-rbl.c ../common/lib.a filter.c config.c query.c iplist.c $(GENERATED) +tst-rbl_SOURCES = tst-rbl.c ../common/lib.a filter.c config.c query.c iplist.c resources.c $(GENERATED) +tst-rbl_LIBADD = $(UB_LIBS) -lev -tst-filters_SOURCES = tst-filters.c ../common/lib.a config.c filter.c query.c $(FILTERS) $(GENERATED) -tst-filters_LIBADD = $(UB_LIBS) $(TC_LIBS) +tst-filters_SOURCES = tst-filters.c ../common/lib.a config.c filter.c query.c resources.c $(FILTERS) $(GENERATED) +tst-filters_LIBADD = $(UB_LIBS) $(TC_LIBS) -lev -tst-greylist_SOURCES = tst-greylist.c ../common/lib.a +tst-greylist_SOURCES = tst-greylist.c resources.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 +tst-qf_SOURCES = tst-qf.c query.c ../common/lib.a $(GENERATED) all: +hook_tokens.h hook_tokens.c: $(FILTERS) +param_tokens.c param_tokens.h: $(FILTERS) config.c + include ../mk/common.mk