LDFLAGS += -Wl,--warn-common
include mk/cflags.mk
+include mk/tc.mk
CFLAGS += --std=gnu99 -D_GNU_SOURCE
prefix ?= /usr/local
GENERATED = tokens.h tokens.c
-postlicyd_SOURCES = common.c threads.c str.c buffer.c rbl.c \
+postlicyd_SOURCES = common.c threads.c str.c buffer.c \
+ greylist.c rbl.c \
$(GENERATED) postfix.c main-postlicyd.c
-postlicyd_LIBADD = -lpthread
+postlicyd_LIBADD = -lpthread $(TC_LIBS)
+postlicyd_CFLAGS = $(TC_CFLAGS)
pfix-srsd_SOURCES = common.c epoll.c buffer.c str.c main-srsd.c
pfix-srsd_LIBADD = -lsrs2