X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=postlicyd%2FMakefile;h=cdbca81dae7c161e8a3a886bc9004e557eb57145;hb=76226c6f7b43aaa6480f776f70fb62f4a3e937df;hp=380b83a11b10764da09b00607cb790e9a6648a7f;hpb=6deab7a7086ccb592daa0c41e12759ec0b9c7aa0;p=apps%2Fpfixtools.git diff --git a/postlicyd/Makefile b/postlicyd/Makefile index 380b83a..cdbca81 100644 --- a/postlicyd/Makefile +++ b/postlicyd/Makefile @@ -38,19 +38,20 @@ GENERATED = policy_tokens.h policy_tokens.c \ param_tokens.h param_tokens.c TESTS = tst-rbl tst-filters tst-greylist -UB_LIBS = -L/usr/local/lib -lunbound +UB_LIBS = -lunbound -FILTERS = iplist.c greylist.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_LIBADD = $(UB_LIBS) $(TC_LIBS) +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)