Annotation of coherent/e/bin/cku179/ckubs2.mak, revision 1.1.1.1

1.1       root        1: # CKUKER.MAK, Sat Feb  8 15:54:47 1992
                      2: #
                      3: # Abbreviated version for 2.10 / 2.11 BSD, which chokes on full-size makefile
                      4: # because "Make: out of memory".
                      5: #
                      6: # Instructions:
                      7: #   1. Change the name of this file to "makefile".
                      8: #   2. Make sure there are no other files called "makefile" or "Makefile"
                      9: #      in the same directory.
                     10: #   3. "make bsd210"
                     11: #
                     12: # Author: Frank da Cruz, Columbia University Center for Computing Activities
                     13: # 612 West 115th Street, New York, NY 10025, USA.  Phone (212) 854-5126.
                     14: # e-mail: [email protected], [email protected], or [email protected].
                     15: # BSD 2.10/2.11 specifics contributed by Steven M Schultz
                     16: # [email protected]
                     17: #
                     18: ##############################################################################
                     19: #
                     20: # V7-specific variables.
                     21: # These are set up for Perkin-Elmer 3230 V7 Unix:
                     22: # (Are these really needed for 2.10 BSD?)
                     23: #
                     24: PROC=proc
                     25: DIRECT=
                     26: NPROC=nproc
                     27: NPTYPE=int
                     28: BOOTFILE=/edition7
                     29: #
                     30: ###########################################################################
                     31: #
                     32: #  Compile and Link variables:
                     33: #
                     34: #  EXT is the extension (file type) for object files, normally o.
                     35: #
                     36: EXT=o
                     37: LNKFLAGS=
                     38: SHAREDLIB=
                     39: CC= cc
                     40: CC2= cc
                     41: SHELL=/bin/sh
                     42: #
                     43: ###########################################################################
                     44: #
                     45: # Dependencies Section:
                     46: 
                     47: wermit: ckcmai.$(EXT) ckucmd.$(EXT) ckuusr.$(EXT) ckuus2.$(EXT) ckuus3.$(EXT) \
                     48:                ckuus4.$(EXT) ckuus5.$(EXT) ckuus6.$(EXT) ckuus7.$(EXT) \
                     49:                ckuusx.$(EXT) ckuusy.$(EXT) ckcpro.$(EXT) ckcfns.$(EXT) \
                     50:                ckcfn2.$(EXT) ckcfn3.$(EXT) ckuxla.$(EXT) ckucon.$(EXT) \
                     51:                ckutio.$(EXT) ckufio.$(EXT) ckudia.$(EXT) ckuscr.$(EXT) \
                     52:                ckcnet.$(EXT)
                     53:        $(CC2) $(LNKFLAGS) -o wermit ckcmai.$(EXT) ckutio.$(EXT) \
                     54:                ckufio.$(EXT) ckcfns.$(EXT) ckcfn2.$(EXT) ckcfn3.$(EXT) \
                     55:                ckuxla.$(EXT) ckcpro.$(EXT) ckucmd.$(EXT) ckuus2.$(EXT) \
                     56:                ckuus3.$(EXT) ckuus4.$(EXT) ckuus5.$(EXT) ckuus6.$(EXT) \
                     57:                ckuus7.$(EXT) ckuusx.$(EXT) ckuusy.$(EXT) ckuusr.$(EXT) \
                     58:                ckucon.$(EXT) ckudia.$(EXT) ckuscr.$(EXT) ckcnet.$(EXT) $(LIBS)
                     59: 
                     60: # For building Kermit with overlays...
                     61: 
                     62: ovwermit: ckcmai.$(EXT) ckucmd.$(EXT) ckuusr.$(EXT) ckuus2.$(EXT) \
                     63:        ckuus3.$(EXT) ckuus4.$(EXT) ckuus5.$(EXT) ckcpro.$(EXT) \
                     64:        ckcfns.$(EXT) ckcfn2.$(EXT) ckcfn3.$(EXT) ckuxla.$(EXT) \
                     65:        ckucon.$(EXT) ckutio.$(EXT) ckufio.$(EXT) ckudia.$(EXT) \
                     66:        ckuscr.$(EXT) ckcnet.$(EXT) ckuus6.$(EXT) ckuus7.$(EXT) ckuusx.$(EXT) \
                     67:        ckuusy.$(EXT) ckustr.o strings.o
                     68:        ar x /lib/libc.a getpwent.o ctime.o ndbm.o
                     69:        $(CC2) $(LNKFLAGS) -o wermit ckcmai.$(EXT) \
                     70:                ckutio.$(EXT) ckufio.$(EXT) ckcfns.$(EXT) ckcfn2.$(EXT) \
                     71:                ckcfn3.$(EXT) \
                     72:                 -Z ckuxla.$(EXT) ckcpro.$(EXT) ckucmd.$(EXT) ckuus2.$(EXT) \
                     73:                    ckuus3.$(EXT) \
                     74:                 -Z ckuus4.$(EXT) ckuus5.$(EXT) ckuusr.$(EXT) ckuus6.$(EXT) \
                     75:                    ctime.o \
                     76:                 -Z ckuus7.$(EXT) ckcfn3.$(EXT) ckudia.$(EXT) ckuscr.$(EXT) \
                     77:                    ckcnet.$(EXT) ckuusy.$(EXT) \
                     78:                 -Z ckuusx.$(EXT) ckucon.$(EXT) getpwent.o ndbm.o \
                     79:                 -Y ckustr.o strings.o $(LIBS)
                     80: 
                     81: strings.o: strings
                     82:        xstr
                     83:        cc -c xs.c
                     84:        mv -f xs.o strings.o
                     85:        rm -f xs.c
                     86: 
                     87: ###########################################################################
                     88: # Dependencies for each module...
                     89: #
                     90: ckcmai.$(EXT): ckcmai.c ckcker.h ckcdeb.h ckcsym.h ckcasc.h ckcnet.h
                     91: 
                     92: ckcpro.$(EXT): ckcpro.c ckcker.h ckcdeb.h ckcasc.h
                     93: 
                     94: ckcpro.c: ckcpro.w wart ckcdeb.h ckcasc.h ckcker.h
                     95:        ./wart ckcpro.w ckcpro.c
                     96: 
                     97: ckcfns.$(EXT): ckcfns.c ckcker.h ckcdeb.h ckcsym.h ckcasc.h ckcxla.h \
                     98:                ckuxla.h
                     99: 
                    100: ckcfn2.$(EXT): ckcfn2.c ckcker.h ckcdeb.h ckcsym.h ckcasc.h ckcxla.h ckuxla.h
                    101: 
                    102: ckcfn3.$(EXT): ckcfn3.c ckcker.h ckcdeb.h ckcsym.h ckcasc.h ckcxla.h \
                    103:                ckuxla.h
                    104: 
                    105: ckuxla.$(EXT): ckuxla.c ckcker.h ckcdeb.h ckcxla.h ckuxla.h
                    106: 
                    107: ckuusr.$(EXT): ckuusr.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h ckcxla.h ckuxla.h \
                    108:                ckcasc.h ckcnet.h
                    109: 
                    110: ckuus2.$(EXT): ckuus2.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h ckcxla.h ckuxla.h \
                    111:                ckcasc.h
                    112: 
                    113: ckuus3.$(EXT): ckuus3.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h ckcxla.h ckuxla.h \
                    114:                ckcasc.h ckcnet.h
                    115: 
                    116: ckuus4.$(EXT): ckuus4.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h ckcxla.h ckuxla.h \
                    117:                ckcasc.h ckcnet.h
                    118: 
                    119: ckuus5.$(EXT): ckuus5.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h ckcasc.h
                    120: 
                    121: ckuus6.$(EXT): ckuus6.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h ckcasc.h
                    122: 
                    123: ckuus7.$(EXT): ckuus7.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h ckcxla.h ckuxla.h \
                    124:                ckcasc.h ckcnet.h
                    125: 
                    126: ckuusx.$(EXT): ckuusx.c  ckcker.h ckuusr.h ckcdeb.h ckcasc.h
                    127: 
                    128: ckuusy.$(EXT): ckuusy.c  ckcker.h ckcdeb.h ckcasc.h
                    129: 
                    130: ckucmd.$(EXT): ckucmd.c ckcasc.h ckucmd.h ckcdeb.h
                    131: 
                    132: ckufio.$(EXT): ckufio.c ckcdeb.h ckuver.h
                    133: 
                    134: ckutio.$(EXT): ckutio.c ckcdeb.h ckcnet.h ckuver.h
                    135: 
                    136: ckucon.$(EXT): ckucon.c ckcker.h ckcdeb.h ckcasc.h ckcnet.h
                    137: 
                    138: ckcnet.$(EXT): ckcnet.c ckcdeb.h ckcker.h ckcnet.h
                    139: 
                    140: wart: ckwart.$(EXT)
                    141:        $(CC) $(LNKFLAGS) -o wart ckwart.$(EXT) $(LIBS)
                    142: 
                    143: ckcmdb.$(EXT): ckcmdb.c ckcdeb.h
                    144: 
                    145: ckwart.$(EXT): ckwart.c
                    146: 
                    147: ckudia.$(EXT): ckudia.c ckcker.h ckcdeb.h ckucmd.h ckcasc.h
                    148: 
                    149: ckuscr.$(EXT): ckuscr.c ckcker.h ckcdeb.h ckcasc.h
                    150: 
                    151: ###########################################################################
                    152: #
                    153: # 2.10BSD and 2.11BSD (the latter to a larger extent) are the same as 4.3BSD
                    154: # but without a large address space.
                    155: #
                    156: # NOTE: A string extraction method is used to put approx. 9kb of strings into a
                    157: # file. The module ckustr.c should be edited, if necessary, to change the
                    158: # pathname of the string file to where this file will reside (or just define
                    159: # the environment variable KSTR to be the pathname for the string file before
                    160: # running "make").  After make is finished, the file kermit5.sr should be moved
                    161: # to the where ckustr.c has been told to look for it.
                    162: #
                    163: bsd210:
                    164:        @echo "Making C-Kermit 5A for 2.10BSD with overlays..."
                    165:        @echo -n "Be sure to install kermit5.sr with the same pathname"
                    166:        @echo " specified in ckustr.c!"
                    167:        chmod +x ckustr.sed
                    168:        make ovwermit "CFLAGS= -O -DBSD43 -DLCKDIR -DNODEBUG -DNOTLOG \
                    169:        -DNOCSETS -DNOHELP -DNOSCRIPT -DNOSPL -DNOXMIT $(KFLAGS) \
                    170:        -Dgethostname=gethnam" "LNKFLAGS= -i " "CC= ./ckustr.sed " "CC2= cc"
                    171: 
                    172: #Clean up intermediate and object files
                    173: clean:
                    174:        @echo 'Removing intermediate files...'
                    175:        -rm -f ck*.$(EXT) ckcpro.c wart strings kermit5.sr

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.