|
|
1.1 ! root 1: ############################################################################## ! 2: ## 1. Add this after the definition of the other MMDF libraries ## ! 3: ## Tailor them (of course) ## ! 4: ############################################################################## ! 5: ! 6: # ZOTnet libraries ! 7: ! 8: MFLIB = ../../zotnet/mf ! 9: MTSLIB = ../../zotnet/mts ! 10: TWSLIB = ../../zotnet/tws ! 11: ! 12: ! 13: ############################################################################## ! 14: ## 2. Add "uucp" to your default compilation line ## ! 15: ## Add "inst-uucp" to your default installation line ## ! 16: ############################################################################## ! 17: ! 18: ! 19: ############################################################################## ! 20: ## 3. Add this with the rest of your channel compilation intructions ## ! 21: ############################################################################## ! 22: ! 23: # ch_uucp: deliver into the UUCP mail system ! 24: ! 25: inst-uucp : $(CHNDFLDIR)/ch_uucp /bin/rmail ! 26: ! 27: $(CHNDFLDIR)/ch_uucp : xuucp ! 28: -cp $(CHNDFLDIR)/ch_uucp zxch_uucp ! 29: cp xuucp $(CHNDFLDIR)/ch_uucp ! 30: -chmod 0$(PGMPROT) $(CHNDFLDIR)/ch_uucp ! 31: -@ls -gls $(CHNDFLDIR)/ch_uucp ! 32: -@echo "*** make sure conf_chan.c has this filename" ! 33: -@echo "" ! 34: ! 35: /bin/rmail : xrmail ! 36: -cp /bin/rmail zxrmail ! 37: -chmod 0$(PGMPROT) zxrmail ! 38: cp xrmail /bin/rmail ! 39: -$(CHOWN) root /bin/rmail ! 40: -chmod 04$(PGMPROT) /bin/rmail ! 41: -@ls -gls /bin/rmail ! 42: -@echo "*** run setuid to the super-user" ! 43: -@echo "*** make sure that this is where UUCP thinks it is" ! 44: -@echo "" ! 45: ! 46: uucp : xuucp xrmail ! 47: xuucp: uucp/ch_uucp.o uucp/qu2uu_send.o uucp/uu_wtmail.o \ ! 48: $(MFLIB)/mmuu.o $(MFLIB)/mf.o $(MTSLIB)/mts.o \ ! 49: $(TWSLIB)/dtime.o $(TWSLIB)/dtimep.o \ ! 50: $(LIBES) ! 51: $(CC) $(LDFLAGS) -o $@ \ ! 52: uucp/ch_uucp.o uucp/qu2uu_send.o uucp/uu_wtmail.o \ ! 53: $(MFLIB)/mmuu.o $(MFLIB)/mf.o $(MTSLIB)/mts.o \ ! 54: $(TWSLIB)/dtime.o $(TWSLIB)/dtimep.o \ ! 55: $(LIBES) $(STDIO) ! 56: ! 57: uucp/ch_uucp.o: uucp/ch_uucp.c h/mmdf.h h/ch.h h/conf.h ! 58: cd uucp; $(CC) $(CFLAGS) -c ch_uucp.c ! 59: ! 60: uucp/qu2uu_send.o: uucp/qu2uu_send.c h/mmdf.h h/ch.h ! 61: cd uucp; $(CC) $(CFLAGS) -I$(MFLIB) -I$(MTSLIB) -c qu2uu_send.c ! 62: ! 63: uucp/uu_wtmail.o: uucp/uu_wtmail.c h/mmdf.h h/ch.h h/conf.h ! 64: cd uucp; $(CC) $(CFLAGS) -c uu_wtmail.c ! 65: ! 66: xrmail: uucp/rmail.o \ ! 67: $(MFLIB)/uumm.o $(MFLIB)/mf.o $(MTSLIB)/mts.o \ ! 68: $(TWSLIB)/dtime.o $(TWSLIB)/dtimep.o \ ! 69: $(LIBES) ! 70: $(CC) $(LDFLAGS) -o $@ \ ! 71: uucp/rmail.o \ ! 72: $(MFLIB)/uumm.o $(MFLIB)/mf.o $(MTSLIB)/mts.o \ ! 73: $(TWSLIB)/dtime.o $(TWSLIB)/dtimep.o \ ! 74: $(LIBES) $(STDIO) ! 75: ! 76: uucp/rmail.o: uucp/rmail.c ! 77: cd uucp; $(CC) $(CFLAGS) -I$(MFLIB) -I$(TWSLIB) -I$(MTSLIB) -c rmail.c
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.