-postlicyd_SOURCES = common.c epoll.c str.c buffer.c rbl.c \
- $(GENERATED) postfix.c main-postlicyd.c
-postlicyd_LIBADD = -lpthread
+postlicyd_SOURCES = common.c threads.c str.c buffer.c $(GENERATED) \
+ greylist.c rbl.c main-postlicyd.c
+postlicyd_LIBADD = -lpthread $(TC_LIBS)
+postlicyd_CFLAGS = $(TC_CFLAGS)