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

📄 makefile

📁 C-Kermit源码。是使用串口/Modem和网络通讯的程序
💻
📖 第 1 页 / 共 5 页
字号:
# makefile / Makefile / ckuker.mak / CKUKER.MAK## Tue Feb  8 17:07:22 2000BUILDID=20000208#CKVER= "7.0.197"## -- Makefile to build C-Kermit for UNIX and UNIX-like systems --## Copyright (C) 1985, 2000,#   Trustees of Columbia University in the City of New York.#   All rights reserved.  See the C-Kermit COPYING.TXT file or the#   copyright text in the ckcmai.c module for disclaimer and permissions.## Author: Frank da Cruz, Columbia University# 612 West 115th Street, New York NY 10025-7799, USA# E-mail: fdc@columbia.edu# Fax:    +1 212 662-6442# Web:    http://www.columbia.edu/kermit/## Contributions from many others.  Special thanks to Peter Eichhorn,# assyst GmbH, for the consolidated HP-UX entries, to Robert Lipe for# the updated & consolidated SCO UNIX / ODT / OSR5 entries, to Ric Anderson# for new IRIX 6.x entires, and Jeff Altman for the Kerberos/SRP targets.## Most entries use the "xermit" target, which uses the select()-based CONNECT# module, ckucns.c.  The "wermit" target uses the older fork()-base CONNECT# module, ckucon.c, which has some drawbacks (but is more portable).  If your# entry still uses the "wermit" target, please try substituting the "xermit"# one and if it works, let us know.## CAREFUL: Don't put the lowercase word "if", "define", or "end" as the first# word after the "#" comment introducer in the makefile, even if it is# separated by whitespace.  Some versions of "make" understand these as# directives.  Uppercase letters remove the danger, e.g. "# If you have..."## WARNING: This is a huge makefile, and it contains nested makes.# Some "make" programs run out of memory.  If this happens to you, edit# away the parts that do not apply to your system and try again.## Certain UNIX variations have their own separate makefiles:#  . For 2.10 or 2.11 BSD on DEC PDP-11s, use ckubs2.mak.#  . For Plan 9, use ckpker.mk.## Separate build procedures are provided non-UNIX platforms: VMS, VOS,# AOS/VS, etc.  See the ckaaaa.txt file for details.### DIRECTIONS## Rename this file to "makefile" or "Makefile" if necessary.  Pick out the# entry most appropriate for your UNIX system from the list below and then# give the appropriate "make" command, for example "make aix43", "make sys5r4",# "make linux".  If you experience any difficulties with the build procedure,# then please also read any comments that accompany the make entry itself# (search for the make entry name on the left margin).## Other entries:#  'make manpage' creates the nroff man page file from ckuker.cpp.#  'make install' is a SAMPLE installation script.#  'make clean' removes intermediate and object files.## IMPORTANT:#   For more detailed installation instructions, read the files ckuins.txt#   and ckccfg.txt.  For descriptions of known problems and limitations,#   read the files ckcbwr.txt and ckubwr.txt (the "beware files").## Most entries build C-Kermit with its symbol table included.  To reduce the# size of the executable program, add "LNKFLAGS=-s" to the end of your 'make'# command or to the makefile entry, or 'strip' the executable after# building.  To further reduce the size after building, use 'mcs -d' if your# system has such a command.  For further details on size reduction, read# ckccfg.txt to find out how to remove features that you don't need.## TCP/IP networking support: If your C-Kermit version does not include TCP/IP# networking, but your UNIX system does, try adding -DTCPSOCKET to the CFLAGS# of your makefile entry.  If that doesn't work, look at some of the other# entries that include this flag for ideas about what libraries might need to# be included, etc.  NOTE: In some cases (old versions of SCO or HP-UX), you# might need not only a C compiler, but also a "TCP/IP developers kit" for the# required object libraries and header files.## Fullscreen file transfer display support: If you are going to use C-Kermit# for establishing connections (dialed, network, etc), you can configure it to# produce a formatted file transfer display by including the curses library# and adding -DCK_CURSES to the CFLAGS for your option, and linking with the# appropriate libraries.  There are many examples below, usually ending in# "c", like sunos41c.  Also add -DCK_WREFRESH if your curses library includes# clearok() and wrefresh() functions (or remove -DNOWREFRESH if the linker# complains that it can't find these functions).  After building, you still# have to SET FILE DISPLAY FULLSCREEN to get the formatted screen display.## Please report modifications, failures (preferably with fixes) or successes# to the author.## TARGETS FOR DIFFERENT UNIX PLATFORMS AND VERSIONS:## + Marks those that have been tested successfully in the current version.# - Marks those that are known not to work in the current version.# ? Marks those that worked in a previous version but have not been tested#     in the current version.# --------------------------# ? for 386BSD (Jolix) 0.0, 0.1, "make 386bsd" (see comments in entry),#     or (preferably, if it works) "make bsd44" or "make bsd44c".# ? for Acorn RISCiX, "make riscix" or "make riscixgcc"# ? for Alliant FX/8 with Concentrix 4.1 or later, "make bsdlck"# ? for Altos 486, 586, 986 with Xenix 3.0, "make altos"# ? for Altos ACS68000, 8Mhz 68000, UNIX System 3 Rel 2, 512K, "make altos3"# ? for Amdahl UTS 2.4 on IBM 370 series & compatible mainframes, "make uts24"# ? for Amdahl UTSV IBM 370 series & compatible mainframes, "make utsv"# ? for Amdahl UTSV IBM 370 series mainframes with TCP/IP, "make utsvtcp"# ? for Amdahl mainframes with UNIX System V R 5.2.6b 580, "make sys3"# ? for Apollo Aegis 9.x, DOMAIN/IX 9.x, "make aegis"#    (Last tested in C-Kermit 5A(189))# ? for Apollo DOMAIN/IX, if the above fails, try "make apollobsd"# ? for Apollo with SR10.0 or later, BSD environment, "make sr10-bsd"# ? for Apollo with SR10.0 or later, System V environment, "make sr10-s5r3"# ? for Apple Macintosh II with A/UX pre-3.0, "make aux", "auxgcc" or "auxufs"# ? for Apple Macintosh with A/UX 3.0 and gcc, "make aux3gcc" or aux3gccc# + for Apple PowerMac with MkLinux, "make mklinux" (read Linux entry first)# + for Apple PowerMac with LinuxPPC, "make linuxppc"# ? for Apple Macintosh with Minix 1.5.10, "make minix68k" or "make minixc68"# + for Apple Macintosh with Mac OS X 1.0 (Rhapsody), "make macosx10"#     (no curses), "make macosx10c" (curses), or "make macosx10nc" (ncurses).#     Or "make macosx10ncx" (ncurses but "make macosx10nc" doesn't work).# ? for Arix System 90 with AT&T SVR3, "make sys5r3na"# ? for AT&T 6300 with IN/ix, "make sys5"# ? for AT&T 6300 PLUS, "make att6300" or (with no debugging) "make att6300nd"# ? for AT&T 6386 WGS UNIX PC, "make sys5r3"# + for AT&T 3B2, 3B20 systems, "make att3b2".#   for AT&T 3B1, 7300 UNIX PC (see notes with the entries):#     In C-Kermit 7.0, only the gcc entries work:# +   "make sys3upcg", "make sys3upcgc", "make sys3upcgcm", "make att351gm"#    The others fail with "too many defines" (usually in ckuusr.h):# -   "make sys3upc", "make sys3upcold", "make sys3upcc", "make sys3upcx",#       "make sys3upcm", "make att351m"# ? for AT&T System III/System V R2 or earlier, "make sys3" or "make sys3nid"# ? for AT&T System III/System V with Honey DanBer UUCP, "make sys3hdb"# ? for AT&T System V on DEC VAX, "make sys3" or "make sys5r3"# + for AT&T System V R3, use "make sys5r3" or "make sys5r3c"# + for AT&T System V/386 R320.0 Versyss Systems, use "make sys5r3"#     or "make sys5r3c" with KFLAGS=-DNONAWS.# + for AT&T System V R4, "make sys5r4", "make sys5r4sx", or "make sys5r4nx",#     or if the ANSI C function prototyping makes trouble, add -DNOANSI,#     as in "sys5r4sxna" entry# + for AT&T System V R4 with bundled TCP/IP, "make sys5r4netc", ...# + for AT&T System V R4 with Wollongong TCP/IP, "make sys5r4twg", ...# + for AT&T (USL) System V R4.2 use the sys5r4* entries.# ? for Atari Falcon with MiNT, "make posix"# ? for Atari ST with Minix ST 1.5.10.3, "make minix68k" or "make minixc68"# ? for BBN C/70 with IOS 2.0, "make c70"# ? for BeBox with Be OS 1.x DR7, "make beboxdr7"#     Compiles OK but doesn't link with default linker which is limited to 64K.#     Links OK with "Code Warrior Gold".  Many hacks in the source code need#     to be removed when DR8 and later come out.#     (Last tested in C-Kermit 6.0)# - for BeBox with Be OS 1.x DR8, "make bebox"#     (Needed functions missing from operating system and/or not working.)# - for Bell Labs UNIX Version 6 (6th Edition), there is no makefile entry.# ? for Bell Labs UNIX Version 7 (7th Edition), "make v7" (but see notes below)#    (last built successfully in C-Kermit 5A188)# ? for Bell Labs Research UNIX Version 10, "make bellv10"#    (last built successfully in C-Kermit 6.0)# + for Bell Labs / Lucent Plan 9, use separate makefile ckpker.mk:#    can be built for Intel, MIPS, 680x0, and PowerPC.# + for BSDI BSD/386 1.x, "make bsdi"# + for BSDI BSD/OS 2.x, "make bsdi2"# + for BSDI BSD/OS 3.0 or 3.1, "make bsdi3"# + for BSDI BSD/OS 4.0, "make bsdi4"# ? for Berkeley Unix 2.4, "make v7" (but read v7 material below)# ? for Berkeley Unix 2.9 (DEC PDP-11 or Pro-3xx), "make bsd29"# - for Berkeley Unix 2.10, use ckubs2.mak (a separate makefile)# - for Berkeley Unix 2.11, use ckubs2.mak (a separate makefile)#     This makefile is too big.  Read the instructions in ckubs2.mak.#     "make -f ckubs2.mak bsd210" or "make - f ckubs2.mak bsd211".#     (last built successfully in C-Kermit 6.0 - later versions too big)# + for Berkeley Unix 2.11 "make -f ckubs2.mak bsd210noicp" (no command parser)# ? for Berkeley Unix 4.1, "make bsd41"# + for Berkeley Unix 4.2 on VAX, "make bsd42" or "make bsd42c"# ? for Berkeley Unix 4.2 or 4.3 with HoneyDanBer UUCP, "make bsdhdb"# + for Berkeley Unix 4.3 on VAX, "make bsd43" or "make bsd43c" # + for Berkeley Unix 4.3 without acucntrl program, "make bsd42" or "bsd42c"#     NOTE: all the C-Kermit 7.0 full builds for old BSDs fail with#     "too many defines" in CPP, even on big architectures like VAX.  This#     can be worked around with a clever ruse.  See comments at target.# + for Berkeley Unix 4.3, command-line only, "make bsdm".# + for Berkeley Unix 4.3-Tahoe, same as 4.3 BSD# + for Berkeley Unix 4.3-Reno, "make bsd43" or "make bsd44" or "make bsd44c"# + for Berkeley Unix 4.3-Carson City, "make bsd44" or "make bsd44c"# + for Berkeley Unix 4.4-Networking/2 or -Alpha, "make bsd44" or "make bsd44c"# + for Berkeley Unix 4.4, "make bsd44" or "make bsd44c"# + for Berkeley Unix 4.4-Lite, "make bsd44" or "make bsd44c"# ? for Bull DPX/2 with BOS/X, "make bulldpx2"# ? for Cadmus, "make sys3"# ? for Callan Unistar, "make sys3"# ? for CDC VX/VE 5.2.1 System V emulation, "make vxve"# ? for Charles River Data Systems Universe 680x0 with UNOS 9.2, maybe#     also other UNOS versions, "make crds"# ? for CIE Systems 680/20 with Regulus, "make cie"# + for Commodore Amiga 3000UX Sys V R4, "make sys5r4sx"# + for Commodore Amiga 3000UX Sys V R4 and TCP/IP, "make svr4amiganet"# ? for Commodore Amiga with Minix 1.5.10, "make minix68k" of "make minixc68"# ? for Concurrent/Masscomp with RTU 4.0 or later, BSD environment, "make#     rtubsd", "make rtubsd2", "make rtubsd3" (depending on where ndir.h#     is stored, see entries below).# ? for Concurrent/Masscomp with RTU 4.0 or later, System V R2, "make rtus5"# ? for Concurrent/Masscomp with RTU 5.0 or later, System V R3, "make rtusvr3"# ? for Concurrent (Perkin-Elmer) 3200 series, "make sys5".# ? for Concurrent (Perkin-Elmer) 3200 series with <dirent.h>, "make ccop1"# ? for Consensys UNIX SV/386 R4V3, "make sys5r4sxtcpc" or "make sys5r4sx"# ? for Convergent with CTIX Sys V R2, "make sys5"# ? for Convergent with CTIX 6.4.1, "make ctix"# ? for Convex C1, "make convex"# ? for Convex C210 with Convex/OS 8, "make convex8"# ? for Convex C2 with Convex/OS 9.1, "make convex9"# ? for Convex C2 with Convex/OS 10.1 and gcc 2.x, "make convex10gcc"# ? for Cray Research X/MP or YMP or C90 with UNICOS 6.x (System V R3),#	"make cray"# ? for Cray Research X/MP or YMP or C90 with UNICOS 7.x (System V R4),#	"make cray"# ? for Cray Research X/MP or YMP or C90 with UNICOS 8.0 Alpha, "make cray8"# ? for Cray Computer Cray-2 or Cray3 with CSOS, "make craycsos"# ? for Cyber 910 (Silicon-Graphics Iris) with Irix 3.3, "irix33"# ? for Data General AViiON with DG/UX 5.4R3.xx or later, "make dgux543c"# ? for Data General AViiON with DG/UX 5.4 before R3.00, "make dgux540"#     or "make dgux540c" (compile ckwart separately if necessary)# + for DG/UX 5.4 on AViiON Intel models, "make dgux540i" or dgux540ic.# ? for DG/UX 5.4R4.11 on AViiON, all models, "make dgux54411"# + for DG/UX 5.4R4.20 on AViiON, all models, "make dgux54420"# + for Data General AViiON with DG/UX 4.3x using Sys V-isms, "make dgux430"# ? for Data General AViiON with DG/UX 4.3x using BSD-isms, "make dgux430bsd"# ? for Data General AViiON, earlier UNIX versions,#     "make sys5r3" (maybe compile ckwart separately, or "touch ckcpro.c")# ? for Data General MV systems with DG/UX, ???# ? for Data General MV systems with MV/UX, use AOS/VS C-Kermit (CKDKER.MAK)# + for Data General MV systems with AOS/VS, use CKDKER.MAK.#   for DEC PDP-11 with Berkeley UNIX 2.x, see Berkeley UNIX 2.x.# ? for DEC PDP-11 with Mini-UNIX (Bell 6th Edition for PDP-11 with no MMU),#     probably no way to fit C-Kermit without I&D space.# ? for DEC PDP-11 with Ultrix-11 3.x, ??? (probably needs overlays)# ? for DEC VAX with Ultrix 1.x "make bsd"# ? for DEC VAX with Ultrix 2.x "make ultrix2s"# ? for DEC VAX or DECstation with Ultrix 3.0, 3.1, "make ultrix3x"# ? for DECstation or VAX with Ultrix 4.0 or 4.1, "make ultrix40"# ? for DECstation or VAX with Ultrix 4.2, "make ultrix42" or "make ultrix42c"# ? for DECstation or VAX with Ultrix 4.2, Sys V R4 world, "make du42s5r4"# ? for DECstation or VAX with Ultrix 4.x, POSIX world, "make posix"# + for DECstation or VAX with Ultrix 4.3, "make ultrix43".# + for DECstation or VAX with Ultrix 4.4, "make ultrix44".# ? for DECstation 5000/50, /150 or /260 (R4x00 MIPS CPU), Ultrix 4.3A or later#     "make ultrix43-mips3" or "make ultrix43c-mips3"# ? for DECstation (MIPS) with Berkeley Sprite, "make bsd44"?# ? for DECstation (MIPS) with OSF/1 V1.0 to 1.3, "make dec-osf"# ? for DEC Alpha with OSF/1 1.0 to 1.3, "make dec-osf"# ? for DEC PC 486 with OSF/1, "make dec-osf"# ? for DEC Alpha with OSF/1 2.x, "make dec-osf20"# + for DEC Alpha with OSF/1 3.0, "make dec-osf30"# + for DEC Alpha with Digital UNIX 3.2, "make du32"

⌨️ 快捷键说明

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