|
|
1.1 ! root 1: # COBJ is for sysname_read() ! 2: COBJ=log.o ../common/common.a ../libc/libc.a ../config/config.o ! 3: ! 4: QEROBJ=smtpqer.o to822addr.o qlib.o $(COBJ) ! 5: SMTPOBJ=smtp.o converse.o netio.o to822addr.o to822.o header.o $(COBJ) ! 6: SMTPDOBJ=smtpd.o conversed.o netio.o qlib.o from822addr.o from822.o header.o $(COBJ) ! 7: ! 8: CFLAGS=${UNIX} -g -I. -I../libc -I../common ${SCFLAGS} ! 9: ! 10: ! 11: all: smtp smtpd smtpqer smtpsched ! 12: ! 13: ! 14: smtp: ../ipc/libipc.a $(SMTPOBJ) ! 15: $(CC) $(SMTPOBJ) ../ipc/libipc.a -o smtp $(SLFLAGS) ! 16: ! 17: smtpd: $(SMTPDOBJ) ! 18: $(CC) $(SMTPDOBJ) -o smtpd $(SLFLAGS) ! 19: ! 20: smtpqer: $(QEROBJ) ! 21: $(CC) $(QEROBJ) -o smtpqer $(SLFLAGS) ! 22: ! 23: smtpsched: smtpsched.o qlib.o ! 24: $(CC) smtpsched.o qlib.o $(COBJ) -o smtpsched $(SLFLAGS) ! 25: ! 26: ! 27: from822.o: header.h ../common/mail.h ../common/string.h ../common/aux.h ! 28: from822addr.o: ../common/string.h ! 29: header.o: header.h ../common/mail.h ../common/string.h ../common/aux.h ! 30: converse.o: smtp.h ../common/mail.h ../common/string.h ! 31: conversed.o: smtp.h cmds.h ../common/mail.h ../common/string.h ! 32: smtp.o: smtp.h ../common/string.h ../common/aux.h ! 33: netio.o: smtp.h ! 34: qlib.o: smtp.h ../common/string.h ! 35: smtpqer.o: ../common/string.h ../common/mail.h ! 36: smtpsched.o: smtp.h ../common/string.h ! 37: to822.o: header.h addrformat.h ../common/mail.h ../common/string.h \ ! 38: ../common/aux.h ! 39: to822addr.o: addrformat.h ../common/string.h ! 40: ! 41: ! 42: install: dirs $(LIB)/smtp $(LIB)/smtpd $(LIB)/smtpqer $(LIB)/smtpsched ! 43: ! 44: dirs: ! 45: -mkdir /usr/spool/smtpq ! 46: -chown uucp /usr/spool/smtpq ! 47: -chmod 775 /usr/spool/smtpq ! 48: ! 49: $(LIB)/smtp: smtp ! 50: -chmod 755 smtp ! 51: mv $(LIB)/smtp $(LIB)/osmtp && cp smtp $(LIB)/smtp ! 52: chmod 755 $(LIB)/smtp ! 53: strip $(LIB)/smtp ! 54: ! 55: $(LIB)/smtpd: smtpd ! 56: -chmod 755 smtpd ! 57: -mv $(LIB)/smtpd $(LIB)/osmtpd ! 58: cp smtpd $(LIB)/smtpd ! 59: chmod 755 $(LIB)/smtpd ! 60: strip $(LIB)/smtpd ! 61: ! 62: $(LIB)/smtpqer: smtpqer ! 63: -mv $(LIB)/smtpqer $(LIB)/osmtpqer ! 64: cp smtpqer $(LIB)/smtpqer ! 65: chown uucp $(LIB)/smtpqer ! 66: chmod 6755 $(LIB)/smtpqer ! 67: strip $(LIB)/smtpqer ! 68: ! 69: $(LIB)/smtpsched: smtpsched ! 70: -mv $(LIB)/smtpsched $(LIB)/osmtpsched ! 71: cp smtpsched $(LIB)/smtpsched ! 72: chown uucp $(LIB)/smtpsched ! 73: chmod 6755 $(LIB)/smtpsched ! 74: strip $(LIB)/smtpsched ! 75: ! 76: clean: ! 77: rm -f smtp smtpd smtpqer smtpsched *.o
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.