1SHELL = /bin/sh 2SRCS = pipe.c 3OBJS = pipe.o 4HDRS = 5TESTSRC = 6DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE) 7CFLAGS = $(DEBUG) $(OPT) $(DEFS) 8TESTPROG= 9PROG = pipe 10INC_DIR = ../../include 11LIBS = ../../lib/lib$(LIB_PREFIX)master$(LIB_SUFFIX) \ 12 ../../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: ../../libexec/$(PROG) 32 33../../libexec/$(PROG): $(PROG) 34 cp $(PROG) ../../libexec 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 43lint: 44 lint $(DEFS) $(SRCS) $(LINTFIX) 45 46clean: 47 rm -f *.o *core $(PROG) $(TESTPROG) junk 48 rm -rf printfck 49 50tidy: clean 51 52depend: $(MAKES) 53 (sed '1,/^# do not edit/!d' Makefile.in; \ 54 set -e; for i in [a-z][a-z0-9]*.c; do \ 55 $(CC) -E $(DEFS) $(INCL) $$i | grep -v '[<>]' | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \ 56 -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' \ 57 -e 's/o: \.\//o: /' -e p -e '}' ; \ 58 done | LANG=C sort -u) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in 59 @$(EXPORT) make -f Makefile.in Makefile 1>&2 60 61# do not edit below this line - it is generated by 'make depend' 62pipe.o: ../../include/argv.h 63pipe.o: ../../include/attr.h 64pipe.o: ../../include/bounce.h 65pipe.o: ../../include/canon_addr.h 66pipe.o: ../../include/check_arg.h 67pipe.o: ../../include/defer.h 68pipe.o: ../../include/deliver_completed.h 69pipe.o: ../../include/deliver_request.h 70pipe.o: ../../include/delivered_hdr.h 71pipe.o: ../../include/dict.h 72pipe.o: ../../include/dsn.h 73pipe.o: ../../include/dsn_buf.h 74pipe.o: ../../include/dsn_util.h 75pipe.o: ../../include/flush_clnt.h 76pipe.o: ../../include/fold_addr.h 77pipe.o: ../../include/htable.h 78pipe.o: ../../include/iostuff.h 79pipe.o: ../../include/mac_parse.h 80pipe.o: ../../include/mail_addr.h 81pipe.o: ../../include/mail_conf.h 82pipe.o: ../../include/mail_copy.h 83pipe.o: ../../include/mail_params.h 84pipe.o: ../../include/mail_parm_split.h 85pipe.o: ../../include/mail_server.h 86pipe.o: ../../include/mail_version.h 87pipe.o: ../../include/msg.h 88pipe.o: ../../include/msg_stats.h 89pipe.o: ../../include/myflock.h 90pipe.o: ../../include/mymalloc.h 91pipe.o: ../../include/nvtable.h 92pipe.o: ../../include/off_cvt.h 93pipe.o: ../../include/pipe_command.h 94pipe.o: ../../include/quote_822_local.h 95pipe.o: ../../include/quote_flags.h 96pipe.o: ../../include/recipient_list.h 97pipe.o: ../../include/sent.h 98pipe.o: ../../include/set_eugid.h 99pipe.o: ../../include/split_addr.h 100pipe.o: ../../include/split_at.h 101pipe.o: ../../include/stringops.h 102pipe.o: ../../include/sys_defs.h 103pipe.o: ../../include/sys_exits.h 104pipe.o: ../../include/vbuf.h 105pipe.o: ../../include/vstream.h 106pipe.o: ../../include/vstring.h 107pipe.o: pipe.c 108