projects
/
apps
/
pfixtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Begin work on the greylist module.
[apps/pfixtools.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
249f9df
..
3dcb94c
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-34,6
+34,7
@@
all:
LDFLAGS += -Wl,--warn-common
include mk/cflags.mk
LDFLAGS += -Wl,--warn-common
include mk/cflags.mk
+include mk/tc.mk
CFLAGS += --std=gnu99 -D_GNU_SOURCE
prefix ?= /usr/local
CFLAGS += --std=gnu99 -D_GNU_SOURCE
prefix ?= /usr/local
@@
-43,9
+44,11
@@
TESTS = tst-rbl
GENERATED = tokens.h tokens.c
GENERATED = tokens.h tokens.c
-postlicyd_SOURCES = common.c epoll.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
$(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
pfix-srsd_SOURCES = common.c epoll.c buffer.c str.c main-srsd.c
pfix-srsd_LIBADD = -lsrs2
@@
-71,7
+74,7
@@
tags: .tags
.tags: $(shell git ls-files | egrep '\.[hc]$$')
ctags -o $@ $^
.tags: $(shell git ls-files | egrep '\.[hc]$$')
ctags -o $@ $^
-headers: HEADACHEOPTS=-c mk/headache.cfg -h COPYING
+headers: HEADACHEOPTS=-c mk/headache.cfg -h
mk/
COPYING
headers:
@which headache > /dev/null || \
( echo "package headache not installed" ; exit 1 )
headers:
@which headache > /dev/null || \
( echo "package headache not installed" ; exit 1 )