1SSRC= message.c main.c bind.c rewrite.c local.c dest.c process.c translate.c\ 2 log.c chkfwd.c notify.c gateway.c authorize.o ../common/*.c 3SOBJ= message.o main.o bind.o rewrite.o local.o dest.o process.o translate.o\ 4 log.o chkfwd.o notify.o gateway.o authorize.o\ 5 ../config/config.o ../common/common.a ../libc/libc.a 6SINC= ../common/mail.h ../common/string.h ../common/aux.h 7CFLAGS=${UNIX} -g -I. -I../libc -I../common -I/usr/include ${SCFLAGS} 8LFLAGS=-g 9.c.o: ; $(CC) -c $(CFLAGS) $*.c 10LIB=/usr/lib/upas 11 12all: send 13 14send: $(SOBJ) 15 $(CC) $(SOBJ) $(LFLAGS) -o send 16 17chkfwd.o: $(SINC) message.h dest.h 18dest.o: $(SINC) dest.h 19local.o: $(SINC) dest.h process.h 20log.o: $(SINC) message.h 21main.o: $(SINC) message.h dest.h process.h 22bind.o: $(SINC) dest.h message.h 23process.o: $(SINC) process.h 24rewrite.o: $(SINC) dest.h 25translate.o: $(SINC) dest.h process.h 26message.o: $(SINC) message.h 27notify.o: $(SINC) message.h 28gateway.o: $(SINC) dest.h message.h 29 30prcan: 31 prcan $(SSRC) 32 33clean: 34 -rm -f send *.[oO] a.out core *.sL rmail 35 36cyntax: 37 cyntax $(CFLAGS) $(SSRC) 38 39install: send 40 rm -f $(LIB)/send /bin/rmail 41 cp send $(LIB)/send 42 cp send /bin/rmail 43 strip /bin/rmail 44 strip $(LIB)/send 45 chown root $(LIB)/send /bin/rmail 46 chmod 4755 $(LIB)/send /bin/rmail 47