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