1SHELL = /bin/sh 2SRCS = postdrop.c 3OBJS = postdrop.o 4HDRS = 5TESTSRC = 6DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE) 7CFLAGS = $(DEBUG) $(OPT) $(DEFS) 8TESTPROG= 9PROG = postdrop 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' 61postdrop.o: ../../include/argv.h 62postdrop.o: ../../include/attr.h 63postdrop.o: ../../include/check_arg.h 64postdrop.o: ../../include/clean_env.h 65postdrop.o: ../../include/cleanup_user.h 66postdrop.o: ../../include/htable.h 67postdrop.o: ../../include/iostuff.h 68postdrop.o: ../../include/mail_conf.h 69postdrop.o: ../../include/mail_dict.h 70postdrop.o: ../../include/mail_params.h 71postdrop.o: ../../include/mail_parm_split.h 72postdrop.o: ../../include/mail_proto.h 73postdrop.o: ../../include/mail_queue.h 74postdrop.o: ../../include/mail_stream.h 75postdrop.o: ../../include/mail_task.h 76postdrop.o: ../../include/mail_version.h 77postdrop.o: ../../include/maillog_client.h 78postdrop.o: ../../include/msg.h 79postdrop.o: ../../include/msg_vstream.h 80postdrop.o: ../../include/mymalloc.h 81postdrop.o: ../../include/nvtable.h 82postdrop.o: ../../include/rec_attr_map.h 83postdrop.o: ../../include/rec_type.h 84postdrop.o: ../../include/record.h 85postdrop.o: ../../include/stringops.h 86postdrop.o: ../../include/sys_defs.h 87postdrop.o: ../../include/user_acl.h 88postdrop.o: ../../include/vbuf.h 89postdrop.o: ../../include/vstream.h 90postdrop.o: ../../include/vstring.h 91postdrop.o: ../../include/warn_stat.h 92postdrop.o: postdrop.c 93