From 32e75879103a943ac682cbde7b37ea4e4fbc24ab Mon Sep 17 00:00:00 2001 From: John Denker Date: Sat, 2 Jun 2012 09:07:44 -0700 Subject: add some tools --- tools/makefile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 tools/makefile (limited to 'tools/makefile') diff --git a/tools/makefile b/tools/makefile new file mode 100644 index 0000000..e87fa57 --- /dev/null +++ b/tools/makefile @@ -0,0 +1,32 @@ +CC= /usr/bin/g++ -Wall -g -I $(HOME)/lib/include + + +#?? exhibits = checkpassword.patch hi-q.c pido.c pop3.conf smtp.conf \ +#?? smtp.rules spamc-zap.patch spamd qmail + + +.PHONY : shipit clean list-src ALWAYS foo dirs setup imgs \ + zip wc html all hacha hevea tcprules + +.SECONDARY : # do not remove any intermediate files + +all: pido hi-q + +install: + install pido hi-q /var/qmail/bin/ + +/etc/tcpserver/smtp.rules : + install -d /etc/tcpserver + @echo '10.:allow,RELAYCLIENT=""' > $@ + @echo '127.0.0.:allow,RELAYCLIENT=""' >> $@ + @echo ':allow' >> $@ + +tcprules : /etc/tcpserver/smtp.rules + < $< tcprules /etc/tcpserver/smtp.cdb /etc/tcpserver/smtp.tmp + + +ALWAYS: + @echo ... + +##?? include $(chapters:.htm=.d) +##?? include $(fancy:%.htm=aux/%.fig) -- cgit v1.2.3