📄 makefile.add
字号:
################################################################################ 1. Add this after the definition of the other MMDF libraries #### Tailor them (of course) ################################################################################# ZOTnet librariesMFLIB = ../../zotnet/mfMTSLIB = ../../zotnet/mtsTWSLIB = ../../zotnet/tws################################################################################ 2. Add "uucp" to your default compilation line #### Add "inst-uucp" to your default installation line ################################################################################################################################################################ 3. Add this with the rest of your channel compilation intructions ################################################################################# ch_uucp: deliver into the UUCP mail systeminst-uucp : $(CHNDFLDIR)/ch_uucp /bin/rmail$(CHNDFLDIR)/ch_uucp : xuucp -cp $(CHNDFLDIR)/ch_uucp zxch_uucp cp xuucp $(CHNDFLDIR)/ch_uucp -chmod 0$(PGMPROT) $(CHNDFLDIR)/ch_uucp -@ls -gls $(CHNDFLDIR)/ch_uucp -@echo "*** make sure conf_chan.c has this filename" -@echo ""/bin/rmail : xrmail -cp /bin/rmail zxrmail -chmod 0$(PGMPROT) zxrmail cp xrmail /bin/rmail -$(CHOWN) root /bin/rmail -chmod 04$(PGMPROT) /bin/rmail -@ls -gls /bin/rmail -@echo "*** run setuid to the super-user" -@echo "*** make sure that this is where UUCP thinks it is" -@echo ""uucp : xuucp xrmailxuucp: uucp/ch_uucp.o uucp/qu2uu_send.o uucp/uu_wtmail.o \ $(MFLIB)/mmuu.o $(MFLIB)/mf.o $(MTSLIB)/mts.o \ $(TWSLIB)/dtime.o $(TWSLIB)/dtimep.o \ $(LIBES) $(CC) $(LDFLAGS) -o $@ \ uucp/ch_uucp.o uucp/qu2uu_send.o uucp/uu_wtmail.o \ $(MFLIB)/mmuu.o $(MFLIB)/mf.o $(MTSLIB)/mts.o \ $(TWSLIB)/dtime.o $(TWSLIB)/dtimep.o \ $(LIBES) $(STDIO)uucp/ch_uucp.o: uucp/ch_uucp.c h/mmdf.h h/ch.h h/conf.h cd uucp; $(CC) $(CFLAGS) -c ch_uucp.cuucp/qu2uu_send.o: uucp/qu2uu_send.c h/mmdf.h h/ch.h cd uucp; $(CC) $(CFLAGS) -I$(MFLIB) -I$(MTSLIB) -c qu2uu_send.cuucp/uu_wtmail.o: uucp/uu_wtmail.c h/mmdf.h h/ch.h h/conf.h cd uucp; $(CC) $(CFLAGS) -c uu_wtmail.cxrmail: uucp/rmail.o \ $(MFLIB)/uumm.o $(MFLIB)/mf.o $(MTSLIB)/mts.o \ $(TWSLIB)/dtime.o $(TWSLIB)/dtimep.o \ $(LIBES) $(CC) $(LDFLAGS) -o $@ \ uucp/rmail.o \ $(MFLIB)/uumm.o $(MFLIB)/mf.o $(MTSLIB)/mts.o \ $(TWSLIB)/dtime.o $(TWSLIB)/dtimep.o \ $(LIBES) $(STDIO)uucp/rmail.o: uucp/rmail.c cd uucp; $(CC) $(CFLAGS) -I$(MFLIB) -I$(TWSLIB) -I$(MTSLIB) -c rmail.c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -