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