1SHELL = /bin/sh 2SRCS = flush.c 3OBJS = flush.o 4HDRS = 5TESTSRC = 6DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE) 7CFLAGS = $(DEBUG) $(OPT) $(DEFS) 8TESTPROG= 9PROG = flush 10INC_DIR = ../../include 11LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a 12 13.c.o:; $(CC) $(CFLAGS) -c $*.c 14 15$(PROG): $(OBJS) $(LIBS) 16 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) 17 18$(OBJS): ../../conf/makedefs.out 19 20Makefile: Makefile.in 21 cat ../../conf/makedefs.out $? >$@ 22 23test: $(TESTPROG) 24 25tests: 26 27root_tests: 28 29update: ../../libexec/$(PROG) 30 31../../libexec/$(PROG): $(PROG) 32 cp $(PROG) ../../libexec 33 34printfck: $(OBJS) $(PROG) 35 rm -rf printfck 36 mkdir printfck 37 sed '1,/^# do not edit/!d' Makefile >printfck/Makefile 38 set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done 39 cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o` 40 41lint: 42 lint $(DEFS) $(SRCS) $(LINTFIX) 43 44clean: 45 rm -f *.o *core $(PROG) $(TESTPROG) junk 46 rm -rf printfck 47 48tidy: clean 49 50depend: $(MAKES) 51 (sed '1,/^# do not edit/!d' Makefile.in; \ 52 set -e; for i in [a-z][a-z0-9]*.c; do \ 53 $(CC) -E $(DEFS) $(INCL) $$i | grep -v '[<>]' | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \ 54 -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' \ 55 -e 's/o: \.\//o: /' -e p -e '}' ; \ 56 done | sort -u) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in 57 @$(EXPORT) make -f Makefile.in Makefile 1>&2 58 59# do not edit below this line - it is generated by 'make depend' 60flush.o: ../../include/argv.h 61flush.o: ../../include/attr.h 62flush.o: ../../include/dict.h 63flush.o: ../../include/domain_list.h 64flush.o: ../../include/events.h 65flush.o: ../../include/flush_clnt.h 66flush.o: ../../include/htable.h 67flush.o: ../../include/iostuff.h 68flush.o: ../../include/mail_conf.h 69flush.o: ../../include/mail_flush.h 70flush.o: ../../include/mail_params.h 71flush.o: ../../include/mail_proto.h 72flush.o: ../../include/mail_queue.h 73flush.o: ../../include/mail_scan_dir.h 74flush.o: ../../include/mail_server.h 75flush.o: ../../include/mail_version.h 76flush.o: ../../include/maps.h 77flush.o: ../../include/match_list.h 78flush.o: ../../include/match_parent_style.h 79flush.o: ../../include/msg.h 80flush.o: ../../include/myflock.h 81flush.o: ../../include/safe_open.h 82flush.o: ../../include/scan_dir.h 83flush.o: ../../include/stringops.h 84flush.o: ../../include/sys_defs.h 85flush.o: ../../include/vbuf.h 86flush.o: ../../include/vstream.h 87flush.o: ../../include/vstring.h 88flush.o: ../../include/vstring_vstream.h 89flush.o: ../../include/warn_stat.h 90flush.o: flush.c 91