⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 早期freebsd实现
💻
📖 第 1 页 / 共 5 页
字号:
	-Dmalloc=dmalloc -Dfree=dfree -DMDEBUG" "LIBS = -lsys_s"#nextg - Gets useful error messages out of GNU cc.# can't use -ansi here for some reason it clobbers definition of SIGQUIT (?)nextg:	@echo Making C-Kermit $(CKVER) for NeXT...	$(MAKE) wermit "CFLAGS= -DNEXT -DTCPSOCKET -DDYNAMIC -DLCKDIR -DKANJI \	-DNOSETBUF $(KFLAGS) -Wall -O" \	"LIBS = -lsys_s"#Same, but with cursesnextgc:	@echo Making C-Kermit $(CKVER) for NeXT...	$(MAKE) wermit "CFLAGS= -DNEXT -DTCPSOCKET -DDYNAMIC -DLCKDIR -DKANJI \	-DNOSETBUF -DCK_CURSES $(KFLAGS) -Wall -O" \	"LIBS = -lsys_s -lcurses -ltermcap"#NeXT minimum interactivenextmi:	@echo Minimum interactive	$(MAKE) "MAKE=$(MAKE)" nextg \	"KFLAGS=-DNOSPL -DNOXMIT -DNOMSEND -DNOFRILLS \	-DNODIAL -DNOHELP -DNODEBUG -DNOTLOG -DNOSCRIPT -DNOCSETS \	-DNOSETKEY -DNOSETBUF -UTCPSOCKET" "LNKFLAGS = -s"#POSIXposix:	@echo 'Making C-Kermit $(CKVER) for POSIX, no UUCP lockfile support...'	$(MAKE) wermit "CFLAGS= -DPOSIX -DNOUUCP $(KFLAGS) -O"#POSIX, BSDI-style.bsdiposix:	@echo 'Making C-Kermit $(CKVER) for BSDI/386 POSIX...'	$(MAKE) wermit "CFLAGS= -DPOSIX -DSETREUID -DPIDSTRING -DUSLEEP \	-DDYNAMIC -DNOSETBUF -DLOCK_DIR=\\\"/var/spool/uucp\\\" $(KFLAGS) -O"# make 386bsd 0.0new, posix# for  386bsd 0.1.24, change /usr/include/termios.h to #define NCCS if#  _POSIX_SOURCE is #defined. (source: lewine, posix prgmrs guide, o`reilly)386bsd:	@echo 'Making C-Kermit $(CKVER) for jolix 386BSD 0.0new and 0.1.24...'	$(MAKE) wermit "CFLAGS= -DPOSIX -DSETREUID -DPIDSTRING -DUSLEEP \	-D_386BSD -DCK_CURSES -DTCPSOCKET -DDYNAMIC -DNOSETBUF \	-DLOCK_DIR=\\\"/var/spool/uucp\\\" \	$(KFLAGS) -O" "LNKFLAGS = -s" "LIBS = -lcurses -ltermcap"#Pyramid 9810 OSx 4.4b-881028pyramid:	@echo Making C-Kermit $(CKVER) for Pyramid OSx 4.4b...	$(MAKE) wermit "CFLAGS= -DBSD4 -DTCPSOCKET -DDYNAMIC -O $(KFLAGS)" \	"LNKFLAGS = -s"#SONY NEWS, NEWS-OS 4.01Csonynews:	@echo Making C-Kermit $(CKVER) for SONY NEWS-OS 4.01C...	$(MAKE) wermit "CFLAGS= -DBSD43 -DKANJI -DACUCNTRL \	-DTCPSOCKET -O"#SUNPOSIXsunposix:	@echo Making C-Kermit $(CKVER) for POSIX...	$(MAKE) wermit "CC= /usr/5bin/cc " \	"CFLAGS= -DPOSIX -DHDBUUCP -DVOID=void -O"#IBM's AIX 3.0 on IBM 370 mainframe, tested on AIX F44 thru F50.aix370:	@echo Making C-Kermit $(CKVER) for IBM System/370 AIX 3.0...	$(MAKE) wermit \	"CFLAGS= -DAIX370 -DTCPSOCKET -DLCKDIR -DDIRENT -DYNAMIC $(KFLAGS)" \	"LIBS = -lbsd"#IBM's AIX 1.3 on IBM PS/2, tested on AIX F44 thru F50.#This is exactly the same as AIX370 except for the version herald.ps2aix3:	@echo Making C-Kermit $(CKVER) for IBM PS/2 AIX 3.0...	$(MAKE) wermit \	"CFLAGS= -DAIXPS2 -DTCPSOCKET -DLCKDIR -DDIRENT -DYNAMIC $(KFLAGS)" \	"LIBS = -lbsd"#IBM AIX 3.0, 3.1, or 3.2 for RISC System/6000.rs6000:	@echo Making C-Kermit $(CKVER) for IBM AIX 3.0 or 3.1, RS/6000...	$(MAKE) wermit \	"CFLAGS= -DAIXRS -DTCPSOCKET -DSVR3 -DDIRENT -DDYNAMIC -DCK_ANSIC \	-DNOSETBUF -DCLSOPN -DKANJI -O $(KFLAGS)" "LNKFLAGS = -s"#IBM AIX 3.0, 3.1, or 3.2 for RISC System/6000, with curses.rs6000c:	@echo Making C-Kermit $(CKVER) for IBM AIX 3.0 or 3.1, RS/6000...	$(MAKE) wermit \	"CFLAGS= -DAIXRS -DTCPSOCKET -DSVR3 -DDIRENT -DDYNAMIC -DCK_ANSIC \	-DNOSETBUF -DCLSOPN -DCK_CURSES -DKANJI -O $(KFLAGS)" \	"LIBS= -lcurses -ltermcap" "LNKFLAGS = -s"#IBM AIX 3.2 for RISC System/6000.rs6aix32:	@echo Making C-Kermit $(CKVER) for IBM AIX 3.2, RS/6000...	$(MAKE) wermit \	"CFLAGS= -DAIXRS -DTCPSOCKET -DSVR4 -DDIRENT -DDYNAMIC -DCK_ANSIC \	-DCLSOPN -DKANJI -O $(KFLAGS)" "LNKFLAGS = -s"#IBM AIX 3.2 for RISC System/6000.rs6aix32c:	@echo Making C-Kermit $(CKVER) for IBM AIX 3.2, RS/6000, curses...	$(MAKE) wermit \	"CFLAGS= -DAIXRS -DTCPSOCKET -DSVR4 -DDIRENT -DDYNAMIC -DCK_ANSIC \	-DCLSOPN -DCK_CURSES -DKANJI -O $(KFLAGS)" "LNKFLAGS = -s" \	"LIBS=-lcurses"#SUN OS version 4.0, BSD environment, has saved original euid feature.# Add "CC=/usr/ucb/cc CC2=/usr/ucb/cc" if necessary.sunos4:	@echo Making C-Kermit $(CKVER) for SunOS 4.0, BSD environment...	$(MAKE) wermit "CFLAGS= -O -DSUNOS4 -DDIRENT -DTCPSOCKET -DSAVEDUID \	-DKANJI -DDYNAMIC $(KFLAGS)"#As above, but with SunLink X.25 supportsunos4x25:	@echo SunLink X.25 support	$(MAKE) "MAKE=$(MAKE)" sunos4 "KFLAGS=$(KFLAGS) -DSUNX25"#SUN OS version 4.1, BSD environment, has saved original euid feature.#Uses Honey DanBer UUCP.  Requires presence of /usr/spool/locks directory.# /var/spool/ should be a symbolic link to  /usr/spool/.# ... or 'make wermit "CC= /usr/ucb/cc " \'sunos41:	@echo Making C-Kermit $(CKVER) for SunOS 4.1 / BSD...	$(MAKE) wermit \	"CFLAGS= -O -DSUNOS41 -DHDBUUCP -DDIRENT -DTCPSOCKET -DNOSETBUF \	-DKANJI -DSAVEDUID -DDYNAMIC $(KFLAGS)"#As above, but compile with gcc.  Reportedly gives 24-32K size reduction#with gcc 2.1 or 2.2.2.  CAUTION: make sure "fixincludes" has been run on#the include files, so gcc's are in sync with the regular SUN ones!#Includes the curses library for fullscreen file transfer display.sunos41gcc:	@echo Making C-Kermit $(CKVER) for SunOS 4.1/BSD with gcc and curses...	make wermit "CC= gcc " "CC2= gcc" \	"CFLAGS= -O -DSUNOS41 -DHDBUUCP -DDIRENT -DTCPSOCKET -DNOSETBUF \	-DSAVEDUID -DDYNAMIC -DKANJI -DCK_CURSES -DKANJI $(KFLAGS)" \	"LIBS= -lcurses -ltermcap"#SUNOS 4.1 as sunos41 above, but also with curses supportsunos41c:	@echo Curses support	$(MAKE) "MAKE=$(MAKE)" sunos41 "KFLAGS=$(KFLAGS) -DCK_CURSES" \	"LIBS= -lcurses -ltermcap"#SUNOS 4.1 with SunLink X.25 supportsunos41x25:	@echo SunLink X.25 support	$(MAKE) "MAKE=$(MAKE)" sunos41 "KFLAGS=$(KFLAGS) -DSUNX25"#SUNOS 4.1 with SunLink X.25 supportsunos41x25c:	@echo SunLink X.25 support, curses	$(MAKE) "MAKE=$(MAKE)" sunos41c "KFLAGS=$(KFLAGS) -DSUNX25"#The following sunosxxx entries are for testing only. #SUN OS version 4.0, BSD environment, minimum size...sunos4m:	@echo Minimum size	$(MAKE) "MAKE=$(MAKE)" sunos4 \	"KFLAGS=$(KFLAGS) -DNODIAL -DNOHELP -DNODEBUG -DNOTLOG \	-DNOSCRIPT -DNOCSETS -DNOICP -DNOMSEND" "LNKFLAGS = -s"#SUN OS version 4.1, BSD environment, minimum size...sunos41m:	@echo Minimum size	$(MAKE) "MAKE=$(MAKE)" sunos41 \	"KFLAGS=$(KFLAGS) -DNODIAL -DNOHELP -DNODEBUG -DNOTLOG \	-DNOSCRIPT -DNOCSETS -DNOICP -DNOMSEND -UTCPSOCKET" "LNKFLAGS = -s"#SUN OS version 4.0, BSD environment, minimum size w/command parser.sunos4mi:	@echo Minimum interactive	$(MAKE) "MAKE=$(MAKE)" sunos4 \	"KFLAGS=-DNOSPL -DNOXMIT -DNOMSEND -DNOFRILLS \	-DNODIAL -DNOHELP -DNODEBUG -DNOTLOG -DNOSCRIPT -DNOCSETS \	-DNOSETKEY -DNOSHOW -UTCPSOCKET $(KFLAGS)" "LNKFLAGS = -s"#SUN OS version 4.1 or later, BSD environment, minimum size w/command parser.sunos41mi:	@echo Minimum interactive	$(MAKE) "MAKE=$(MAKE)" sunos41 \	"KFLAGS=-DNOSPL -DNOXMIT -DNOMSEND -DNOFRILLS \	-DNODIAL -DNOHELP -DNODEBUG -DNOTLOG -DNOSCRIPT -DNOCSETS \	-DNOSHOW -DNOSETKEY -DNOSERVER -DNOUUCP \	-DNOSETBUF -DNOPUSH -DNOMDMHUP -DNOJC -DNOFDZERO -DNOESCSEQ \	-DNOCMDL -UTCPSOCKET $(KFLAGS)" "LNKFLAGS = -s#SUN OS version 4.1 or later, BSD, no debugging log.sunos41nd:	@echo No debugging...	$(MAKE) "MAKE=$(MAKE)" sunos41 "KFLAGS=$(KFLAGS) -DNODEBUG"#SUNOS 4.1 with malloc debuggersunos41md:	@echo Making C-Kermit $(CKVER) for SunOS 4.1 malloc debug...	$(MAKE) mermit \	"CFLAGS= -O -DSUNOS41 -DHDBUUCP -DDIRENT -DTCPSOCKET \	-DSAVEDUID -DDYNAMIC $(KFLAGS) -Dmalloc=dmalloc -Dfree=dfree -DMDEBUG"#SUN OS version 4.0, System V R3 environment (-i option omitted).sunos4s5:	@echo Making C-Kermit $(CKVER) for SunOS 4.0, System V R3...	@echo For testing purposes only - NOT for production use.	@echo For a useable version, make sunos4 instead.	$(MAKE) wermit "CC= /usr/5bin/cc " \	"CFLAGS = -DDIRENT -DSUN4S5 -DYNAMIC $(KFLAGS) -O"#SUN OS version 4.1 or later, System V R3 environment (-i option omitted).#Like sunos4s5, but SUNOS 4.1 has switched to HDB UUCP lockfile conventions.sunos41s5:	@echo Making C-Kermit $(CKVER) for SunOS 4.1 System V R3...	@echo For testing purposes only - NOT for production use.	@echo For a useable version, make sunos41 instead.	$(MAKE) wermit "CC= /usr/5bin/cc " CC2=/usr/5bin/cc \	"CFLAGS = -DSUN4S5 -DDIRENT -DHDBUUCP -DDYNAMIC $(KFLAGS) -O"#As above, but with curses supportsunos41s5c:	@echo Making C-Kermit $(CKVER) for SunOS 4.1 System V R3...	@echo Curses included.	@echo For testing purposes only - NOT for production use.	@echo For a useable version, make sunos41 instead.	$(MAKE) wermit "CC= /usr/5bin/cc " CC2=/usr/5bin/cc \	"CFLAGS = -DSUN4S5 -DDIRENT -DHDBUUCP -DDYNAMIC \	-DCK_CURSES -DCK_NEWTERM $(KFLAGS) -O" "LIBS= -lcurses"#As above, but with curses support AND net supportsunos41s5tcpc:	@echo Making C-Kermit $(CKVER) for SunOS 4.1 System V R3...	@echo TCP/IP and curses included.  No debug log.	@echo For testing purposes only - NOT for production use.	@echo For a useable version, make sunos41 instead.	$(MAKE) wermit "CC= /usr/5bin/cc " CC2=/usr/5bin/cc \	"CFLAGS = -DSUN4S5 -DDIRENT -DHDBUUCP -DDYNAMIC -DNOSETBUF \	-DNODEBUG -DCK_CURSES -DCK_NEWTERM -DTCPSOCKET $(KFLAGS) -O" \	"LIBS= -lcurses -lresolv"#SUN with Solaris 2.0.#Mostly the same as System V R4.#The nsl library contains a partab symbol, so Kermit's must be redefined.sunsol20:	@echo 'Making C-Kermit $(CKVER) for Sun with Solaris 2.0 and curses...'	$(MAKE) wermit "CFLAGS = -O -DSVR4 -DSOLARIS -Dpartab=partbl \	-DDIRENT -DHDBUUCP -DDYNAMIC -DSTERMIOX -DTCPSOCKET -DCK_CURSES \	$(KFLAGS)" "LIBS= -lsocket -lnsl -lcurses -ltermlib" "LNKFLAGS = -s"#SunOS 5.1 = Solaris 2.1, Alpha 3.2 = System V Release 4.0 for sparc processorssunos51c:	@echo 'Making C-Kermit $(CKVER) for SunOS 5.x....'	$(MAKE) wermit "CFLAGS = -O -Usun -DSVR4 -DDIRENT -DHDBUUCP -DDYNAMIC \	-DNOCSETS -DCK_CURSES -DNODEBUG -DSTERMIOX $(KFLAGS)" \	"LNKFLAGS = -s" "LIBS= -ltermlib"#SUN OS version 4.1 or later, gcc, profiling with gprof, no debugging.#To get profile, "make sunos4p" (on SUN), then "./wermit".  After running#wermit, "gprof ./wermit | lpr" (or whatever) to get execution profile.sunos41p:	@echo Making C-Kermit $(CKVER) for SunOS 4.x with profiling...	$(MAKE) wermit "CC= gcc " "CC2= gcc" \	"CFLAGS= -DSUNOS41 -DNODEBUG -DSAVEDUID -DDIRENT -DTCPSOCKET \	-DDYNAMIC $(KFLAGS) -pg" "LNKFLAGS = -pg"#End of sunosxxx test entries.#Apollo with Domain SR10.0 or later, BSD environment#Reportedly, it might also help to add '-A,systype=bsd4.3' to CFLAGS.#Reportedly, there is also a problem with getc & putc macros that can#be handled by using '#ifdef apollo' somewhere to redefine them???#On the other hand, other reports indicate that it works fine as-is.#NOTE: This entry was previously like this:#	$(MAKE) wermit "CFLAGS= -DNOFILEH -DBSD4 $(KFLAGS) -Uaegis \#	-DTCPSOCKET -U__STDC__"#Reports (Dec 91) indicate SR10 has an ANSI-compliant C compiler,#in addition to an older one that claimed to be ANSI-compliant but wasn't.#The following make entry (plus checks that are made in ckcdeb.h) detect#which compiler is used and define the CK_ANSIC or NOANSI flags accordingly.sr10-bsd:	@echo Making C-Kermit $(CKVER) for Apollo SR10.0 / BSD ...	$(MAKE) wermit \	"CFLAGS= -O -DBSD43 -DTCPSOCKET -DCK_CURSES -Uaegis $(KFLAGS)" \	"LIBS= -lcurses -ltermcap"#Apollo with Domain SR10.0 or later, System V R3 environment.#Don't use the optimizer (-O), it causes problems at runtime.sr10-s5r3:	@echo Making C-Kermit $(CKVER) for Apollo SR10.0 / Sys V R3 ...	$(MAKE) wermit "CFLAGS= -DNOFILEH -DSVR3 $(KFLAGS) -Uaegis -U__STDC__"#Apollo Domain/IX (untested, try this if sr10-bsd doesn't work)# (Can we add -DTCPSOCKET here?)apollobsd:	@echo Making C-Kermit $(CKVER) for Apollo Domain/IX...	$(MAKE) wermit "CC= /bin/cc " "CC2= /bin/cc " \	"CFLAGS= -DNOFILEH -DBSD4 $(KFLAGS) -Uaegis"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -