46 lines · 1.2 KB · Makefile
RawDownload
SSRC=	message.c main.c bind.c rewrite.c local.c dest.c process.c translate.c\	log.c chkfwd.c notify.c gateway.c authorize.o ../common/*.cSOBJ=	message.o main.o bind.o rewrite.o local.o dest.o process.o translate.o\	log.o chkfwd.o notify.o gateway.o authorize.o\	../config/config.o ../common/common.a ../libc/libc.aSINC=	../common/mail.h ../common/string.h ../common/aux.hCFLAGS=${UNIX} -g -I. -I../libc -I../common -I/usr/include ${SCFLAGS}LFLAGS=-g.c.o: ; $(CC) -c $(CFLAGS) $*.cLIB=/usr/lib/upas all: send send: $(SOBJ)	$(CC) $(SOBJ) $(LFLAGS) -o send chkfwd.o: $(SINC) message.h dest.hdest.o: $(SINC) dest.hlocal.o: $(SINC) dest.h process.hlog.o: $(SINC) message.hmain.o: $(SINC) message.h dest.h process.hbind.o: $(SINC) dest.h message.hprocess.o: $(SINC) process.hrewrite.o: $(SINC) dest.htranslate.o: $(SINC) dest.h process.hmessage.o: $(SINC) message.hnotify.o: $(SINC) message.hgateway.o: $(SINC) dest.h message.h prcan:	prcan $(SSRC) clean:	-rm -f send *.[oO] a.out core *.sL rmail cyntax:	cyntax $(CFLAGS) $(SSRC) install: send	rm -f $(LIB)/send /bin/rmail	cp send $(LIB)/send	cp send /bin/rmail	strip /bin/rmail	strip $(LIB)/send	chown root $(LIB)/send /bin/rmail	chmod 4755 $(LIB)/send /bin/rmail