Implement usage
[apps/pfixtools.git] / Makefile
index 1eb174b..23ffcd1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -43,11 +43,11 @@ TESTS    = tst-rbl
 
 GENERATED = tokens.h tokens.c
 
-postlicyd_SOURCES = common.c str.c buffer.c daemon.c rbl.c postfix.c \
-                   $(GENERATED) postlicyd.c
+postlicyd_SOURCES = common.c threads.c str.c buffer.c rbl.c \
+                   $(GENERATED) postfix.c main-postlicyd.c
 postlicyd_LIBADD = -lpthread
 
-pfix-srsd_SOURCES = common.c buffer.c str.c daemon.c srsd.c
+pfix-srsd_SOURCES = common.c epoll.c buffer.c str.c main-srsd.c
 pfix-srsd_LIBADD = -lsrs2
 
 tst-rbl_SOURCES = tst-rbl.c
@@ -71,7 +71,7 @@ tags: .tags
 .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 )