makefile
资源名称:cku197.tar.Z [点击查看]
上传用户:dufan58
上传日期:2007-01-05
资源大小:3407k
文件大小:269k
源码类别:
通讯/手机编程
开发平台:
Windows_Unix
- # makefile / Makefile / ckuker.mak / CKUKER.MAK
- #
- # Tue Feb 8 17:07:22 2000
- BUILDID=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"
- # + for DEC Alpha with Digital UNIX 4.0, "make du40" or "make du40gcc"
- # + for DEC Alpha with Digital UNIX 5.0, "make du50"
- # - for DEC Pro-350 with Pro/Venix V1.x, "make provx1" (version 5A is too big)
- # ? for DEC Pro-380 with Pro/Venix V2.0 (Sys V), "make sys3" or "make sys3nid"
- # ? for DEC Pro-380 with 2.9, 2.10, or 2.11 BSD, "make bsd29" or "make bsd210"
- # for DEC PDP-11 with 2.xBSD (use separate makefile ckubs2.mak)
- # ? for Dell UNIX Issue 2.x (= USL Sys V/386 R4.x + fixes), "make dellsys5r4"
- # or "make dellsys5r4c" (last tested in C-Kermit 5A).
- # ? for DIAB DS90 with DNIX (any version) create an empty <sys/file.h> if
- # this file does not already exist (or add -DNOFILEH to the make entry).
- # ? for DIAB DS90 or LUXOR ABC-9000 with pre-5.2 DNIX, add "getcwd" to libc.a
- # (see ckuins.txt), then "make dnixold".
- # ? for DIAB DS90 with DNIX 5.2 (Sys V.2) or earlier, "make dnix",
- # "make dnixnd", or (to add curses and TCP/IP) "make dnixnetc",
- # ? for DIAB DS90 with DNIX 5.3 (Sys V.3), "make dnix5r3"
- # ? for DIAB DS90 with DNIX 5.3 (Sys V.3) and TCP/IP, "make dnix5r3net"
- # ? for DIAB DS90 with DNIX 5.3 2.2 (Sys V.3), ANSI C, "make dnix5r3ansi"
- # or, to include TCP/IP, "make dnix5r3ansinet",
- # but you have to fix a bug in /usr/include/stdlib.h first:
- # change "extern void free(char *str);" to "extern void free(void *str);"
- # ? for Dolphin Server Technology Triton 88/17 with SV/88 R3.2, "make sv88r32"
- # ? for Encore Multimax 310, 510 with Umax 4.2, "make umax42"
- # ? for Encore Multimax 310, 510 with Umax 4.3, "make umax43"
- # ? for Encore Multimax 310, 510 with Umax V 2.2, use Berkeley cc, "make bsd"
- # ? for Encore 88K with Umax V 5.2, "make encore88k"
- # ? for ESIX System V R4.0.3 or 4.04 with TCP/IP support, "make esixr4"
- # NOTE: You can also build on Unixware 2.x with "make esixr4", and run
- # on ESIX, but there you must first:
- # ln /usr/lib/libsocket.so /usr/lib/libsocket.so.1
- # ln /usr/lib/libnsl.so /usr/lib/libnsl.so.1
- # (This worked for C-Kermit 6.0 but does not work for 7.0)
- # ? for Everex STEP 386/25 Rev G with ESIX Sys V R3.2D, "make sys5r3"
- # ? for Fortune 32:16, For:Pro 1.8, "make ft18"
- # ? for Fortune 32:16, For:Pro 2.1, "make ft21"
- # ? for FPS 500 with FPX 4.1, "made bsd"
- # ? for FreeBSD 1.0, "make freebsd"
- # + for FreeBSD 2.x, "make freebsd2" (ncurses) or "make freebsd2c" (curses)
- # + for FreeBSD 3.x, "make freebsd3" (ncurses) or "make freebsd3c" (curses)
- # ? for Harris HCX-2900, "make sys5r3"
- # ? for Harris Night Hawk 88K or 68K with CX/UX pre-6.1, "make sys5r3"
- # ? for Harris Night Hawk 88K or 68K with CX/UX 6.1 or later, "make cx_ux"
- # ? for Heurikon, "make sys3"
- # ? for HP-3000, MPE/ix, "make posix"?
- # + for HP-9000 Series 300 with 4.4BSD, "make bsd44"
- # + for HP-9000 Series 500, HP-UX 5.21 with WIN/TCP 1.2 "make hpux500wintcp"
- # + for HP-9000 Series, HP-UX < 6.5, without long filenames, no job control,
- # "make hpuxpre65"
- # + for HP-9000 Series, HP-UX pre-7.0, without long filenames, "make hpux"
- # + for HP-9000 Series, HP-UX 6.5, without long filenames,
- # "make hpux65" or "make hpux65c"
- # + for HP-9000 Series, HP-UX 7.0 or later, no long filenames, "make hpux70sf"
- # or (to include tcp/ip, curses, etc) "make hpux70sftcpc"
- # + for HP-9000 Series with HP-UX Sys V R2, BSD long names, "make hpuxlf"
- # + for HP-9000 Series with HP-UX Sys V R2, dirent long names, "make hpuxde"
- # or (to include TCP/IP support) "make hpuxdetcp"
- # + for HP-9000 Series with HP-UX Sys V R3, "make hpuxs5r3"
- # + for HP-9000 Series with HP-UX 7.0, TCP/IP, long filenames, "make hpux70lfn"
- # + for HP-9000 300/400 Series (680x0) with HP-UX 8.0, TCP/IP, "make hpux80"
- # or "make hpux80c"
- # + for HP-9000 700/800 Series (PA-RISC), HP-UX 8.0, TCP/IP, "make hpux80pa"
- # or "make hpux80pac"
- # + for HP-9000 Series with HP-UX 8.0, no TCP/IP, long filenames,
- # "make hpux80notcp" or "make hpuxde"
- # + for HP-9000 Series, HP-UX 9.0 - 9.10, TCP/IP, curses, restricted compiler
- # (no optimization, no ANSI), all models, "make hpux90". Read the hpux90
- # entry below for more info.
- # + for HP-9000 700 and 800 Series, HP-UX 9.x, TCP/IP, curses,
- # HP optimizing ANSI C compiler, "make hpux90o700".
- # + for HP-9000 with Motorola CPUs, HP-UX 9.x, TCP/IP, curses,
- # HP optimizing ANSI C compiler, "make hpux90mot".
- # + for HP-9000 on other CPUs, HP-UX 9.x, TCP/IP, curses,
- # HP optimizing ANSI C compiler, "make hpux90o".
- # + for HP-9000 series, HP-UX 9.x, TCP/IP, curses, gcc, all models,
- # "make hpux90gcc"
- # + for HP-9000 700/800 Series, HP-UX 10.00,10.01,10.10,10.20,10.30, TCP/IP,
- # curses, restricted compiler (no optimization, no ANSI) "make hpux100".
- # + for HP-9000 700/800 Series, HP-UX 10.00,10.01,10.10,10.20,10.30, TCP/IP,
- # curses, HP ANSI/optimizing compiler "make hpux100o" or "make hpux100o+"
- # + for Trusted HP-UX 10.xx "make hpux100t", "make hpux100to", make hpux100to+"
- # + for HP-9000 700/800 Series, HP-UX 11.00,TCP/IP,curses, restricted compiler
- # (no optimization, no ANSI) "make hpux110".
- # + for HP-9000 700/800 Series, HP-UX 11.00,TCP/IP,curses, restricted compiler
- # HP ANSI/optimizing compiler "make hpux110o" or "make hpux110o+"
- # + for Trusted HP-UX 11.xx "make hpux110t", "make hpux110to", make hpux110to+"
- # + for HP-9000 PA-RISC models with NeXTSTEP 3.3, "make nextquadfat".
- # + for HP-9000 PA-RISC models with OPENSTEP/Mach 4.1, "make nextquadfat".
- # ? for IBM 370 Series with IX/370, "make ix370"
- # ? for IBM 370 Series with AIX/370 1.2, "make aix370"
- # ? for IBM 370 Series with AIX/370 3.0, "make aix370"
- # ? for IBM 370 Series with AIX/ESA 2.1, "make aixesa"
- # - for IBM PC/AT 286 & compatibles with Mark Williams Coherent OS,
- # command-line-only version, "make coherent" (version 5A & later too big)
- # ? for IBM PC 386 & compatibles with Mark Williams Coherent OS,
- # minimum interactive version, "make coherentmi"
- # ? for IBM PC 386 & compatibles with Mark Williams Coherent OS,
- # full interactive version, prior to v4.2, "make coherentmax"
- # + for IBM PC 386 & compatibles with Mark Williams Coherent OS 4.2,
- # "make coherent42"
- # ? for IBM PC 386 & compatibles with LynxOS 2.0 or 2.1, "make lynx21"
- # ? for IBM PC 386 & compatibles with LynxOS 2.2, "make lynx"
- # - for IBM PC/AT & compatibles with original MINIX, "make minix" (too big)
- # ? for IBM PC family, 386-based, with MINIX/386 1.5, "make minix386"
- # or if you have GNU CC, "make minix386gcc"
- # + for IBM PC family, 386-based, with MINIX 2.0, "make minix20"
- # + for IBM PS/2 with PS/2 AIX 1.0, 1.1, or 1.2, "make ps2aix" or ps2aixnetc.
- # ? for IBM PS/2 with PS/2 AIX 1.3, "make ps2aix3"
- # ? for IBM RISC System/6000 with AIX 3.0, "make aix30"
- # ? for IBM RISC System/6000 with AIX 3.1.x, "make aix31"
- # + for IBM RISC System/6000 with AIX 3.2.0 thru 3.2.5, "make aix32"
- # + for IBM RS/6000 or Power Series with AIX 4.1 or AIX 4.1.1, "make aix41"
- # + for IBM RS/6000 or Power Series with AIX 4.1 with X.25, "make aix41x25"
- # + for IBM RS/6000 or Power Series with AIX 4.2, "make aix42"
- # + for IBM RS/6000 or Power Series with AIX 4.3, "make aix43"
- # ? for IBM RT PC with AIX 2.1, "make sys3"
- # ? for IBM RT PC with AIX 2.2.1, "make rtaix" or "make rtaixc"
- # ? for IBM RT PC with ACIS 4.2, "make bsd"
- # ? for IBM RT PC with ACIS 4.3, "make rtacis" or "make bsd KFLAGS=-DNOANSI"
- # ? for IBM RT PC with 4.3BSD/Reno, "make bsd44" or "make bsd44c"
- # ? for ICL DRS400 or 400E, "make iclsys5r3"
- # ? for ICL DRS3000 (80486) with DRS/NX, "make iclsys5r4_486"
- # ? for ICL DRS6000 (SPARC) with DRS/NX, "make iclsys5r4"
- # + for ICL DRS6000 (SPARC) with DRS/NX 4.2MP 7MPlus, "make iclsys5r4m+"
- # ? Ditto but with IKSD support included, "make iclsys5r4m+iksd"
- # ? for Integrated Solutions Inc V8S VME 68020, "make isi"
- # ? for Intel 302 with Bell Tech Sys V/386 R3.2, "make sys5r3"
- # ? for Intel Xenix/286, "make sco286"
- # ? for Interactive System III (PC/IX), "make pcix" or "make is3"
- # ? for Interactive System III (PC/IX) with gcc, "make is3gcc"
- # ? for Interactive 386/ix 1.0.6 with TCP/IP networking, "make is5r3net2"
- # ? for Interactive 386/ix 2.0.x, "make is5r3" or (POSIX) "make is5r3p"
- # ? for Interactive 386/ix 2.0.x with TCP/IP networking, "make is5r3net"
- # or "make is5r3net2"
- # ? for Interactive 386/ix 2.2.1, job control, curses, no net, gcc,
- # "make is5r3gcc"
- # + for Interactive UNIX Sys V R3.2 V2.2 - 4.0 without TCP/IP, "make is5r3jc"
- # ? for Interactive UNIX Sys V R3.2 V2.2 - 4.0 with TCP/IP, "make is5r3netjc"
- # + for Intergraph Clipper, "make clix" or "make clixnet"
- # ? for Jolix (see 386BSD)
- # + for Linux on PowerMac (Mklinux DR3), "make mklinux".
- # + for Linux 1.2 and later, "make linux". Uses ncurses. This version
- # handles serial speeds up to 460800 bps, Linux FSSTD 1.2, TCP/IP, and
- # should work on both libc and glibc systems. For static linking, use
- # "make linux LNKFLAGS=-static". Please read the comments that accompany
- # the linux entry.
- # + for Linux builds that fail with "sys/select.h: No such file or directory",
- # "make linuxns"
- # + for Linux 1.2 and later but with curses.h and libcurses (rather than
- # ncurses.h and libncurses), use "make linuxc".
- # + for Linux 1.2 and later with no curses support at all, "make linuxnc".
- # + for Linux 1.2 and later, to build with egcs, "make linuxegcs".
- # + for Linux with no TCP/IP, "make linuxnotcp"
- # + for Linux with lcc compiler, no TCP/IP, "make linuxnotcp-lcc"
- # ? for Linux 1.0 or earlier, "make linux10", or (to remove TCP/IP)
- # "make linuxnotcp". For static linking, use "make linuxs".
- # IMPORTANT: Read the comments that accompany the "linux:" entry.
- # ? for Luxor ABC-9000 (DIAB DS-90) with pre-5.2 DNIX, add "getcwd" to libc.a
- # (see ckuins.txt), then "make dnixold".
- # ? for Mach 2.6 on (anything, e.g. DECstation), "make bsd42" or "make bsd43".
- # ? for MachTen (Tenon) 2.1.1.D on (e.g.) Apple Powerbook, "make machten".
- # ? for Masscomp RTU AT&T System III, "make rtu"
- # for other Masscomp, see Concurrent.
- # ? for Microport SV/AT (System V R2), "make mpsysv" (last edit tested: 144)
- # ? for Microport SVR4 2.2, 3.1, or 4.1 "make sys5r4sx"
- # ? for Microsoft,IBM Xenix (/286, PC/AT, etc), "make xenix" or "make sco286"
- # ? for MIPS System with RISC/os (UMIPS) 4.52 = AT&T SVR3, "make mips"
- # or "make mipstcpc"
- # + for MkLinux on Power Macintosh, "make mklinux"
- # ? for Modcomp 9730, Real/IX, "make sys5r3" (or modify to use gcc = GLS cc)
- # ? for Modcomp Realstar 1000 with REAL/IX D.1, "make sv88r32"
- # ? for Motorola Four Phase, "make sys3" or "make sys3nid"
- # + for Motorola Delta System V/68 R3, "make sv68r3"
- # + for Motorola Delta System V/68 R3V5, "make sv68r3v5"
- # + for Motorola Delta System V/68 R3V5.1, "make sv68r3v51"
- # + for Motorola Delta System V/68 R3V6 with NSE TCP/IP, "make sv68r3v6"
- # + for Motorola Delta System V/88 R32, "make sv88r32"
- # + for Motorola Delta System V/88 R40, "make sv88r40"
- # ? for Mt Xinu Mach386 on 386/486-based PCs, "make bsd43"
- # ? for NCR Tower 1632, OS 1.02, "make tower1"
- # ? for NCR Tower 1632 or Minitower with System V R2, "make sys3"
- # or "make sys3nv"
- # ? for NCR Tower 32, OS Release 1.xx.xx, "make tower32-1"
- # ? for NCR Tower 32, OS Release 2.xx.xx, "make tower32-2"
- # ? for NCR Tower 32, OS Releases based on Sys V R3, "make tower32"
- # ? for NCR Tower 32, OS Releases based on Sys V R3 with gcc "make tower32g"
- # ? for NCR System 3000, AT&T UNIX System V R4 2.0, "make sys5r4sxna"
- # ? for NCR System 3000, AT&T UNIX System V R4 2.0 with Wollongong TCP/IP,
- # "make sys5r4net2" or "make sys5r4net2c".
- # Some header files might be misplaced; try this:
- # ln /usr/include/netinet/in.h /usr/include/sys/in.h
- # ln /usr/include/arpa/inet.h /usr/include/sys/inet.h
- # ln /usr/include/sys/termiox.h /usr/include/termiox.h
- # ? for NCR System 3000, NCR UNIX 02.02.01, same as above.
- # + for NCR MP-RAS System V R4 V2.03 or 3.02, "make mpras" or "make mprastcpc"
- # + for NetBSD 1.0-3.x on PC 386/486, Sparc, ..., "make netbsd"
- # or (ncurses) "make netbsdn"
- # or "make netbsdnoiksd" (no IKSD).
- # + for NeXT with NeXTSTEP 1.0 through 3.2, "make next" (on a NeXT)
- # + for NeXT with NeXTSTEP 3.3, "make next33"
- # ? for NeXT with OPENSTEP/Mach 4.1, "make nextquadfat".
- # + for NeXT with OPENSTEP/Mach 4.2, "make openstep42".
- # ? for NeXTSTEP/486, "make next" (on a PC)
- # ? for NeXTSTEP portable binary (runs on Intel or Motorola), "make nextfat"
- # ? for NeXTSTEP portable binary (Intel, Motorola, HP PA-RISC, or SPARC),
- # "make nextquadfat"
- # ? for Nixdorf Targon/31, "make t31tos40x"
- # ? for Norsk Data Uniline 88/17 with SV/88 R3.2, "make sv88r32"
- # for Novell UnixWare - see UnixWare
- # ? for OSF/1 (vanilla, from OS/F), "make posix"
- # ? for OkiStation 7300 Series, "make sys5r4sxtcp"
- # ? for Olivetti LSX-3020 with X/OS R.2.3, "make xos23" or "make xos23c"
- # + for OpenBSD, "make openbsd"
- # ? for OPENSTEP/Mach 4.1, "make nextquadfat" (NeXT, Intel, PA-RISC, SPARC)
- # + for OPENSTEP/Mach 4.2, "make openstep42" (tested on NeXT)
- # ? for Perkin-Elmer (Concurrent) 3200 series, "make sys5".
- # ? for Perkin-Elmer (Concurrent) 3200 series with <dirent.h>, "make ccop1"
- # ? for Perkin-Elmer/Concurrent 3200 with Xelos R02, "make ccop1"
- # ? for PFU Compact A Series SX/A TISP V10/E50 (Japan), "make sxae50"
- # ? for Plexus, "make sys3"
- # + for Pyramid 9XXX (e.g. 9845) or MIServer T series, OSx 4.4b thru 5.1,
- # "ucb make pyramid" or for HDB UUCP, "ucb make pyramid-hdb" or:
- # + for Pyramid MIServer S or ES Series, DataCenter/OSx, "make pyrdcosx"
- # + for Pyramid MIS-S MIPS R3000, DataCenter OSx System V R4, "make pyrdcosx"
- # + for POSIX on anything, "make posix" (but adjustments might be necessary).
- # + for POSIX on SunOS 4.1 or later, "make sunposix"
- # ? for Prime 8000 MIPS, SVR3, "make mips" or "make mipstcpc"
- # - for QNX 2.x (sorry we don't have a version of C-Kermit for QNX 2.x)
- # ? for QNX 4.0 or 4.1, 16-bit, on 286 PC, Watcom C 8.5, "make qnx16_41"
- # + for QNX 4.21 - 4.22A (286+), and 4.23 (386+), or higher, 16-bit,
- # Watcom C 9.5x or higher, "make qnx16"
- # + for QNX 4.21 and above, 32-bit, 386 or above, Watcom C 10.6, "make qnx32"
- # NOTE: ("make qnx" == "make qnx32")
- # ? for Ridge 32 (ROS3.2), "make ridge32"
- # ? for Samsung MagicStation, "make sys5r4"
- # ? for SCO Xenix 2.2.1 with development system 2.2 on 8086/8 "make sco86"
- # ? for SCO Xenix/286 2.2.1 with development system 2.2 on 80286, "make sco286"
- # NOTE: reportedly this makefile is too long for SCO Xenix/286 make, but it
- # works with "makeL", or if some of the other make entries are edited out.
- # ? for SCO Xenix/386 2.2.2, "make sco386"
- # ? for SCO Xenix/386 2.3.x, "make sco3r2" or "make sco3r2x"
- # ? for SCO Xenix/386 SCO 2.3.3 or 2.3.4 with gcc 1.37 or later,
- # "make sco386gcc" or (to add curses) "make sco386gccc".
- # ? for SCO Xenix/386 or UNIX/386 with Excelan TCP/IP, "make sco3r2net"
- # or (to add curses support) "make sco3r2netc" or "sco386netc"
- # + for SCO XENIX 2.3.4, "make sco234" or "make sco234c" to add curses.
- # + for SCO XENIX 2.3.4 with SCO TCP/IP & curses, "make sco234netc".
- # ? for SCO Xenix 2.3.x with Racal-InterLan TCP/IP, "make sco3r2netri"
- # for other UNIX varieties with Racal Interlan TCP/IP, read sco3r2netri entry
- # ? for SCO Xenix 2.3.x with SCO (Lachman) TCP/IP, "make sco3r2lai"
- # or (to add curses) "make sco3r2laic"
- # for SCO UNIX... ALSO READ COMMENTS in the SCO UNIX entries for more info!
- # ? for SCO UNIX/386 3.2.0 or 3.2.1, "make sco3r2" or "make sco3r2x"
- # ? for SCO UNIX/386 3.2.2, "make sco3r22" or "make sco3r22gcc"
- # or "make sco3r22c"
- # ? for SCO UNIX/386 3.2.2 with SCO TCP/IP, "make sco3r22net"
- # or "make sco3r22netc" (curses)
- # ? for SCO ODT 1.1, "make sco3r22net" or "make sco3r22netc" (curses)
- # + for SCO UNIX/386 3.2 V4.x, no network support, "make sco32v4"
- # + or "make sco32v4ns" (this one uses no select() or sockets library)
- # + for SCO UNIX/386 3.2 V4.x with TCP/IP, "make sco32v4net"
- # (also sco32v4gcc, sco32v4netgcc)
- # + for SCO UNIX/386 3.2 V5.0 - see SCO OpenServer.
- # + for SCO UNIX 3.2v4.x with TCP/IP, <dirent.h> for Extended Acer File
- # System (EAFS), curses, ANSI C compilation, "make sco32v4net"
- # + or (to use select()-based CONNECT module) "make sco32v4netx".
- # + for SCO UNIX 3.2v4.2, "make sco-odt30"
- # + for SCO MPX 3.0 - The SCO UNIX binary runs on the corresponding MPX system.
- #
- # NOTE: Also see below for other entries that are variations on these.
- # Also be sure to read the comments accompanying each SCO entry.
- #
- # + for SCO ODT 2.0, "make sco32v4net"
- # + for SCO ODT 3.0, "make sco-odt30"
- # + for SCO OpenServer 5.0 (OSR5), "make sco32v500"
- # + for SCO OpenServer 5.0 (OSR5) with networking, "make sco32v500net"
- # + for SCO OpenServer 5.0 (OSR5), gcc, "make sco32v500gcc"
- # + for SCO OpenServer 5.0 (OSR5), gcc, with networking, "make sco32v500netgcc"
- # + for SCO OpenServer 5.0 (OSR5), as above, ELF, "make sco32v500netgccelf"
- # + for SCO OpenServer 5.0.4, use "make sco32v504xxx" entries as above.
- # + for SCO OpenServer 5.0.5, use "make sco32v505xxx" entries as above.
- # + for SCO OpenServer 5.0.5 with UDK, use "make sco32v505udk".
- # (for SCO UnixWare - see UnixWare)
- # ? for Sequent with DYNIX/ptx 1.2.1, "make dynixptx12"
- # ? for Sequent with DYNIX/ptx 1.3 or 1.4 with TCP/IP, "make dynixptx13"
- # ? for Sequent with DYNIX/ptx 2.0 or 2.1 with TCP/IP, "make dynixptx20"
- # or "dynixptx20c"
- # + for Sequent with DYNIX/ptx 2.1.6 on i486, "dynixptx216c"
- # ? for Sequent with DYNIX/ptx V4.1.3 with TCP/IP, "make dynixptx41c"
- # + for Sequent with DYNIX/ptx V4.4.2 with TCP/IP, "make dynixptx44"
- # ? for Sequent Balance 8000 or B8 with DYNIX 3.0.xx, "make dynix3"
- # or "make dynix3noacu"
- # ? for Sequent Symmetry S81 with DYNIX 3.0.xx, "make dynix3"
- # ? for Sequent DYNIX 3.1.xx, "make dynix31" or "make dynix31c"
- # + for Siemens/Nixdorf SINIX-L Intel V5.41, "make sinix541i"
- # + for Siemens/Nixdorf SINIX-N MIPS V5.42, "make sinix542"
- # + for Siemens/Nixdorf SINIX-Z Intel V5.42, "make sinix542i"
- # + for Siemens/Nixdorf Reliant UNIX V5.43, "make sni543"
- # + for Siemens/Nixdorf Reliant UNIX V5.44, "make sni544"
- # ? for Silicon Graphics Iris System V IRIX 3.2 or earlier, "make iris"
- # ? for Silicon Graphics Sys V R3 with IRIX 3.3 or later, "make sys5r3"
- # ? for Silicon Graphics Iris Indigo with IRIX 4.0 or 5.0, "make irix40" or
- # (to include Yellow Pages and Curses) "make irix40ypc"
- # ? for Silicon Graphics Iris Indigo or Elan with IRIX 4.0.x with microcode
- # optimization and -O4, "make irix40u" or "irix40uc" (and read notes
- # accompanying these entries).
- # + for Silicon Graphics IRIX 5.1, "make irix51"
- # + for Silicon Graphics IRIX 5.2, "make irix52"
- # + for Silicon Graphics IRIX 5.3, "make irix53"
- # + for Silicon Graphics IRIX 6.0, "make irix60".
- # + for Silicon Graphics IRIX 6.2, "make irix62".
- # + for Silicon Graphics IRIX 6.3, "make irix63".
- # + for Silicon Graphics IRIX 6.4, "make irix64" or "make irix64gcc".
- # + for Silicon Graphics IRIX 6.5, "make irix65".
- # + for SGI IRIX 6.5.5 (new company name) "make irix65"
- # ? for Solaris 2.0-2.3 on SPARC or Intel, SunPro CC, "make solaris2x",
- # ? or to add SunLink X.25 8.0x support, "make solaris2x25".
- # + for Solaris 2.4 build with gcc, "make solaris24g".
- # + for Solaris 2.0-2.3 on SPARC or Intel, GNU CC, "make solaris2xg".
- # + for Solaris 2.4 with X.25, "make solaris24x25".
- # + for Solaris 2.5 on SPARC or Intel, SunPro CC, "make solaris25".
- # + or to add SunLink X.25 8.0x support, "make solaris25x25".
- # + for Solaris 2.5 on SPARC or Intel, GNU CC, "make solaris25g".
- # + for Solaris 2.6 on SPARC or Intel, "make solaris26".
- # + for Solaris 7 (a.k.a. 2.7) on SPARC or Intel, "make solaris7".
- # + for Solbourne 4/500 with OS/MP 4 "make sunos4"
- # + for Solbourne 4/500 with OS/MP 4.1 "make sunos41" or "make sunos41c"
- # ? for SONY NEWS with NEWS-OS 4.0.1C, "make sonynews"
- # ? for SONY NEWS with NEWS-OS 4.1.2C, "make sonynews"
- # ? for Sperry/UNISYS 5000/20, UTS V 5.2 3R1, "make sys5"
- # ? for Sperry/UNISYS 5000/30/35/50/55, UTS V 5.2 2.01, "make unisys5r2"
- # ? for Sperry/UNISYS 5000/80 with System V R3, "make sys5r3"
- # ? for Sperry/UNISYS 5000/95 with System V R3, "make sys5r3"
- # For UNISYS SVR3 it might be necessary to "make sys5r3 KFLAGS=-UDYNAMIC"
- # ? for Stardent 1520, "make sys5r3"
- # ? for Stratus FTX 2.x, try "make ftx" or else "make sys5r4" or "sys5r4sx"
- # + for Stratus FTX 3.x, PA-RISC 1.0 or 2.0, "make ftx" or "make ftxtcp"
- # ? for Sun with Sun UNIX 3.5 and gcc, "make sunos3gcc"
- # ? for Sun with pre-4.0 SunOS versions, "make bsd" (or appropriate variant)
- # ? for Sun with SunOS 4.0, BSD environment, "make sunos4"
- # ? for Sun with SunOS 4.0, BSD, with SunLink X.25, make sunos4x25
- # ? for Sun with SunOS 4.0, AT&T Sys V R3 environment, "make sunos4s5"
- # + for Sun with SunOS 4.1 or 4.1.1, BSD environment, "make sunos41"
- # or "make sunos41c" (curses) or "make sunos41gcc" (compile with gcc)
- # + for Sun with SunOS 4.1.x, BSD, with SunLink X.25 7.00 or earlier,
- # "make sunos41x25" or "make sunos41x25c" (curses)
- # + for Sun with SunOS 4.1, 4.1.1, AT&T Sys V R3 environment, "make sunos41s5"
- # + for Sun with SunOS 4.1, 4.1.1, POSIX environment, "make sunposix"
- # + for Sun with SunOS 4.1.2, "make sunos41" or any of its variations.
- # NOTE: All SunOS 4.x systems -- Shared libraries are used by default.
- # If this causes problems, add -Bstatic to CFLAGS.
- # NOTE2: When building C-Kermit under SunOS for the BSD universe,
- # but /usr/5bin/cc is ahead of /usr/ucb/cc in your PATH, add
- # "CC=/usr/ucb/cc CC2=/usr/ucb/cc" to the make entry.
- # NOTE3: If an executable built on one type of Sun hardware does not work
- # on another type, rebuild the program from source on the target machine.
- # for Sun with Solaris 1.x use SunOS 4.1 entries.
- # for Sun with Solaris 2.0 and higher use Solaris entries.
- # + for Sun SPARC with Linux, "make linux"
- # ? for Sun SPARC with OPENSTEP/Mach 4.1, "make nextquadfat"
- # ? for Sun SPARC with OPENSTEP/Mach 4.2, "make openstep42"
- # - for Tandy 16/6000 with Xenix 3.0, "make trs16" (C-Kermit 7.0 is too big)
- # ? for Tektronix 6130/4132/43xx (e.g.4301) with UTek OS, "make utek"
- # or (for models without hardware flow control), "make uteknohwfc"
- # ? for Tektronix XD88 series with UTekV OS, "make utekvr3"
- # ? for Tri Star Flash Cache with Esix SVR3.2, "make sys5r3"
- # ? for Unistar, "make sys5"
- # ? for Unisys S/4040 68040 CTIX SVR3.2 6.4.1, "make ctix" or "make sys5r3"
- # ? for Unisys U5000 UNIX SVR3 6.x, "make sys5r3" or "make sys5r3c"
- # ? for Unisys U6000 UNIX SVR4 1.x, "make sys5r4nx" or "make sys5r4nxnetc"
- # for Unisys ... (also see Sperry)
- # for Univel - see UnixWare
- # ? for UnixWare 1.x, "make unixware" or "make unixwarenetc".
- # If there are problems with this in C-K 7.0 see notes at unixware entry.
- # + for Unixware 2.0.x "make uw2"
- # + for UnixWare 2.1.x, "make uw21"
- # + for UnixWare 2.x with IKSD (shadow password) support, "make uw2iksd"
- # + for UnixWare 7, "make uw7"
- # + for UnixWare 7 with IKSD support, "make uw7iksd" or "make uw7iksdudk"
- # + for UnixWare 7 with OpenSSL, "make uw7ssl"
- # ? for Valid Scaldstar, "make valid"
- # ? for Whitechapel MG01 Genix 1.3, "make white"
- # ? for Zilog ZEUS 3.21, "make zilog"
- #
- # The result should be a runnable program called "wermit" in the current
- # directory. After satisfactory testing, you can rename wermit to "kermit"
- # and put it where users can find it.
- #
- # To remove intermediate and object files, "make clean".
- # If your C compiler produces files with an extension other than "o",
- # then "make clean EXT=u", "make clean EXT=s", or whatever.
- #
- # To run lint on the source files, "make lintsun", "make lintbsd",
- # "make lints5", as appropriate.
- #
- ##############################################################################
- #
- # NOTES FOR V7 AND 2.X BSD (BASED ON VERSION 4E OF C-KERMIT, 1987):
- #
- # For Unix Version 7, several variables must be defined to the values
- # associated with your system. BOOTNAME=/edition7 is the kernel image on
- # okstate's Perkin-Elmer 3230. Others will probably be /unix. PROCNAME=proc
- # is the name of the structure assigned to each process on okstate's system.
- # This may be "_proc" or some other variation. See <sys/proc.h> for more
- # info on your systems name conventions. NPROCNAME=nproc is the name of a
- # kernel variable that tells how many "proc" structures there are. Again
- # this may be different on your system, but nproc will probably be somewhere.
- # The variable NPTYPE is the type of the nproc variable -- int, short, etc.
- # which can probably be gleaned from <sys/param.h>. The definition of DIRECT
- # is a little more complicated. If nlist() returns, for "proc" only, the
- # address of the array, then you should define DIRECT as it is below. If
- # however, nlist() returns the address of a pointer to the array, then you
- # should give DIRECT a null definition (DIRECT= ). The extern declaration in
- # <sys/proc.h> should clarify this for you. If it is "extern struct proc
- # *proc", then you should NOT define DIRECT. If it is "extern struct proc
- # proc[]", then you should probably define DIRECT as it is below. See
- # ckuv7.hlp for further information.
- #
- # For 2.9 BSD, the makefile may use pcc rather than cc for compiles; that's
- # what the CC and CC2 definitions are for (the current version of the
- # makefile uses cc for both; this was tested in version 4E of C-Kermit and
- # worked OK on the DEC Pro 380, but all bets are off for version 5A). 2.9
- # support basically follows the 4.1 path. Some 2.9 systems use "dir.h" for
- # the directory header file, others will need to change this to "ndir.h".
- #
- # The v7 and 2.9bsd versions assume I&D space on a PDP-11. When building
- # C-Kermit for v7 on a PDP-11, you should probably add the -i option to the
- # link flags. Without I&D space, overlays will be necessary (if available),
- # or code segment mapping (a`la Pro/Venix) if that's available.
- #
- # C-Kermit 5A (and 6.0?) can be built for 2.10 and 2.11BSD, using overlays,
- # but a separate makefile is used because this one is too big.
- #
- ##############################################################################
- #
- # V7-specific variables.
- # These are set up for Perkin-Elmer 3230 V7 Unix:
- #
- PROC=proc
- DIRECT=
- NPROC=nproc
- NPTYPE=int
- BOOTFILE=/edition7
- #
- # ( For old Tandy TRS-80 Model 16A or 6000 V7-based Xenix, use PROC=_proc,
- # DIRECT=-DDIRECT, NPROC=_Nproc, NPTYPE=short, BOOTFILE=/xenix )
- #
- ###########################################################################
- #
- # Compile and Link variables:
- #
- # EXT is the extension (file type) for object files, normally o.
- # See MINIX entry for what to do if another filetype must be used.
- #
- EXT=o
- #LNKFLAGS=
- SHAREDLIB=
- CC= cc
- CC2= cc
- MAKE= make
- SHELL=/bin/sh
- ###########################################################################
- # SAMPLE INSTALLATION SCRIPT
- #
- # Modify to suit your own computer's file organization
- # and permissions. If you don't have write access to the destination
- # directories, "make install" will fail. In most cases, a real installation
- # will also require you to chown / chgrp for the UUCP lockfile and/or tty
- # devices, and perhaps also to chmod +s the appropriate permission fields.
- #
- # Default binary, man, and doc directories are supplied below. You can
- # override them in your 'make' command. Examples:
- #
- # make install # Accept defaults.
- # make "INFODIR=/usr/share/lib/kermit" install # Override INFODIR default.
- #
- # You can also build and install in one step, e.g.:
- #
- # make sunos41gcc install
- #
- WERMIT = makewhat
- DESTDIR =
- BINDIR = /usr/local/bin
- MANDIR = /usr/man/manl
- INFODIR = /usr/local/doc/kermit
- MANEXT = l
- ALL = $(WERMIT)
- all: $(ALL)
- .c.o:
- $(CC) $(CFLAGS) -DKTARGET="$(KTARGET)" -c $<
- #Clean up intermediate and object files
- clean:
- @echo 'Removing object files...'
- -rm -f ckcmai.$(EXT) ckucmd.$(EXT) ckuusr.$(EXT) ckuus2.$(EXT)
- ckuus3.$(EXT) ckuus4.$(EXT) ckuus5.$(EXT) ckcpro.$(EXT) ckcfns.$(EXT)
- ckcfn2.$(EXT) ckcfn3.$(EXT) ckuxla.$(EXT) ckucon.$(EXT) ckutio.$(EXT)
- ckufio.$(EXT) ckudia.$(EXT) ckuscr.$(EXT) ckwart.$(EXT) ckuusx.$(EXT)
- ckuusy.$(EXT) ckcnet.$(EXT) ckuus6.$(EXT) ckuus7.$(EXT) ckusig.$(EXT)
- ckucns.$(EXT) ckcmdb.$(EXT) ckuath.$(EXT) ckctel.$(EXT) ckclib.$(EXT)
- ckcuni.$(EXT) ck_crp.$(EXT) ck_ssl.$(EXT) ckupty.$(EXT) ckcpro.c wart
- # Install C-Kermit after building -- IMPORTANT: Read the instructions above.
- install:
- cp wermit $(DESTDIR)$(BINDIR)/kermit
- chmod 755 $(DESTDIR)$(BINDIR)/kermit
- @echo
- @echo "Kermit binary installed:"
- @ls -l $(DESTDIR)$(BINDIR)/kermit
- @echo
- @echo " WARNING: If C-Kermit is to be used for dialing out, you will"
- @echo " probably need to change its owner and group and permissions to"
- @echo " match the cu program. See the ckuins.txt file for details."
- @echo
- @echo "Installing man page..."
- cp ckuker.nr $(DESTDIR)$(MANDIR)/kermit.$(MANEXT)
- # To make sure 'man' notices the new source file and doesn't keep
- # showing the old formatted version, remove the old formatted version,
- # something like this:
- # rm -f $(DESTDIR)$(MANDIR)/../cat$(MANEXT)/kermit.$(MANEXT)
- # or this (which requires CATDIR to be defined):
- # rm -f $(DESTDIR)$(CATDIR)/kermit.$(MANEXT)
- chmod 644 $(DESTDIR)$(MANDIR)/kermit.$(MANEXT)
- @echo
- @echo "Installing info files..."
- @if test -d $(INFODIR); then
- echo "$(INFODIR) exists..." ;
- else
- echo "Creating $(INFODIR)/..." ;
- mkdir $(INFODIR) ;
- chmod 755 $(INFODIR) ;
- fi
- @echo "Copying text files to $(INFODIR)..."
- @cp COPYING.TXT $(INFODIR)
- @cp ckaaaa.txt $(INFODIR)/READ.ME
- @cp ckuaaa.txt $(INFODIR)
- @cp ckermit2.txt ckcbwr.txt ckubwr.txt ckuins.txt $(INFODIR)
- @cp ckermit.ini ckermod.ini ckurzsz.ini ckermit.k*d $(INFODIR)
- @cp telnet.txt security.txt iksd.txt $(INFODIR)
- @cp cke*.ksc $(INFODIR)
- @cp ckcplm.txt ckccfg.txt $(INFODIR)
- @chmod 644 $(INFODIR)/*
- @ls -l $(INFODIR)/*
- makewhat:
- @echo 'make what? You must tell which platform to make C-Kermit for.'
- @echo Examples: make hpux1100, make aix43, make solaris26, etc.
- @echo Please read the comments at the beginning of the makefile.
- ###########################################################################
- #
- # Dependencies Section:
- manpage: ckuker.nr
- # Normal version
- wermit: ckcmai.$(EXT) ckclib.$(EXT) ckucmd.$(EXT) ckuusr.$(EXT) ckuus2.$(EXT)
- ckuus3.$(EXT) ckuus4.$(EXT) ckuus5.$(EXT) ckuus6.$(EXT)
- ckuus7.$(EXT) ckuusx.$(EXT) ckuusy.$(EXT) ckcpro.$(EXT)
- ckcfns.$(EXT) ckcfn2.$(EXT) ckcfn3.$(EXT) ckuxla.$(EXT)
- ckucon.$(EXT) ckutio.$(EXT) ckufio.$(EXT) ckudia.$(EXT)
- ckuscr.$(EXT) ckcnet.$(EXT) ckctel.$(EXT) ckusig.$(EXT)
- ckcuni.$(EXT) ckupty.$(EXT)
- $(CC2) $(LNKFLAGS) -o wermit
- ckcmai.$(EXT) ckclib.$(EXT) ckutio.$(EXT) ckufio.$(EXT)
- ckcfns.$(EXT) ckcfn2.$(EXT) ckcfn3.$(EXT) ckuxla.$(EXT)
- ckcpro.$(EXT) ckucmd.$(EXT) ckuus2.$(EXT) ckuus3.$(EXT)
- ckuus4.$(EXT) ckuus5.$(EXT) ckuus6.$(EXT) ckuus7.$(EXT)
- ckuusx.$(EXT) ckuusy.$(EXT) ckuusr.$(EXT) ckucon.$(EXT)
- ckudia.$(EXT) ckuscr.$(EXT) ckcnet.$(EXT) ckctel.$(EXT)
- ckusig.$(EXT) ckcuni.$(EXT) ckupty.$(EXT) $(LIBS)
- # Version with CONNECT module that uses select() instead of fork()
- xermit: ckcmai.$(EXT) ckclib.$(EXT) ckucmd.$(EXT) ckuusr.$(EXT) ckuus2.$(EXT)
- ckuus3.$(EXT) ckuus4.$(EXT) ckuus5.$(EXT) ckuus6.$(EXT)
- ckuus7.$(EXT) ckuusx.$(EXT) ckuusy.$(EXT) ckcpro.$(EXT)
- ckcfns.$(EXT) ckcfn2.$(EXT) ckcfn3.$(EXT) ckuxla.$(EXT)
- ckucns.$(EXT) ckutio.$(EXT) ckufio.$(EXT) ckudia.$(EXT)
- ckuscr.$(EXT) ckcnet.$(EXT) ckctel.$(EXT) ckusig.$(EXT)
- ckcuni.$(EXT) ckupty.$(EXT)
- $(CC2) $(LNKFLAGS) -o wermit
- ckcmai.$(EXT) ckclib.$(EXT) ckutio.$(EXT) ckufio.$(EXT)
- ckcfns.$(EXT) ckcfn2.$(EXT) ckcfn3.$(EXT) ckuxla.$(EXT)
- ckcpro.$(EXT) ckucmd.$(EXT) ckuus2.$(EXT) ckuus3.$(EXT)
- ckuus4.$(EXT) ckuus5.$(EXT) ckuus6.$(EXT) ckuus7.$(EXT)
- ckuusx.$(EXT) ckuusy.$(EXT) ckuusr.$(EXT) ckucns.$(EXT)
- ckudia.$(EXT) ckuscr.$(EXT) ckcnet.$(EXT) ckusig.$(EXT)
- ckctel.$(EXT) ckcuni.$(EXT) ckupty.$(EXT) $(LIBS)
- # Malloc Debugging version
- mermit: ckcmdb.$(EXT) ckcmai.$(EXT) ckclib.$(EXT) ckucmd.$(EXT) ckuusr.$(EXT)
- ckuus2.$(EXT) ckuus3.$(EXT) ckuus4.$(EXT) ckuus5.$(EXT)
- ckuus6.$(EXT) ckuus7.$(EXT) ckuusx.$(EXT) ckuusy.$(EXT)
- ckcpro.$(EXT) ckcfns.$(EXT) ckcfn2.$(EXT) ckcfn3.$(EXT)
- ckuxla.$(EXT) ckucon.$(EXT) ckutio.$(EXT) ckufio.$(EXT)
- ckudia.$(EXT) ckuscr.$(EXT) ckcnet.$(EXT) ckctel.$(EXT)
- ckusig.$(EXT) ckcuni.$(EXT)
- $(CC2) $(LNKFLAGS) -o mermit ckcmdb.$(EXT) ckclib.$(EXT) ckcmai.$(EXT)
- ckutio.$(EXT) ckufio.$(EXT) ckcfns.$(EXT) ckcfn2.$(EXT)
- ckcfn3.$(EXT) ckuxla.$(EXT) ckcpro.$(EXT) ckucmd.$(EXT)
- ckuus2.$(EXT) ckuus3.$(EXT) ckuus4.$(EXT) ckuus5.$(EXT)
- ckuus6.$(EXT) ckuus7.$(EXT) ckuusx.$(EXT) ckuusy.$(EXT)
- ckuusr.$(EXT) ckucon.$(EXT) ckudia.$(EXT) ckuscr.$(EXT)
- ckcnet.$(EXT) ckctel.$(EXT) ckusig.$(EXT) ckcuni.$(EXT) $(LIBS)
- # Kerberized Version - Subject to USA export restrictions.
- krbmit: ckcmai.$(EXT) ckclib.$(EXT) ckucmd.$(EXT) ckuusr.$(EXT) ckuus2.$(EXT)
- ckuus3.$(EXT) ckuus4.$(EXT) ckuus5.$(EXT) ckuus6.$(EXT)
- ckuus7.$(EXT) ckuusx.$(EXT) ckuusy.$(EXT) ckcpro.$(EXT)
- ckcfns.$(EXT) ckcfn2.$(EXT) ckcfn3.$(EXT) ckuxla.$(EXT)
- ckucns.$(EXT) ckutio.$(EXT) ckufio.$(EXT) ckudia.$(EXT)
- ckuscr.$(EXT) ckcnet.$(EXT) ckctel.$(EXT) ckusig.$(EXT)
- ckuath.$(EXT) ck_crp.$(EXT) ckcuni.$(EXT) ckupty.$(EXT)
- ck_ssl.$(EXT)
- $(CC2) $(LNKFLAGS) -o krbmit ckcmai.$(EXT) ckclib.$(EXT)
- ckutio.$(EXT) ckufio.$(EXT) ckcfns.$(EXT) ckcfn2.$(EXT)
- ckcfn3.$(EXT) ckuxla.$(EXT) ckcpro.$(EXT) ckucmd.$(EXT)
- ckuus2.$(EXT) ckuus3.$(EXT) ckuus4.$(EXT) ckuus5.$(EXT)
- ckuus6.$(EXT) ckuus7.$(EXT) ckuusx.$(EXT) ckuusy.$(EXT)
- ckuusr.$(EXT) ckucns.$(EXT) ckudia.$(EXT) ckuscr.$(EXT)
- ckcnet.$(EXT) ckctel.$(EXT) ckusig.$(EXT) ckuath.$(EXT)
- ck_crp.$(EXT) ckcuni.$(EXT) ckupty.$(EXT) ck_ssl.$(EXT) $(LIBS)
- krbmit-debug: ckcmai.$(EXT) ckclib.$(EXT) ckucmd.$(EXT) ckuusr.$(EXT)
- ckuus2.$(EXT) ckuus3.$(EXT) ckuus4.$(EXT) ckuus5.$(EXT)
- ckuus6.$(EXT) ckuus7.$(EXT) ckuusx.$(EXT) ckuusy.$(EXT)
- ckcpro.$(EXT) ckcfns.$(EXT) ckcfn2.$(EXT) ckcfn3.$(EXT)
- ckuxla.$(EXT) ckucns.$(EXT) ckutio.$(EXT) ckufio.$(EXT)
- ckudia.$(EXT) ckuscr.$(EXT) ckcnet.$(EXT) ckctel.$(EXT)
- ckusig.$(EXT) ckuath.$(EXT) ck_crp.$(EXT) ckcuni.$(EXT)
- ckupty.$(EXT) ck_ssl.$(EXT) ckcmdb.$(EXT)
- $(CC2) $(LNKFLAGS) -o krbmit ckcmdb.$(EXT) ckcmai.$(EXT)
- ckclib.$(EXT) ckutio.$(EXT) ckufio.$(EXT) ckcfns.$(EXT)
- ckcfn2.$(EXT) ckcfn3.$(EXT) ckuxla.$(EXT) ckcpro.$(EXT)
- ckucmd.$(EXT) ckuus2.$(EXT) ckuus3.$(EXT) ckuus4.$(EXT)
- ckuus5.$(EXT) ckuus6.$(EXT) ckuus7.$(EXT) ckuusx.$(EXT)
- ckuusy.$(EXT) ckuusr.$(EXT) ckucns.$(EXT) ckudia.$(EXT)
- ckuscr.$(EXT) ckcnet.$(EXT) ckctel.$(EXT) ckusig.$(EXT)
- ckuath.$(EXT) ck_crp.$(EXT) ckcuni.$(EXT) ckupty.$(EXT)
- ck_ssl.$(EXT) $(LIBS)
- # SRP(TM) Version - Subject to USA export restrictions.
- srpmit: ckcmai.$(EXT) ckclib.$(EXT) ckucmd.$(EXT) ckuusr.$(EXT) ckuus2.$(EXT)
- ckuus3.$(EXT) ckuus4.$(EXT) ckuus5.$(EXT) ckuus6.$(EXT)
- ckuus7.$(EXT) ckuusx.$(EXT) ckuusy.$(EXT) ckcpro.$(EXT)
- ckcfns.$(EXT) ckcfn2.$(EXT) ckcfn3.$(EXT) ckuxla.$(EXT)
- ckucns.$(EXT) ckutio.$(EXT) ckufio.$(EXT) ckudia.$(EXT)
- ckuscr.$(EXT) ckcnet.$(EXT) ckctel.$(EXT) ckusig.$(EXT)
- ckuath.$(EXT) ck_crp.$(EXT) ckcuni.$(EXT) ckupty.$(EXT)
- ck_ssl.$(EXT)
- $(CC2) $(LNKFLAGS) -o srpmit ckcmai.$(EXT) ckclib.$(EXT)
- ckutio.$(EXT) ckufio.$(EXT) ckcfns.$(EXT) ckcfn2.$(EXT)
- ckcfn3.$(EXT) ckuxla.$(EXT) ckcpro.$(EXT) ckucmd.$(EXT)
- ckuus2.$(EXT) ckuus3.$(EXT) ckuus4.$(EXT) ckuus5.$(EXT)
- ckuus6.$(EXT) ckuus7.$(EXT) ckuusx.$(EXT) ckuusy.$(EXT)
- ckuusr.$(EXT) ckucns.$(EXT) ckudia.$(EXT) ckuscr.$(EXT)
- ckcnet.$(EXT) ckctel.$(EXT) ckusig.$(EXT) ckuath.$(EXT)
- ck_crp.$(EXT) ckcuni.$(EXT) ckupty.$(EXT) ck_ssl.$(EXT) $(LIBS)
- # Kerberized Version - Not subject to USA export restrictions.
- krbmit-export: ckcmai.$(EXT)
- ckclib.$(EXT) ckucmd.$(EXT) ckuusr.$(EXT) ckuus2.$(EXT)
- ckuus3.$(EXT) ckuus4.$(EXT) ckuus5.$(EXT) ckuus6.$(EXT)
- ckuus7.$(EXT) ckuusx.$(EXT) ckuusy.$(EXT) ckcpro.$(EXT)
- ckcfns.$(EXT) ckcfn2.$(EXT) ckcfn3.$(EXT) ckuxla.$(EXT)
- ckucns.$(EXT) ckutio.$(EXT) ckufio.$(EXT) ckudia.$(EXT)
- ckuscr.$(EXT) ckcnet.$(EXT) ckctel.$(EXT) ckusig.$(EXT)
- ckuath.$(EXT) ckcuni.$(EXT) ckupty.$(EXT)
- $(CC2) $(LNKFLAGS) -o krbmit-export ckcmai.$(EXT) ckclib.$(EXT)
- ckutio.$(EXT) ckufio.$(EXT) ckcfns.$(EXT) ckcfn2.$(EXT)
- ckcfn3.$(EXT) ckuxla.$(EXT) ckcpro.$(EXT) ckucmd.$(EXT)
- ckuus2.$(EXT) ckuus3.$(EXT) ckuus4.$(EXT) ckuus5.$(EXT)
- ckuus6.$(EXT) ckuus7.$(EXT) ckuusx.$(EXT) ckuusy.$(EXT)
- ckuusr.$(EXT) ckucns.$(EXT) ckudia.$(EXT) ckuscr.$(EXT)
- ckcnet.$(EXT) ckctel.$(EXT) ckusig.$(EXT) ckuath.$(EXT)
- ckcuni.$(EXT) ckupty.$(EXT) $(LIBS)
- # SRP(TM) Version - Not subject to USA export restrictions.
- srpmit-export: ckcmai.$(EXT)
- ckclib.$(EXT) ckucmd.$(EXT) ckuusr.$(EXT) ckuus2.$(EXT)
- ckuus3.$(EXT) ckuus4.$(EXT) ckuus5.$(EXT) ckuus6.$(EXT)
- ckuus7.$(EXT) ckuusx.$(EXT) ckuusy.$(EXT) ckcpro.$(EXT)
- ckcfns.$(EXT) ckcfn2.$(EXT) ckcfn3.$(EXT) ckuxla.$(EXT)
- ckucns.$(EXT) ckutio.$(EXT) ckufio.$(EXT) ckudia.$(EXT)
- ckuscr.$(EXT) ckcnet.$(EXT) ckctel.$(EXT) ckusig.$(EXT)
- ckuath.$(EXT) ckcuni.$(EXT) ckupty.$(EXT)
- $(CC2) $(LNKFLAGS) -o srpmit-export ckcmai.$(EXT) ckclib.$(EXT)
- ckutio.$(EXT) ckufio.$(EXT) ckcfns.$(EXT) ckcfn2.$(EXT)
- ckcfn3.$(EXT) ckuxla.$(EXT) ckcpro.$(EXT) ckucmd.$(EXT)
- ckuus2.$(EXT) ckuus3.$(EXT) ckuus4.$(EXT) ckuus5.$(EXT)
- ckuus6.$(EXT) ckuus7.$(EXT) ckuusx.$(EXT) ckuusy.$(EXT)
- ckuusr.$(EXT) ckucns.$(EXT) ckudia.$(EXT) ckuscr.$(EXT)
- ckcnet.$(EXT) ckctel.$(EXT) ckusig.$(EXT) ckuath.$(EXT)
- ckcuni.$(EXT) ckupty.$(EXT) $(LIBS)
- ###########################################################################
- # man page...
- #
- # WARNING: Using "cc -E" to preprocess the man page is not portable, but it
- # works OK in SunOS 4.1.x, HP-UX, etc. We use the preprocessor to produce
- # custom man pages based on ifdef, else, and endif directives. But the
- # preprocessor replaces omitted lines by blank lines and comment lines, so we
- # use grep to filter them out. THIS MEANS THAT THE SOURCE FILE, ckuker.cpp,
- # MUST NOT CONTAIN ANY BLANK LINES!
- # Note: on some systems you might need to add -x to the first grep invocation.
- #
- ckuker.nr: ckuker.cpp
- $(CC) $(CFLAGS) -E ckuker.cpp |grep -v "^$$" |grep -v "^#" > ckuker.nr
- ###########################################################################
- # Dependencies for each module...
- #
- ckcmai.$(EXT): ckcmai.c ckcker.h ckcdeb.h ckcsym.h ckcasc.h ckcnet.h ckcsig.h
- ckuusr.h ckctel.h ckclib.h
- ckclib.$(EXT): ckclib.c ckclib.h ckcdeb.h ckcasc.h ckcsym.h
- ckcpro.$(EXT): ckcpro.c ckcker.h ckcdeb.h ckcsym.h ckcasc.h ckclib.h
- ckcpro.c: ckcpro.w wart ckcdeb.h ckcsym.h ckcasc.h ckcker.h ckcnet.h ckctel.h
- ckclib.h
- ./wart ckcpro.w ckcpro.c
- ckcfns.$(EXT): ckcfns.c ckcker.h ckcdeb.h ckcsym.h ckcasc.h ckcxla.h ckcuni.h
- ckuxla.h ckclib.h ckcnet.h
- ckcfn2.$(EXT): ckcfn2.c ckcker.h ckcdeb.h ckcsym.h ckcasc.h ckcxla.h
- ckuxla.h ckctel.h ckclib.h ckcnet.h ckcuni.h
- ckcfn3.$(EXT): ckcfn3.c ckcker.h ckcdeb.h ckcsym.h ckcasc.h ckcxla.h
- ckuxla.h ckclib.h ckcuni.h
- ckuxla.$(EXT): ckuxla.c ckcker.h ckcsym.h ckcdeb.h ckcxla.h ckuxla.h ckclib.h
- ckcuni.h
- ckcuni.$(EXT): ckcuni.c ckcdeb.h ckcker.h ckucmd.h ckcuni.h ckcxla.h
- ckuxla.h ckcuni.h
- ckuusr.$(EXT): ckuusr.c ckucmd.h ckcker.h ckuusr.h ckcsym.h ckcdeb.h ckcxla.h
- ckuxla.h ckcasc.h ckcnet.h ckctel.h ckclib.h ckcuni.h
- ckuus2.$(EXT): ckuus2.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h ckcxla.h ckuxla.h
- ckcasc.h ckcnet.h ckcsym.h ckctel.h ckclib.h ckcuni.h
- ckuus3.$(EXT): ckuus3.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h ckcxla.h ckuxla.h
- ckcasc.h ckcnet.h ckcsym.h ckctel.h ckctel.h ckclib.h ckcuni.h
- ckuus4.$(EXT): ckuus4.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h ckcxla.h ckuxla.h
- ckcasc.h ckcnet.h ckuver.h ckcsym.h ckctel.h ckclib.h ckcuni.h
- ckuus5.$(EXT): ckuus5.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h ckcasc.h ckcnet.h
- ckcsym.h ckctel.h ckclib.h ckcxla.h ckuxla.h ckcuni.h
- ckuus6.$(EXT): ckuus6.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h ckcasc.h ckcnet.h
- ckcsym.h ckctel.h ckclib.h
- ckuus7.$(EXT): ckuus7.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h ckcxla.h ckuxla.h
- ckcasc.h ckcnet.h ckcsym.h ckctel.h ckclib.h ckcuni.h
- ckuusx.$(EXT): ckuusx.c ckcker.h ckuusr.h ckcdeb.h ckcasc.h ckcsym.h
- ckcsig.h ckcnet.h ckctel.h ckclib.h ckcxla.h ckuxla.h ckcuni.h
- ckuusy.$(EXT): ckuusy.c ckcker.h ckcdeb.h ckcasc.h ckcnet.h ckcsym.h ckctel.h
- ckclib.h
- ckucmd.$(EXT): ckucmd.c ckcasc.h ckucmd.h ckcdeb.h ckcsym.h ckctel.h ckclib.h
- ckufio.$(EXT): ckufio.c ckcdeb.h ckuver.h ckcsym.h ckclib.h
- ckcxla.h ckuxla.h ckcuni.h
- ckutio.$(EXT): ckutio.c ckcdeb.h ckcnet.h ckuver.h ckcsym.h ckctel.h ckclib.h
- ckucon.$(EXT): ckucon.c ckcker.h ckcdeb.h ckcasc.h ckcnet.h ckcsym.h ckctel.h
- ckclib.h
- ckucns.$(EXT): ckucns.c ckcker.h ckcdeb.h ckcasc.h ckcnet.h ckcsym.h ckctel.h
- ckclib.h ckcxla.h ckuxla.h ckcuni.h
- ckcnet.$(EXT): ckcnet.c ckcdeb.h ckcker.h ckcnet.h ckcsym.h ckcsig.h ckctel.h
- ckclib.h
- ckctel.$(EXT): ckcsym.h ckcdeb.h ckcker.h ckcnet.h ckctel.h ckclib.h
- wart: ckwart.$(EXT)
- $(CC) $(LNKFLAGS) -o wart ckwart.$(EXT) $(LIBS)
- ckcmdb.$(EXT): ckcmdb.c ckcdeb.h ckcsym.h ckclib.h
- ckwart.$(EXT): ckwart.c
- ckudia.$(EXT): ckudia.c ckcker.h ckcdeb.h ckucmd.h ckcasc.h ckcsym.h ckcsig.h
- ckcnet.h ckctel.h ckclib.h
- ckuscr.$(EXT): ckuscr.c ckcker.h ckcdeb.h ckcasc.h ckcsym.h ckcsig.h
- ckcnet.h ckctel.h ckclib.h
- ckusig.$(EXT): ckusig.c ckcasc.h ckcdeb.h ckcker.h ckcnet.h ckuusr.h
- ckcsig.h ckctel.h ckclib.h
- ckupty.$(EXT): ckupty.c ckupty.h ckcdeb.h
- ckuath.$(EXT): ckuath.c ckcdeb.h ckucmd.h ckuath.h ckuat2.h ckctel.h
- ckclib.h ckcnet.h
- ck_crp.$(EXT): ck_crp.c ckcdeb.h ckcnet.h ckuath.h ckclib.h
- ck_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 gcc
- auxgcc:
- @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 gcc
- aux3gcc:
- @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 curses
- aux3cgcc:
- @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.1
- bsd41:
- @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 UUCP
- bsdhdb:
- @echo Making C-Kermit $(CKVER) for 4.2BSD with HDB UUCP...
- $(MAKE) bsd KTARGET=$${KTARGET-$(@)}
- "KFLAGS= -DHDBUUCP $(KFLAGS)"
- #Berkeley Unix 4.3 with acucntrl program
- bsd43:
- @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 program
- bsdlck:
- @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 ncurses
- freebsd2:
- @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 ncurses
- freebsd2c:
- @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=int $(KFLAGS) -O"
- "LIBS= -lcurses -lcrypt $(LIBS)"
- #NetBSD with ncurses rather than curses
- netbsdn:
- @echo Making C-Kermit $(CKVER) for NetBSD with ncurses...
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DBSD44 -DCK_CURSES -DTCPSOCKET -DNOCOTFMC
- -DCK_DTRCD -DCK_DTRCTS
- -DUSE_STRERROR -DTPUTSISVOID -DTPUTSARGTYPE=int $(KFLAGS) -O"
- "LIBS= -L/usr/pkg/lib -lncurses -lcrypt"
- #NetBSD with no IKSD
- netbsdnoiksd:
- @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
- -DNOIKSD -DTPUTSARGTYPE=int $(KFLAGS) -O"
- "LIBS= -lcurses $(LIBS)"
- #OpenBSD - Uses ncurses as its curses so use -ltermlib, not -ltermcap
- #Add -DMAINTYPE=int if you get complaints about main: return type is not int.
- openbsd:
- @echo Making C-Kermit $(CKVER) for OpenBSD...
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DBSD44 -DCK_CURSES -DCK_NEWTERM -DTCPSOCKET -DOPENBSD
- -DNDSYSERRLIST $(KFLAGS) -O" "LIBS= -lcurses -ltermlib"
- # 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)
- #NOTE: Lock directory is /var/spool/lock. Formerly, it was /var/spool/uucp,
- #but reportedly <wjones@halcyon.com> that was due to a typo in 'man tip'.
- 386bsd:
- @echo 'Making C-Kermit $(CKVER) for jolix 386BSD 0.0new and 0.1.24...'
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DPOSIX -DSETREUID -DPIDSTRING -DUSLEEP
- -D_386BSD -DCK_CURSES -DTCPSOCKET
- -DLOCK_DIR=\"/var/spool/lock\"
- $(KFLAGS) -O" "LNKFLAGS = -s" "LIBS = -lcurses -ltermcap"
- #Mac OS X 1.0 (Rhapsody) -- TCP/IP but no curses.
- macosx10:
- @echo Making C-Kermit $(CKVER) for `uname -s`...
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DMACOSX10 -DTCPSOCKET -O $(KFLAGS)"
- #Mac OS X 1.0 (Rhapsody) -- TCP/IP and curses.
- #Note: curses must be obtained separately. See next entry for ncurses.
- #Add "LIBS = -lcurses -ltermcap" if necessary (but reportedly it is not).
- macosx10c:
- @echo Making C-Kermit $(CKVER) for `uname -s` + curses...
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DMACOSX10 -DCK_CURSES -DTPUTSFNTYPE=void -DTPUTSISVOID
- -DTCPSOCKET -O $(KFLAGS)"
- #Mac OS X 1.0 (Rhapsody) -- TCP/IP and ncurses.
- #Note: ncurses must be obtained separately.
- #In the event of trouble with this one try the next one.
- macosx10nc:
- @echo Making C-Kermit $(CKVER) for `uname -s` + ncurses...
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DMACOSX10 -DCK_NCURSES -DTCPSOCKET -O $(KFLAGS) "
- "LIBS= -lncurses $(LIBS)"
- #The problem here is that if curses.h also exists, it conflicts with
- #ncurses.h and and we have fatal errors. If this happens to you, then
- #try this entry.
- macosx10ncx:
- @echo Making C-Kermit $(CKVER) for `uname -s` + ncurses...
- @rm -f ./curses.h; touch ./curses.h
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DMACOSX10 -DCK_NCURSES -DTCPSOCKET -I. -O $(KFLAGS) "
- "LIBS= -lncurses $(LIBS)"
- @rm -f ./curses.h
- #Acorn RISCiX, based on ...
- #Berkeley Unix 4.2 or 4.3 with lock directory /usr/spool/uucp/LCK/LCK..ttyxx,
- #but without acucntrl program
- riscix:
- @echo Making C-Kermit $(CKVER) for RISCiX, /usr/spool/uucp/LCK..ttyxx
- $(MAKE) wermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DBSD42 -DBSD4 -DRISCIX -DNOCSETS
- -DLOCK_DIR=\"/usr/spool/uucp\" -DDIRENT -DCK_CURSES
- -DMAXSP=9024 -DMAXRD=9024 -DSBSIZ=9050 -DRBSIZ=9050
- -DFTTY=\"/dev/serial\" -DNOCSETS -DNOCYRIL
- -DNOANSI -w -O2 -fomit-frame-pointer"
- "LIBS= -lcurses -ltermcap "
- "CC= /usr/ucb/cc"
- "CC2= /usr/ucb/cc"
- #Acorn RISCiX, as above, but using gcc
- riscix-gcc:
- @echo Making C-Kermit $(CKVER) for RISCiX, /usr/spool/uucp/LCK..ttyxx
- $(MAKE) wermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DBSD42 -DBSD4 -DRISCIX -DNOCSETS
- -DLOCK_DIR=\"/usr/spool/uucp\" -DDIRENT -DCK_CURSES
- -DMAXSP=9024 -DMAXRD=9024 -DSBSIZ=9050 -DRBSIZ=9050
- -DFTTY=\"/dev/serial\" -DNOCSETS -DNOCYRIL
- -DNOANSI -w -O2 -fomit-frame-pointer"
- "LIBS= -lcurses -ltermcap "
- "CC= gcc -mbsd"
- "CC2= gcc -mbsd"
- #Convergent CTIX 6.4.1
- ctix:
- @echo 'Making C-Kermit $(CKVER) for Convergent CTIX 6.4.1'
- $(MAKE) wermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DSVR3 -DDIRENT -DTCPSOCKET -DHDBUUCP -DCK_CURSES
- -DNONAWS $(KFLAGS) -XO" "LNKFLAGS=-s" "LIBS=-lsocket -lcurses -lc_s"
- mcs -d wermit
- # The following makefile entry should work for any Harris Night Hawk system
- # (either 88k or 68k based) running release 6.1 or later of the CX/UX
- # operating system. This is a POSIX and ANSI-C compliant system which also
- # supports BSD networking. (Earlier CX/UX releases will probably work with
- # sys5r3, but this has not been verified).
- #
- cx_ux:
- @echo Making C-Kermit $(CKVER) for Harris Night Hawk CX/UX 6.1 or later
- $(MAKE) wermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS=-DPOSIX -DTCPSOCKET -DHDBUUCP -DPID_T=pid_t -DWAIT_T=int
- -Dd_ino=d_fileno -DUID_T=uid_t -DGID_T=gid_t $(KFLAGS) -Xa
- -O3 -g" "LNKFLAGS=-O3"
- #Intergraph Clipper, CLIX, job control, HDB UUCP.
- clix:
- @echo 'Making C-Kermit $(CKVER) for Intergraph CLIX...'
- $(MAKE) wermit "CC=acc" "CC2=acc" KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -w -DSVR3 -DCLIX -DDIRENT -DHDBUUCP -DNOSYSLOG -DUSE_MEMCPY
- -DNOGETUSERSHELL -DNOREALPATH $(KFLAGS) -O"
- "LNKFLAGS=" "LIBS= -lbsd"
- #As above + TCP/IP...
- clixnet:
- @echo 'Making networked C-Kermit $(CKVER) for Intergraph CLIX...'
- $(MAKE) wermit "CC=acc" "CC2=acc" KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -w -DSVR3 -DCLIX -DDIRENT -DHDBUUCP -DNOSYSLOG -DUSE_MEMCPY
- -DTCPSOCKET -DNOGETUSERSHELL -DNOREALPATH $(KFLAGS) -O"
- "LNKFLAGS=" "LIBS= -lbsd"
- #Mark Williams Coherent 286 or 386 on IBM PC family.
- #There is a 64K limit on program size, so this is a command-line only version.
- coherent:
- $(MAKE) "CFLAGS = -O -DCOHERENT -DNOANSI -DNOICP -DNOSETKEY
- -DNOCSETS -DNOHELP -DNODIAL -DNOSCRIPT -DNODEBUG -DNOTLOG -DNOXMIT
- -DNOMSEND -DNOFRILLS -DNOSYSIOCTLH -DSELECT_H $(KFLAGS) -VSUVAR"
- KTARGET=$${KTARGET:-$(@)} wermit
- #Mark Williams Coherent 386 on IBM PC family.
- #This will make a "minimum interactive" version - no scripts,
- #no character sets, no help, no dial, no debug/transaction logging, no
- #transmit, msend, mail, type, etc.
- coherentmi:
- $(MAKE) "CFLAGS = -O -DCOHERENT -DNOANSI -DNOSETKEY
- -DNOSHOW -DNOCSETS -DNOHELP -DNODIAL -DNOSCRIPT -DNODEBUG -DNOTLOG
- -DNOXMIT -DNOMSEND -DNOFRILLS -DNOSYSIOCTLH -DNOSERVER -DNOUUCP
- -DNOSPL -DNOPUSH -DNOMDMHUP -DNOJC -DNOFDZERO -DNOESCSEQ
- -DNOCMDL $(KFLAGS) -VSUVAR -DSELECT_H" KTARGET=$${KTARGET:-$(@)}
- wermit
- #Mark Williams Coherent 386 on IBM PC/AT family.
- coherentmax:
- $(MAKE) "CFLAGS = -O -DCOHERENT -DNOANSI -DSELECT_H
- -DNOSYSIOCTLH $(KFLAGS) -VSUVAR" "LNKFLAGS = -O -s"
- KTARGET=$${KTARGET:-$(@)} wermit
- #Mark Williams Coherent 386 4.2. Includes curses but not TCP/IP.
- #Requires updates to the 4.2.10 compiler; the regular compiler fails to
- #to handle "complex expressions".
- coherent42:
- $(MAKE) "CFLAGS = -T500000 -DCOHERENT -DNOANSI -DSELECT -DDCLGETCWD
- -DNOSYSLOG -DDIRENT -DCK_CURSES -DCK_NEWTERM -DCK_WREFRESH -VSUVAR
- -DNOSYSIOCTLH -DNOINITGROUPS -DNOSYMLINK -DSELECT_H -O $(KFLAGS)"
- "LNKFLAGS = -O -s" KTARGET=$${KTARGET:-$(@)}
- "LIBS = -lsocket -lcurses" wermit
- #DEC Ultrix 2.x
- # Add -O, -DDYNAMIC, -s, etc, if they work.
- ultrix2x:
- @echo Making C-Kermit $(CKVER) for Ultrix 2.x ...
- $(MAKE) xermit KTARGET=$${KTARGET-$(@)}
- "CFLAGS= -DBSD4 -DTCPSOCKET -DDU2 -DNOGETUSERSHELL $(KFLAGS)"
- du2:
- $(MAKE) "MAKE=$(MAKE)" KTARGET=$${KTARGET-$(@)} ultrix2x
- #DEC Ultrix 3.1 (and probably also 3.0)
- ultrix3x:
- @echo Making C-Kermit $(CKVER) for Ultrix 3.x...
- $(MAKE) xermit KTARGET=$${KTARGET-$(@)}
- "CFLAGS= -DBSD4 -DTCPSOCKET -DDIRENT -DSIG_V -DNOGETUSERSHELL
- $(KFLAGS) -O" "LNKFLAGS = -s"
- du3:
- $(MAKE) "MAKE=$(MAKE)" KTARGET=$${KTARGET-$(@)} ultrix3x
- #DEC Ultrix 4.0 or 4.1 on DECstation, VAXstation, VAX, etc.
- ultrix40:
- @echo Making C-Kermit $(CKVER) for Ultrix 4.0 or 4.1...
- $(MAKE) xermit KTARGET=$${KTARGET-$(@)}
- "CFLAGS= -DBSD4 -DTCPSOCKET -DSIG_V -DDU4 -DNOGETUSERSHELL
- $(KFLAGS) -Olimit 1450" "LNKFLAGS = -s"
- #DEC Ultrix 4.2-4.5 on DECstation, DECsystem, VAXstation, VAX, etc.
- #Like ultrix40, except now C compiler supports -O2 optimization.
- ultrix42:
- @echo Making C-Kermit $(CKVER) for Ultrix 4.2 or later...
- $(MAKE) xermit KTARGET=$${KTARGET-$(@)}
- "CFLAGS= -DBSD4 -DTCPSOCKET -DSIG_V -DNOGETUSERSHELL $(KFLAGS)
- -O2 -Olimit 1750" "LNKFLAGS = -s"
- du42:
- $(MAKE) "MAKE=$(MAKE)" KTARGET=$${KTARGET-$(@)} ultrix42
- #DEC Ultrix 4.2-4.5 on DECstation, DECsystem, VAXstation, VAX, etc.
- #Like du42, but with curses support added, optimization and a couple features
- #removed because in C-Kermit 7.0 we get bizarre relocation errors otherwise.
- ultrix42c:
- @echo Making C-Kermit $(CKVER) for Ultrix 4.2 or later...
- $(MAKE) xermit KTARGET=$${KTARGET-$(@)}
- "CFLAGS= -DBSD4 -DTCPSOCKET -DSIG_V -DNOGETUSERSHELL
- -DCK_CURSES -DNODEBUG -DNOIKSD $(KFLAGS)" "LNKFLAGS = -s"
- "LIBS= -lcurses -ltermcap"
- ultrix43:
- $(MAKE) "MAKE=$(MAKE)" "KFLAGS=-DULTRIX43 $(KFLAGS)"
- KTARGET=$${KTARGET-$(@)} ultrix42c
- ultrix43notcp:
- $(MAKE) "MAKE=$(MAKE)" "KFLAGS=-DULTRIX43 -DNONET $(KFLAGS)"
- KTARGET=$${KTARGET-$(@)} ultrix42c
- ultrix44:
- $(MAKE) "MAKE=$(MAKE)" "KFLAGS=-DULTRIX44 $(KFLAGS)"
- KTARGET=$${KTARGET-$(@)} ultrix42c
- ultrix45:
- $(MAKE) "MAKE=$(MAKE)" "KFLAGS=-DULTRIX45 $(KFLAGS)"
- KTARGET=$${KTARGET-$(@)} ultrix42c
- du42c:
- $(MAKE) "MAKE=$(MAKE)" KTARGET=$${KTARGET-$(@)} ultrix42c
- #DEC Ultrix 4.3A or later on DECsystem and DECstation 5000/50, /150 or /260
- #with MIPS R4x00 processor. The "-mips3" switch generates R4000-specific
- #code, which is faster and more compact, but *won't* run on earlier
- #DECsystems and DECstations.
- ultrix43-mips3:
- @echo Making C-Kermit $(CKVER) for Ultrix 4.3A or later, R4000 cpu...
- $(MAKE) xermit KTARGET=$${KTARGET-$(@)}
- "CFLAGS= -DBSD4 -DTCPSOCKET -DSIG_V -DNOGETUSERSHELL
- $(KFLAGS) -O2 -Olimit 1750 -mips3" "LNKFLAGS = -s -mips3"
- du43-mips3:
- $(MAKE) "MAKE=$(MAKE)" ultrix43-mips3
- #DEC Ultrix 4.3A or later on MIPS R4x000 based systems.
- #Like ultrix43-mips3 but with curses support added
- ultrix43c-mips3:
- @echo Making C-Kermit $(CKVER) for Ultrix 4.3A or later, R4000 cpu...
- $(MAKE) xermit KTARGET=$${KTARGET-$(@)}
- "CFLAGS= -DBSD4 -DTCPSOCKET -DSIG_V -DNOGETUSERSHELL -DCK_CURSES
- $(KFLAGS) -O2 -Olimit 3000 -mips3" "LNKFLAGS = -s -mips3"
- "LIBS= -lcurses -ltermcap"
- du43c-mips3:
- $(MAKE) "MAKE=$(MAKE)" KTARGET=$${KTARGET-$(@)} ultrix43c-mips3
- #DEC Ultrix 4.4 on DECstation 5000/50 or /150 with R4000 MIPS processor,
- #or 5000/260 with R4400. The "-mips3" switch generates R4000-specific code,
- #which is faster and more compact but *won't* run on earlier DECstations.
- ultrix44-mips3:
- @echo Making C-Kermit $(CKVER) for Ultrix 4.4, R4000 cpu ...
- $(MAKE) xermit KTARGET=$${KTARGET-$(@)}
- "CFLAGS= -DBSD4 -DTCPSOCKET -DSIG_V -DNOGETUSERSHELL
- $(KFLAGS) -O2 -Olimit 1450 -mips3" "LNKFLAGS = -s -mips3"
- du44-mips3:
- $(MAKE) "MAKE=$(MAKE)" KTARGET=$${KTARGET-$(@)} ultrix44c-mips3
- #DEC Ultrix 4.2 on DECstation, VAXstation, VAX, etc, System V R4 environment
- ultrix42s5r4:
- @echo 'Making C-Kermit $(CKVER) for AT&T UNIX System V R4 on Ultrix...'
- $(MAKE) xermit KTARGET=$${KTARGET-$(@)}
- "CFLAGS = -O2 -Olimit 1500 -DSVR4 -DDIRENT -DHDBUUCP -DNOGETUSERSHELL
- -DTCPSOCKET $(KFLAGS)" "LNKFLAGS = -s"
- #OSF/1
- osf:
- $(MAKE) xermit CC=$(CC) CC2=$(CC2) KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DBSD4 -DOSF -D_BSD -DTCPSOCKET -DCK_ANSIC -DSIG_V
- -DCK_CURSES -DCK_RTSCTS -DFNFLOAT $(KFLAGS)"
- "LNKFLAGS = -s" "LIBS = -lbsd -lcurses -ltermcap -lm"
- #DEC OSF/1 V1.0-1.3 on DECstation, VAX, Alpha, or PC.
- dec-osf:
- $(MAKE) xermit CC=$(CC) CC2=$(CC2) KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DBSD4 -DOSF -DOSF13 -D_BSD -DTCPSOCKET -DCK_ANSIC -DSIG_V
- -DNOREALPATH -DNOIKSD -DCK_CURSES -DCK_RTSCTS -DFNFLOAT -DNODEBUG
- -DNOUNICODE $(KFLAGS)"
- "LNKFLAGS = -non_shared" "LIBS = -lbsd -lcurses -ltermcap -lm"
- # This one causes "relocation out-of-range" errors in the linker.
- old-dec-osf:
- @echo Making C-Kermit $(CKVER) for DEC OSF/1 V1.x...
- @echo If you are building for DEC OSF/1 2.0, please use dec-osf20.
- @echo Remove or adjust -O2 and/or -Olimit if they cause trouble.
- $(MAKE) osf KTARGET=$${KTARGET:-$(@)}
- "KFLAGS= -O2 -Olimit 2400 $(KFLAGS)"
- #DEC OSF/1 2.0 on Alpha and probably nowhere else.
- #The only difference from OSF/1 is that optimization is omitted.
- #The optimized version gets strange runtime errors, like the PAUSE command
- #not working. Add "-unsigned" to make all chars unsigned.
- dec-osf20:
- @echo Making C-Kermit $(CKVER) for DEC OSF/1 V2.0...
- @echo Optimization omitted because it causes runtime errors.
- @echo See comments in makefile.
- $(MAKE) osf KTARGET=$${KTARGET:-$(@)} "KFLAGS= -DOSF20 $(KFLAGS)"
- dec-osf30:
- @echo Making C-Kermit $(CKVER) for DEC OSF/1 V3.0...
- $(MAKE) osf KTARGET=$${KTARGET:-$(@)}
- "KFLAGS= -DOSF30 -O2 -Olimit 2400 $(KFLAGS)"
- #Digital UNIX 3.2
- # Must compile ckuus[6x].c separately without optimization otherwise
- # the optimizer dumps core - keep CFLAGS here in sync with those from osf.
- du32:
- @echo Making C-Kermit $(CKVER) for Digital UNIX 3.2...
- $(MAKE) ckuus6.$(EXT)
- "CFLAGS= -DBSD4 -DOSF -D_BSD -DTCPSOCKET -DCK_ANSIC -DSIG_V
- -DCK_CURSES -DCK_RTSCTS -DFNFLOAT $(KFLAGS)"
- $(MAKE) ckuusx.$(EXT)
- "CFLAGS= -DBSD4 -DOSF -D_BSD -DTCPSOCKET -DCK_ANSIC -DSIG_V
- -DCK_CURSES -DCK_RTSCTS -DFNFLOAT $(KFLAGS)"
- $(MAKE) osf "KFLAGS= -DOSF32 -DHDBUUCP -O2 -Olimit 3000 $(KFLAGS)"
- dec-osf32:
- $(MAKE) "MAKE=$(MAKE)" du32 KTARGET=$${KTARGET:-$(@)}
- du40:
- @echo Making C-Kermit $(CKVER) for Digital UNIX 4.0...
- $(MAKE) osf KTARGET=$${KTARGET:-$(@)}
- "KFLAGS= -DOSF40 -DHDBUUCP -DFNFLOAT
- -unsigned -std1 -O3 -Olimit 2400 $(KFLAGS)" "LIBS=-lm"
- du40gcc:
- @echo Making C-Kermit $(CKVER) for Digital UNIX 4.0 with gcc ...
- $(MAKE) osf CC=gcc CC2=gcc KTARGET=$${KTARGET:-$(@)}
- "KFLAGS= -DOSF40 -DHDBUUCP $(KFLAGS)"
- #Tru64 Unix 4.0E
- tru64-40e:
- @echo Making C-Kermit $(CKVER) for Tru64 UNIX 4.0E...
- $(MAKE) osf KTARGET=$${KTARGET:-$(@)}
- "KFLAGS= -DOSF40 -DTRU64 -DHDBUUCP -DFNFLOAT -DNOCOTFMC
- -unsigned -std1 -O3 -Olimit 2400 $(KFLAGS)" "LIBS=-lm"
- tru64-40f:
- @echo Making C-Kermit $(CKVER) for Tru64 UNIX 4.0F...
- $(MAKE) osf KTARGET=$${KTARGET:-$(@)}
- "KFLAGS= -DOSF40 -DTRU64 -DHDBUUCP -DFNFLOAT -DNOCOTFMC
- -unsigned -std1 -O3 -Olimit 2400 $(KFLAGS)" "LIBS=-lm"
- tru64-40g:
- @echo Making C-Kermit $(CKVER) for Tru64 UNIX 4.0G...
- $(MAKE) osf KTARGET=$${KTARGET:-$(@)}
- "KFLAGS= -DOSF40 -DOSF40G -DTRU64 -DHDBUUCP -DFNFLOAT -DNOCOTFMC
- -unsigned -std1 -O3 -Olimit 2400 $(KFLAGS)" "LIBS=-lm"
- tru64-50:
- @echo Making C-Kermit $(CKVER) for Tru64 UNIX 5.0...
- $(MAKE) osf KTARGET=$${KTARGET:-$(@)}
- "KFLAGS= -DTRU64 -DOSF50 -DHDBUUCP
- -unsigned -std1 -O3 -Olimit 2400 $(KFLAGS)"
- du50:
- $(MAKE) tru64-50 KTARGET=$${KTARGET:-$(@)}
- du40-ridiculous-checking:
- @echo Making C-Kermit $(CKVER) for Digital UNIX 4.0.
- @echo Checking everything - assumes DECC...
- $(MAKE) osf KTARGET=$${KTARGET:-$(@)}
- "KFLAGS= -DOSF40 -DHDBUUCP -w0 -warnprotos -check -portable
- -unsigned -std1 -O3 -Olimit 1760 $(KFLAGS)"
- #Sequent DYNIX/ptx 1.2.1
- dynixptx12:
- @echo Making C-Kermit $(CKVER) for Sequent DYNIX/ptx 1.2.1...
- $(MAKE) wermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DSVR3 -DDIRENT -DHDBUUCP -DPTX -DNOGETUSERSHELL
- -DPID_T=pid_t -DUID_T=uid_t -DGID_T=gid_t $(KFLAGS) -i -O"
- "LNKFLAGS = -i"
- #Sequent DYNIX/ptx 1.3 or 1.4
- dynixptx13:
- @echo Making C-Kermit $(CKVER) for Sequent DYNIX/ptx 1.3 TCP/IP...
- $(MAKE) xermit "CFLAGS= -O KTARGET=$${KTARGET:-$(@)}
- -DSVR3 -DDIRENT -DHDBUUCP -DPTX -DCK_POLL -DNOGETUSERSHELL
- -DPID_T=pid_t -DUID_T=uid_t -DGID_T=gid_t -DTCPSOCKET $(KFLAGS) -i"
- "LNKFLAGS = -i" "LIBS = -lsocket -linet -lnsl"
- #Sequent DYNIX/ptx 2.0, ANSI C compilation
- #Should work on any hardware platform when DYNIX/ptx runs, including
- #386, 486, Pentium.
- dynixptx20:
- @echo 'Making C-Kermit $(CKVER) for POSIX, Sequent DYNIX/ptx 2.0...'
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DPOSIX -DHDBUUCP -DTCPSOCKET
- -DWAIT_T=int -DPTX -DNOGETUSERSHELL $(KFLAGS) -O"
- "LIBS = -lsocket -linet -lnsl"
- #Sequent DYNIX/ptx 2.0, ANSI C compilation, with curses
- dynixptx20c:
- @echo 'Making C-Kermit $(CKVER) for POSIX, Sequent DYNIX/ptx 2.0...'
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DPOSIX -DHDBUUCP -DTCPSOCKET -DWAIT_T=int -DPTX -DCK_CURSES
- -DCK_NEWTERM -DNOGETUSERSHELL $(KFLAGS) -O"
- "LIBS = -lsocket -linet -lnsl -lcurses -ltermcap"
- #Sequent DYNIX/ptx 2.1.6, 80486, ANSI C compilation, with curses:
- # -Xa -- use ANSI compiler.
- # -Wc,-pw -- suppress portability warnings.
- # -Wc,-i386 -- 80386 cpu.
- # -Wc,-i486 -- 80486 cpu.
- # -Wc,-P5 -- Pentium (default).
- # -Wc,-O3 -- highest optimization.
- # -Wa,-N17061 -- increase symbol table from default of 15013 for ckcuni.c.
- # Early versions of DYNIX/ptx 2.1.x may need -DCK_POLL instead of -DSELECT.
- # Add "$&" after the colon in the "xermit" target for parallel makes.
- dynixptx216c:
- @echo 'Making C-Kermit $(CKVER) for POSIX, Sequent DYNIX/ptx 2.1.6'
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DPOSIX -DHDBUUCP -DDYNAMIC -DTCPSOCKET
- -DSELECT -DCK_REDIR -DCK_NAWS -DCK_WREFRESH -DSW_ACC_ID
- -DTCP_NODELAY -DTRMBUFL=2048 -DBIGBUFOK -DHADDRLIST
- -DPTX -DCK_CURSES -DCK_NEWTERM -DNOGETUSERSHELL -DNOREALPATH
- $(KFLAGS) -Xa -Wc,-pw -Wc,-i486 -Wc,-O3 -Wa,-N17061"
- "LIBS = -lXbsd -lseq -lsocket -linet -lnsl -lmalloc -lm -lcurses"
- "LNKFLAGS = -s"
- #Sequent DYNIX/ptx 2.1.6, gcc 2.7.2.2, with curses:
- dynixptx216cgcc:
- @echo 'Making C-Kermit $(CKVER) for POSIX, Sequent DYNIX/ptx 2.1.6 gcc'
- $(MAKE) xermit "CC = gcc" "CC2 = gcc" KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DPOSIX -DHDBUUCP -DDYNAMIC -DTCPSOCKET
- -DSELECT -DCK_REDIR -DCK_NAWS -DCK_WREFRESH -DSW_ACC_ID
- -DTCP_NODELAY -DTRMBUFL=2048 -DBIGBUFOK -DHADDRLIST
- -DPTX -DCK_CURSES -DCK_NEWTERM -DNOGETUSERSHELL -DNOREALPATH
- $(KFLAGS) -O3 -pipe -funsigned-char"
- "LIBS = -lXbsd -lseq -lsocket -linet -lnsl -lmalloc -lm -lcurses"
- "LNKFLAGS = -s"
- #Sequent DYNIX/ptx 4.0, ANSI C compilation, with curses
- dynixptx41c:
- @echo 'Making C-Kermit $(CKVER) for POSIX, Sequent DYNIX/ptx 4.0...'
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DPOSIX -DHDBUUCP -DTCPSOCKET
- -DWAIT_T=int -DPTX -DPTX4 -DCK_CURSES -DCK_NEWTERM
- -DNOGETUSERSHELL $(KFLAGS) -O"
- "LIBS = -lsocket -lnsl -lcurses -ltermcap"
- #Sequent DYNIX/ptx 4.4, ANSI C compilation, with curses
- dynixptx44:
- @echo 'Making C-Kermit $(CKVER) for POSIX, Sequent DYNIX/ptx 4.4...'
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DPTX -DPTX4 -DPOSIX -DHDBUUCP -DTCPSOCKET -DWAIT_T=int
- -DCK_CURSES -DCK_NEWTERM -DBIGBUFOK -DSELECT -DNOGETUSERSHELL
- $(KFLAGS) -O" "LIBS = -lsocket -lnsl -lcurses -ltermcap"
- #Sequent DYNIX 3.0.x
- dynix3:
- @echo Making C-Kermit $(CKVER) for Sequent DYNIX 3.0.x...
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DBSD43 -DACUCNTRL -DTCPSOCKET -O
- -DPWUID_T=int -DGID_T=int $(KFLAGS)"
- #Sequent DYNIX 3.0.x, no ACUCNTRL
- dynix3noacu:
- @echo Making C-Kermit $(CKVER) for Sequent DYNIX 3.0.x...
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DBSD43 -DLCKDIR -DTCPSOCKET -O
- -DUID_T=int -DGID_T=int $(KFLAGS)"
- #Sequent DYNIX 3.1.x
- dynix31:
- @echo Making C-Kermit $(CKVER) for Sequent DYNIX 3.1.x...
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -O -DDCLPOPEN -DLCKDIR -DBSD4 -DTCPSOCKET $(KFLAGS)"
- #Sequent DYNIX 3.1.2, as above but with curses, to be compiled by gcc 2.3.3.
- dynix31c:
- @echo 'Making C-Kermit $(CKVER) for Sequent DYNIX 3.1.2, curses...'
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -O2 -DDCLPOPEN -DACUCNTRL
- -DBSD43 -DTCPSOCKET -DCK_CURSES -DUID_T=int
- $(KFLAGS)" "LIBS= -lcurses -ltermcap"
- #Convex C1 with Berkeley Unix
- convex:
- @echo Making C-Kermit $(CKVER) for Convex C1 / BSD...
- $(MAKE) wermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DBSD4 $(KFLAGS) -Dmsleep=mnap"
- #Convex C210 with Convex/OS 8
- convex8:
- @echo Making C-Kermit $(CKVER) for Convex C210 with OS 8
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DBSD4 -DTCPSOCKET -DNODEBUG -DDIRENT -DNOFILEH
- $(KFLAGS) -DSIG_V -Dmsleep=mnap"
- #Convex C2 with Convex OS 9.1 (should also work with 8.1 or later)
- #with ANSI C compiler, uses BSD 4.3 uucp lockfile convention.
- convex9:
- @echo Making C-Kermit $(CKVER) for Convex C210 with OS 9.1
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DPOSIX -DCONVEX9 -DNOIEXTEN -DDIRENT -DNOFILEH -DTCPSOCKET
- -D__STDC__ -DLCKDIR -Dmsleep=mnap -O -ext -tm c1 $(KFLAGS)"
- "LNKFLAGS = -ext"
- #Convex C2 with Convex OS 10.1 or later
- #with gcc 2.x C compiler
- convex10gcc:
- @echo Making C-Kermit $(CKVER) for Convex C2 with OS 10.1 using gcc
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DPOSIX -DCONVEX9 -DNOIEXTEN -DDIRENT -DNOFILEH -DTCPSOCKET
- -D__STDC__ -Dmsleep=mnap -O2 $(KFLAGS)" CC=gcc CC2=gcc
- #Cray X-MP or Y-MP UNICOS 6.x or 7.x.
- #NOTE: NPROC tells how many parallel makes to run. If your Cray has multiple
- #processors, you can set NPROC up to the number of CPUs, e.g. NPROC=16.
- cray:
- @echo 'Making C-Kermit $(CKVER) for Cray X/Y-MP UNICOS 6.x or 7.0...
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)} NPROC=1
- "CFLAGS= -DSVR3 -DDIRENT -DHDBUUCP -DTCPSOCKET $(KFLAGS) -O1"
- #Cray X-MP or Y-MP UNICOS 8.0 Alpha.
- cray8:
- @echo 'Making C-Kermit $(CKVER) for Cray X/Y-MP UNICOS 8.0 Alpha...
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)} NPROC=1
- "CFLAGS= -DSVR4 -DDIRENT -DHDBUUCP -DTCPSOCKET $(KFLAGS) -O1"
- #Cray-2 or Cray 3-CSOS
- #NOTE: NPROC tells how many parallel makes to run. If your Cray has multiple
- #processors, you can set NPROC up to the number of CPUs, e.g. NPROC=16.
- craycsos:
- @echo 'Making C-Kermit $(CKVER) for Cray-2/3 CSOS
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)} NPROC=1
- "CFLAGS= -DSVR3 -DDIRENT -DHDBUUCP -DTCPSOCKET
- $(KFLAGS) -DCK_ANSIC -DCK_CURSES" "LIBS=-lnet"
- #NeXTSTEP 1.0 through 3.2.
- #Includes fullscreen file transfer display (curses) and TCP/IP support.
- #Uses shared library to make executable program about 80K smaller.
- #Remove "LIBS = -lsys_s" if this causes trouble.
- next:
- @echo Making C-Kermit $(CKVER) for NeXTSTEP...
- @echo 'If you get errors in ckutio.c about w_S, w_T, etc,'
- @echo 'add KFGLAGS=-DNOREDIRECT to your make command.'
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DNEXT -DTCPSOCKET -DLCKDIR -DNOPUTENV -DFNFLOAT
- -pipe -DCK_CURSES $(KFLAGS) -O -w" "LIBS = -lsys_s -lcurses -ltermcap"
- nextc:
- $(MAKE) "MAKE=$(MAKE)" next KTARGET=$${KTARGET:-$(@)}
- nextg:
- $(MAKE) "MAKE=$(MAKE)" next KFLAGS=-Wall KTARGET=$${KTARGET:-$(@)}
- nextgc:
- $(MAKE) "MAKE=$(MAKE)" next KFLAGS=-Wall KTARGET=$${KTARGET:-$(@)}
- #NeXTSTEP 3.3.
- #Includes fullscreen file transfer display and TCP/IP.
- next33:
- @echo Making C-Kermit $(CKVER) for NeXTSTEP 3.3...
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DNEXT33 -DTCPSOCKET -DLCKDIR -DNOPUTENV -DFNFLOAT
- -pipe -DCK_CURSES $(KFLAGS) -O -w" "LIBS = -lsys_s -lcurses -ltermcap"
- #OPENSTEP 4.2 for Sparc, m680x0, HP PA-RISC, and Intel.
- #Includes fullscreen file transfer display and TCP/IP.
- #ckcpro.c compiled without optimization because it crashes the compiler.
- openstep42:
- @echo Making C-Kermit $(CKVER) for OPENSTEP 4.2...
- $(MAKE) ckcpro.$(EXT)
- "CFLAGS= -DOPENSTEP42 -DNEXT33 -DTCPSOCKET -DLCKDIR -DNOPUTENV
- -DFNFLOAT -pipe -DCK_CURSES $(KFLAGS) -w"
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DOPENSTEP42 -DNEXT33 -DTCPSOCKET -DLCKDIR -DNOPUTENV
- -DFNFLOAT -pipe -DCK_CURSES $(KFLAGS) -O -w"
- "LIBS = -lsys_s -lcurses -ltermcap"
- #NeXT with malloc debugger
- nextmd:
- @echo Making C-Kermit $(CKVER) for NeXT with malloc debugging...
- $(MAKE) mermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DNEXT -DTCPSOCKET -DLCKDIR -DNOPUTENV -DFNFLOAT
- -DCK_CURSES $(KFLAGS) -O -w -Dmalloc=dmalloc -Dfree=dfree -DMDEBUG"
- "LIBS = -lsys_s -lcurses -ltermcap"
- #Build for NeXTSTEP with "fat" binaries (MABs) that run on both Motorola
- #and Intel platforms.
- nextfat:
- $(MAKE) "MAKE=$(MAKE)" next KTARGET=$${KTARGET:-$(@)}
- "KFLAGS=-Wall -arch m68k -arch i386" "LNKFLAGS = -arch m68k -arch i386"
- #NeXTSTEP on Intel Platforms.
- next486:
- @echo Making C-Kermit $(CKVER) for NeXTSTEP on Intel Platforms...
- @echo 'If you get errors in ckutio.c about w_S, w_T, etc,'
- @echo 'add KFGLAGS=D-DNOREDIRECT to your make command.'
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DNEXT -DTCPSOCKET -DLCKDIR -DNOPUTENV -DFNFLOAT
- -DNODEBUG -O3 -fno-omit-frame-pointer -fschedule-insns2 -pipe
- -DCK_CURSES $(KFLAGS) -w" "LIBS = -lsys_s -lcurses -ltermcap"
- #Single binary that runs on NeXT 68030 and 68040, Intel, HP, and Sparc,
- #as well as on OpenStep/Mach.
- nextquadfat:
- $(MAKE) "MAKE=$(MAKE)" next KTARGET=$${KTARGET:-$(@)}
- "KFLAGS=-Wall -arch m68k -arch i386 -arch hppa -arch sparc"
- "LNKFLAGS = -arch m68k -arch i386 -arch hppa -arch sparc"
- #BeBox
- beboxdr7:
- @echo 'Making C-Kermit $(CKVER) for the BeBox...'
- @echo 'Link step will fail with default Metroworks linker 64K limit.'
- @echo 'Code Warrior Gold required to link big programs.'
- $(MAKE) wermit KTARGET=$${KTARGET:-$(@)}
- "CC=/boot/develop/tools/mwcc" "CC2=/boot/develop/tools/mwld"
- "CFLAGS= -DBEBOX -DBE_DR_7 -DPOSIX -DNOUUCP $(KFLAGS) -O"
- #BeBox BeOS DR7 only
- bebox:
- @echo 'Making C-Kermit $(CKVER) for BeBox...'
- @echo 'Link step will fail with default Metroworks linker 64K limit.'
- @echo 'Code Warrior Pro 3.0 for BeBox required to link big programs.'
- $(MAKE) wermit "CC=mwcc" "CC2=mwld" KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DBEBOX -DPOSIX -DNOUUCP $(KFLAGS) -O"
- #BeOS 4.5
- #We have to use the wermit target because 'fd_set' is unknown.
- beos45:
- $(MAKE) wermit "CC=$(CC)" "CC2=$(CC2)" KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DBEOS -DBEOS45 -DPOSIX -DNOIKSD -DNOREALPATH -DSYSTIMEH
- -DNOCOTFMC -DNOUUCP $(KFLAGS) -O"
- "LIBS = $(LIBS)"
- #BeOS 4.5
- beos45net:
- $(MAKE) beos45 "KFLAGS=-DTCPSOCKET -DNO_DNS_SRV $(KFLAGS)"
- "LIBS=-lnet -lnetapi"
- #Plan 9 from Bell Labs
- plan9:
- @echo 'C-Kermit for Plan 9 from Bell Labs - calling ckpker.mk...'
- make -f ckpker.mk
- #POSIX
- posix:
- @echo 'Making C-Kermit $(CKVER) for pure POSIX...'
- $(MAKE) wermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DPOSIX -DNOUUCP $(KFLAGS) -O"
- #Berkeley Software Design Inc. BSDI
- # Substitute "LIBS= -lnewcurses -ltermcap" if desired.
- bsdi:
- @echo 'Making C-Kermit $(CKVER) for BSDI ...'
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DBSD44 -DSETREUID -DSW_ACC_ID -DBIGBUFOK
- -DTCPSOCKET -DCK_CURSES -DFNFLOAT $(KFLAGS) -O"
- "LIBS= -lcurses -ltermcap -lm"
- #Berkeley Software Design Inc. BSDI - has higher serial speeds than 1.x.
- bsdi2:
- $(MAKE) "MAKE=$(MAKE)" bsdi KTARGET=$${KTARGET:-$(@)}
- "KFLAGS=-DBSDI2 $(KFLAGS)"
- bsdi3:
- $(MAKE) "MAKE=$(MAKE)" bsdi KTARGET=$${KTARGET:-$(@)}
- "KFLAGS=-DBSDI2 -DBSDI3 $(KFLAGS)"
- bsdi4:
- $(MAKE) "MAKE=$(MAKE)" bsdi KTARGET=$${KTARGET:-$(@)}
- "KFLAGS=-DBSDI2 -DBSDI3 -DBSDI4 -DTPUTSFNTYPE=void -DTPUTSISVOID
- -m486 $(KFLAGS)"
- # (old name for the above)
- bsdiposix:
- $(MAKE) "MAKE=$(MAKE)" bsdi
- #Pyramid 9XXX (e.g. 9845) or MIServer T series, OSx 4.4b thru 5.1
- pyramid:
- @echo Making C-Kermit $(CKVER) for Pyramid Dual Port OSx
- ucb $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DBSD43 -DTCPSOCKET -DPYRAMID -O $(KFLAGS)" "LNKFLAGS = -s"
- #Pyramid Dual Port OSx using HonyDanBer UUCP, curses and TCP
- pyramid-hdb:
- @echo Making C-Kermit $(CKVER) for Pyramid Dual Port OSx
- ucb $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DBSD43 -DTCPSOCKET -DHBDUUCP -DCK_CURSES -O $(KFLAGS)"
- "LNKFLAGS = -s" "LIBS = -lcurses -ltermcap"
- #Pyramid DC/OSx (UNIX System V R4).
- #Has <sys/termiox.h>, regular Berkeley sockets library, i.e. in.h and inet.h
- #are not misplaced in sys (rather than netinet and arpa, respectively).
- #Uses ANSI C.
- #NOTE: Remove -O and Olimit:2500 from CFLAGS if TELNET connections do not work.
- pyrdcosx:
- @echo 'Making C-Kermit $(CKVER) for Pyramid DC/OSx...'
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS = -Xa -O -DSVR4 -DDIRENT -DHDBUUCP -DSELECT -DNOGETUSERSHELL
- -DCK_CURSES -DSTERMIOX -DTCPSOCKET -DPYRAMID -K Olimit:3100
- -DNO_DNS_SRV $(KFLAGS)" "LIBS= -lcurses -lsocket -lnsl" "LNKFLAGS = -s"
- #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) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DAIX370 -DTCPSOCKET -DLCKDIR -DDIRENT $(KFLAGS)"
- "LIBS = -lbsd"
- #IBM's AIX/ESA 2.1 (OSF/1) on IBM mainframe
- aixesa:
- @echo Making C-Kermit $(CKVER) for IBM AIX/ESA...
- $(MAKE) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DAIXESA -DTCPSOCKET $(KFLAGS) -O"
- #IBM PS/2 with AIX 1.0 thru 1.3.
- # Reports indicate that -O switch must be omitted.
- # It is also possible that "make bsd" will work (reports welcome).
- # One report said "make LIBS=-lbsd bsd" did the trick.
- # NOTLOG is to get around a 'tlog' symbol defined in one of the headers.
- ps2aix:
- @echo 'Making C-Kermit $(CKVER) for IBM AIX 1.x PS/2...'
- $(MAKE) wermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS = -DATTSV -DNOREALPATH -DPS2AIX10 -DSIG_V
- -DNOUNICODE -DNOTLOG $(KFLAGS) -i"
- "LNKFLAGS = -i"
- ps2aixnetc:
- @echo 'Making C-Kermit $(CKVER) for IBM AIX 1.x PS/2...'
- $(MAKE) wermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS = -DATTSV -DNOREALPATH -DPS2AIX10 -DTCPSOCKET -DCK_CURSES
- -DSIG_V -DNOUNICODE -DNOTLOG $(KFLAGS) -i"
- "LIBS = -lcurses" "LNKFLAGS = -i"
- ps2aix3:
- $(MAKE) ps2aix KTARGET=$${KTARGET:-$(@)}
- #IBM RT PC with AIX 2.2.1
- #This one has unique and strange lockfiles.
- rtaix:
- @echo 'Making C-Kermit $(CKVER) for IBM RT PC, AIX 2.2.1...'
- $(MAKE) xermit KTARGET=$${KTARGET-$(@)}
- "CFLAGS = -DATTSV -DRTAIX -DHDBUUCP -DTCPSOCKET -DNOIKSD -Wq,-SJ2
- -DCLSOPN -DNOREALPATH -DNOUNICODE -DNOPUTENV $(KFLAGS) -O -w"
- "LNKFLAGS = -s"
- #IBM RT PC with AIX 2.2.1
- #This one has unique and strange lockfiles.
- rtaixc:
- @echo 'Making C-Kermit $(CKVER) for IBM RT PC, AIX 2.2.1, curses...'
- $(MAKE) xermit KTARGET=$${KTARGET-$(@)}
- "CFLAGS = -DATTSV -DRTAIX -DHDBUUCP -DTCPSOCKET -DCK_CURSES
- -DCLSOPN -DNOREALPATH -DNOIKSD -DNOPUTENV -Wq,-SJ2 $(KFLAGS) -O -w"
- "LIBS=-lcurses" "LNKFLAGS = -s"
- #IBM RT PC with AIX (ACIS) 2.2.1 (BSD 4.3)
- # Add -O, -DDYNAMIC, -s, etc, if they work.
- rtacis:
- @echo Making C-Kermit $(CKVER) for RT PC with ACIS 2.2.1 = BSD 4.3...
- $(MAKE) xermit KTARGET=$${KTARGET-$(@)}
- "CFLAGS= -DBSD4 -DTCPSOCKET -DNOREALPATH -DNOIKSD -DNOPUTENV
- $(KFLAGS) -U__STDC__" "LNKFLAGS = -s"
- #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) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DAIXRS -DTCPSOCKET -DSVR3 -DDIRENT -DCK_ANSIC
- -DCK_POLL -DCLSOPN -DSELECT_H -DNOTTYLOCK -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) xermit KTARGET=$${KTARGET:-$(@)}
- "CFLAGS= -DAIXRS -DTCPSOCKET -DSVR3 -DDIRENT -DCK_ANSIC
- -DCK_POLL -DCLSOPN -DCK_CURSES -DSELECT_H -DNOTTYLOCK -DNOREALPATH
- -O $(KFLAGS)" "LIBS= -lcurses -ltermcap" "LNKFLAGS = -s"
- aix30:
- $(MAKE) rs6000 KTARGET=$${KTARGET:-$(@)}
- aix31:
- $(MAKE) rs6000 KTARGET=$${KTARGET:-$(@)}
- #IBM AIX 3.2 for RISC System/6000.
- #In case of "subprogram too complex" warnings, add "-qmaxmem=4000" to CFLAGS.
- rs6aix32: