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

📄 makefile

📁 C-Kermit源码。是使用串口/Modem和网络通讯的程序
💻
📖 第 1 页 / 共 5 页
字号:
ckufio.$(EXT): ckufio.c ckcdeb.h ckuver.h ckcsym.h ckclib.h \		ckcxla.h ckuxla.h ckcuni.hckutio.$(EXT): ckutio.c ckcdeb.h ckcnet.h ckuver.h ckcsym.h ckctel.h ckclib.hckucon.$(EXT): ckucon.c ckcker.h ckcdeb.h ckcasc.h ckcnet.h ckcsym.h ckctel.h \		 ckclib.hckucns.$(EXT): ckucns.c ckcker.h ckcdeb.h ckcasc.h ckcnet.h ckcsym.h ckctel.h \		 ckclib.h ckcxla.h ckuxla.h ckcuni.hckcnet.$(EXT): ckcnet.c ckcdeb.h ckcker.h ckcnet.h ckcsym.h ckcsig.h ckctel.h \		 ckclib.hckctel.$(EXT): ckcsym.h ckcdeb.h ckcker.h ckcnet.h ckctel.h ckclib.hwart: ckwart.$(EXT)	$(CC) $(LNKFLAGS) -o wart ckwart.$(EXT) $(LIBS)ckcmdb.$(EXT): ckcmdb.c ckcdeb.h ckcsym.h ckclib.hckwart.$(EXT): ckwart.cckudia.$(EXT): ckudia.c ckcker.h ckcdeb.h ckucmd.h ckcasc.h ckcsym.h ckcsig.h \		ckcnet.h ckctel.h ckclib.hckuscr.$(EXT): ckuscr.c ckcker.h ckcdeb.h ckcasc.h ckcsym.h ckcsig.h \		ckcnet.h ckctel.h ckclib.hckusig.$(EXT): ckusig.c ckcasc.h ckcdeb.h ckcker.h ckcnet.h ckuusr.h \		ckcsig.h ckctel.h ckclib.hckupty.$(EXT): ckupty.c ckupty.h ckcdeb.hckuath.$(EXT): ckuath.c ckcdeb.h ckucmd.h ckuath.h ckuat2.h ckctel.h \		 ckclib.h ckcnet.hck_crp.$(EXT): ck_crp.c ckcdeb.h ckcnet.h ckuath.h ckclib.hck_ssl.$(EXT): ck_ssl.c ckcdeb.h ckucmd.h ckuath.h ckuat2.h ckctel.h \		 ckclib.h ck_ssl.h############################################################################# Entries to make C-Kermit for specific systems.## Put the ones that need short makefiles first.#Apollo Aegis 9.x.  Includes TCP/IP support.#You can also add processor-dependent optimization switches like -M570.aegis:	@echo Making C-Kermit $(CKVER) for Apollo Aegis 9.x...	$(MAKE) wermit KTARGET=$${KTARGET:-$(@)} \	"CFLAGS= -DBSD4 -DTCPSOCKET -DNOCSETS -DCK_CURSES -O $(KFLAGS)" \	"LIBS = -lcurses -ltermcap"#Apple Mac II, A/UX pre-3.0#Warning, if "send *" doesn't work, try the auxufs makefile entry below.aux:	@echo Making C-Kermit $(CKVER) for Macintosh A/UX...	$(MAKE) wermit KTARGET=$${KTARGET:-$(@)} \	"CFLAGS = -DAUX -DTCPSOCKET $(KFLAGS) -i -O" "LNKFLAGS = -i"#Apple Mac II, A/UX pre-3.0, compiled with gccauxgcc:	@echo Making C-Kermit $(CKVER) for Macintosh A/UX...	$(MAKE) wermit KTARGET=$${KTARGET:-$(@)} \	"CFLAGS = -DAUX -DTCPSOCKET -traditional $(KFLAGS) -i -O" \	"LNKFLAGS = " "CC = gcc" "CC2 = gcc"#Apple Mac II, A/UX, pre-3.0, but with ufs file volumes, uses <dirent.h>.auxufs:	@echo Making C-Kermit $(CKVER) for Macintosh A/UX...	$(MAKE) wermit KTARGET=$${KTARGET:-$(@)} \	"CFLAGS = -DAUX -DTCPSOCKET -DDIRENT $(KFLAGS) -i -O" "LNKFLAGS = -i"#Apple Mac II, A/UX 3.0, compiled with gccaux3gcc:	@echo Making C-Kermit $(CKVER) for Macintosh A/UX 3.0...	$(MAKE) wermit KTARGET=$${KTARGET:-$(@)} \	"CFLAGS = -DAUX -DHDBUUCP -DLFDEVNO -DTCPSOCKET -DDIRENT $(KFLAGS)" \	"LNKFLAGS = -s" "LIBS = $(LIBS)" \	"CC=gcc -pipe -traditional" "CC2=gcc -pipe -traditional"#Apple Mac II, A/UX 3.0, compiled with gcc, uses cursesaux3cgcc:	@echo Making C-Kermit $(CKVER) for Macintosh A/UX 3.0...	$(MAKE) "MAKE=$(MAKE)" aux3gcc KTARGET=$${KTARGET:-$(@)} \	"KFLAGS=$(KFLAGS) -DCK_CURSES" "LIBS = -lcurses $(LIBS)"# Tenon MachTen, tested on Apple Powerbook with MachTen 2.1.1.D.# NOTE: This doesn't do anything about UUCP.  It only works if /usr/spool/uucp# has permission of 777, and dialout device is world read/writeable.machten:	@echo Making C-Kermit $(CKVER) for MachTen...	$(MAKE) xermit KTARGET=$${KTARGET:-$(@)} \	"CFLAGS= -DBSD43 -DTCPSOCKET -DSIG_V -DNDGPWNAM -DCK_CURSES -O \	$(KFLAGS)"  "LIBS=-lcurses -ltermcap"#Bell Labs Research UNIX V10#Can't add TCP/IP because there is no sockets library.  It would have to#be done using streams, but there is no code in C-Kermit for that.#Remove -DNOJC if desired (if your system has csh, ksh, or bash).bellv10:	@echo Making C-Kermit $(CKVER) for Bell Labs Research UNIX V10...	$(MAKE) wermit KTARGET=$${KTARGET-$(@)} \	"CFLAGS= -DBELLV10 -DBSD4 -DNDIR -DNOJC -DNOSYSIOCTLH -DNOSETREU \	-DNOCSETS -MINIDIAL $(KFLAGS)"# WARNING: The early BSD entries do not build in version 7.0 with the stock# BSD compiler: "Too many defines".  These builds must be accomplished by:# copying the /usr/include tree to someplace else, preprocessing there with cc# -E -I./include or whatever (plus all the same -D's), renaming the the# resulting files back to their original names, bringing them back to the# original BSD system, and running the make target there.  This technique was# used for 4.2 and 4.3 BSD on a VAX.  If you how to rebuild cpp to have more# space for defines, that would be easier...#Berkeley Unix 4.1bsd41:	@echo Making C-Kermit $(CKVER) for 4.1BSD...	$(MAKE) wermit KTARGET=$${KTARGET-$(@)} \	"CFLAGS= -DBSD41" "LIBS = -ljobs"#Berkeley 4.2, 4.3, also Ultrix-32 1.x, 2.x, 3.x, many others# Add -O, -s, etc, if they work.# If you have a version of BSD but signal() is void rather than int,# "make bsd KFLAGS=-DSIG_V".bsd42:	@echo Making C-Kermit $(CKVER) for 4.2BSD...	$(MAKE) xermit KTARGET=$${KTARGET-$(@)} \	"CFLAGS= -DBSD4 -DTCPSOCKET -DNOREALPATH -DNOTIMEH -DSYSTIMEBH \	-DNOIKSD -DNOPUTENV -DNOANSI -DBIGBUFOK $(KFLAGS)" "LIBS=$(LIBS)"bsd42c:	$(MAKE) bsd42 "KFLAGS=-DCK_CURSES $(KFLAGS)" \	"LIBS=-lcurses -ltermcap $(LIBS)"bsd:	$(MAKE) bsd42 KTARGET=$${KTARGET-$(@)}#Berkeley 4.2, 4.3, minimum size (command-line only)bsdm:	@echo Making C-Kermit $(CKVER) for 4.2BSD...	$(MAKE) bsd KTARGET=$${KTARGET-$(@)} \	"KFLAGS= -DNODIAL -DNOHELP -DNODEBUG -DNOTLOG -DNOSCRIPT \	-DNOCSETS -DNOICP $(KFLAGS)"#Berkeley 4.2, 4.3, minimimum interactive (no scripting, no charsets)bsdmi:	@echo Making C-Kermit $(CKVER) for 4.2BSD...	$(MAKE) bsd KTARGET=$${KTARGET-$(@)} \	"KFLAGS= -DNODIAL -DNOCSETS -DNOSPL $(KFLAGS)"#Berkeley Unix with HoneyDanBer UUCPbsdhdb:	@echo Making C-Kermit $(CKVER) for 4.2BSD with HDB UUCP...	$(MAKE) bsd KTARGET=$${KTARGET-$(@)} \	"KFLAGS= -DHDBUUCP $(KFLAGS)"#Berkeley Unix 4.3 with acucntrl programbsd43:	@echo Making C-Kermit $(CKVER) for 4.3BSD...	$(MAKE) xermit KTARGET=$${KTARGET-$(@)} \	"CFLAGS= -DBSD4 -DBSD43 -DTCPSOCKET -DNOREALPATH -DNOTIMEH \	-DACUCNTRL -DSYSTIMEBH -DNOIKSD -DNOPUTENV -DNOANSI -DBIGBUFOK \	$(KFLAGS)" "LIBS=$(LIBS)"#Ditto, with curses support.bsd43c:	@echo Making C-Kermit $(CKVER) for 4.3BSD + curses...	$(MAKE) xermit KTARGET=$${KTARGET-$(@)} \	"CFLAGS= -DBSD4 -DBSD43 -DTCPSOCKET -DNOREALPATH -DNOTIMEH -DNOIKSD \	DCK_CURSES -DACUCNTRL -DSYSTIMEBH -DNOPUTENV -DNOANSI -DBIGBUFOK \	$(KFLAGS)" "LIBS=-lcurses -ltermcap $(LIBS)"#Berkeley Unix 4.2 or 4.3 with lock directory /usr/spool/uucp/LCK/LCK..ttyxx,#but without acucntrl programbsdlck:	@echo Making C-Kermit $(CKVER) for 4.2BSD, /usr/spool/uucp/LCK/...	$(MAKE) bsd KTARGET=$${KTARGET-$(@)} \	"KFLAGS= -DLCKDIR $(KFLAGS)"#Berkeley UNIX 4.4-Lite, 4.4-Encumbered, Net/2, etc (Post-Reno),#with TCP/IP networking.  This includes NetBSD, FreeBSD, etc.#NOTE: This is not a pure POSIX configuration.  Using -DPOSIX instead of# -DBSD44 prevents any kind of directory-reading (for wildcard expansion),#and disallows use of ENOTCONN symbol for detecting broken network#connections, and disallows RTS/CTS flow control, and would also require#definition of the appropriate UUCP lockfile convention.#Do not add -DCK_POSIX_SIG without reading <signal.h> first!  For example,#sigsetjmp(), etc, tend to be defined but not implemented.bsd44:	@echo Making C-Kermit $(CKVER) for 4.4BSD...	$(MAKE) xermit KTARGET=$${KTARGET:-$(@)} \	"CFLAGS= -DBSD44 -DTCPSOCKET $(KFLAGS) -O"#Berkeley UNIX 4.4, as above, but with curses for fullscreen display#Please read notes for bsd44 entry just above.# NOTE: This one dumps core on the real 4.4BSD system at UC Berkeley# (an HP-9000 300), so use the no-curses version for that one.bsd44c:	@echo Making C-Kermit $(CKVER) for 4.4BSD with curses...	$(MAKE) xermit KTARGET=$${KTARGET:-$(@)} \	"CFLAGS= -DBSD44 -DCK_CURSES -DTCPSOCKET $(KFLAGS) -O" \	"LIBS= -lcurses -ltermcap $(LIBS)"#For FreeBSD 1.x.  Not tested recently - might need ncurses.freebsd:	@echo 'Making C-Kermit $(CKVER) for FreeBSD...'	$(MAKE) xermit KTARGET=$${KTARGET:-$(@)} \	"CFLAGS= -DBSD44 -DCK_CURSES -DTCPSOCKET -DNOCOTFMC -funsigned-char \	$(KFLAGS) -O -pipe" "LIBS= -lcurses -ltermcap -lcrypt $(LIBS)"#FreeBSD 2.x with ncursesfreebsd2:	@echo 'Making C-Kermit $(CKVER) for FreeBSD 2.x with ncurses...'	$(MAKE) xermit KTARGET=$${KTARGET:-$(@)} \	"CFLAGS= -DBSD44 -DCK_NCURSES -DTCPSOCKET -DNOCOTFMC -DUSE_STRERROR \	-DTPUTSARGTYPE=int -DTPUTSARG1CONST -DFREEBSD2 -funsigned-char \	$(KFLAGS) -O -pipe" \	"LIBS= -lncurses -ltermlib -lcrypt $(LIBS)"#For FreeBSD 2.x -- Uses curses rather than ncursesfreebsd2c:	@echo 'Making C-Kermit $(CKVER) for FreeBSD 2.x with curses...'	$(MAKE) xermit KTARGET=$${KTARGET:-$(@)} \	"CFLAGS= -DBSD44 -DCK_CURSES -DTCPSOCKET -DNOCOTFMC -DUSE_STRERROR \	-DTPUTSARGTYPE=int -DTPUTSARG1CONST -DFREEBSD2 \	-funsigned-char $(KFLAGS) -O -pipe" \	"LIBS= -lcurses -ltermlib -lcrypt $(LIBS)"#FreeBSD 3.x with ncurses and uu_lock()#(Note: uu_lock() goes back to 2.2.2, but not necessarily 2.0)freebsd3:	@echo 'Making C-Kermit $(CKVER) for FreeBSD 3.x with ncurses...'	$(MAKE) xermit KTARGET=$${KTARGET:-$(@)} \	"CFLAGS= -DBSD44 -DCK_NCURSES -DTCPSOCKET -DNOCOTFMC -funsigned-char \	-DTPUTSARGTYPE=int -DUSE_STRERROR -DFREEBSD3 -DUSE_UU_LOCK \	$(KFLAGS) -O -pipe" \	"LIBS= -lncurses -lcrypt -lutil $(LIBS)"#As above but with curses rather than ncurses.freebsd3c:	@echo 'Making C-Kermit $(CKVER) for FreeBSD 3.x with curses...'	$(MAKE) xermit KTARGET=$${KTARGET:-$(@)} \	"CFLAGS= -DBSD44 -DCK_CURSES -DTCPSOCKET -DNOCOTFMC -DUSE_UU_LOCK \	-DTPUTSARGTYPE=int -DUSE_STRERROR -DFREEBSD3 $(KFLAGS) \	-funsigned-char -pipe -O" \	"LIBS= -lcurses -lcrypt -lutil $(LIBS)"#NetBSD - all versions - with curses, not ncurses.netbsd:	@echo Making C-Kermit $(CKVER) for NetBSD with curses...	$(MAKE) xermit KTARGET=$${KTARGET:-$(@)} \	"CFLAGS= -DBSD44 -DCK_CURSES -DTCPSOCKET -DUSE_STRERROR -DTPUTSISVOID \	-DCK_DTRCD -DCK_DTRCTS -DTPUTSARGTYPE=in

⌨️ 快捷键说明

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