Annotation of 43BSD/usr.bin/tip/Makefile, revision 1.1.1.1

1.1       root        1: #
                      2: # Copyright (c) 1983 Regents of the University of California.
                      3: # All rights reserved.  The Berkeley software License Agreement
                      4: # specifies the terms and conditions for redistribution.
                      5: #
                      6: #      @(#)Makefile    5.2 (Berkeley) 4/3/86
                      7: #
                      8: # make file for intermachine communications package
                      9: #
                     10: # Files are:
                     11: #      /etc/remote             remote host description file
                     12: #      /etc/phones             phone number file, owned by ${OWNER} and
                     13: #                                mode 6??
                     14: #      ${ADM}/aculog           ACU accounting file, owned by ${OWNER} and
                     15: #                                mode 6?? {if ACULOG defined}
                     16: # Presently supports:
                     17: #      BIZCOMP
                     18: #      DEC DF02-AC, DF03-AC
                     19: #      DEC DN-11/Able Quadracall
                     20: #      HAYES and Hayes emulators
                     21: #      USR COURIER (2400 baud)
                     22: #      VENTEL 212+
                     23: #      VADIC 831 RS232 adaptor
                     24: #      VADIC 3451
                     25: # (drivers are located in aculib.a)
                     26: #
                     27: # Configuration defines:
                     28: #      DF02, DF03, DN11        ACU's supported
                     29: #        BIZ1031, BIZ1022, VENTEL, V831, V3451, HAYES, COURIER
                     30: #      ACULOG                  turn on tip logging of ACU use
                     31: #      PRISTINE                no phone #'s put in ACU log file
                     32: #      CONNECT                 worthless command
                     33: #      DEFBR                   default baud rate to make connection at
                     34: #      DEFFS                   default frame size for FTP buffering of
                     35: #                              writes on local side
                     36: #      BUFSIZ                  buffer sizing from stdio, must be fed
                     37: #                              explicitly to remcap.c if not 1024
                     38: 
                     39: ADM=   usr/adm
                     40: OWNER= uucp
                     41: GROUP= daemon
                     42: CONFIG=        -DV831 -DVENTEL -DHAYES -DCOURIER
                     43: CFLAGS=        -O -DDEFBR=1200 -DDEFFS=BUFSIZ -DACULOG -DPRISTINE
                     44: LDFLAGS=
                     45: OBJS=  acu.o cmds.o cmdtab.o cu.o hunt.o \
                     46:        log.o partab.o remote.o tip.o tipout.o value.o vars.o
                     47: SPECIAL=acutab.c remcap.c uucplock.c
                     48: DRIVERS=aculib/*.c
                     49: SOURCES=acu.c acutab.c cmds.c cmdtab.c cu.c hunt.c \
                     50:        log.c partab.c remote.c tip.c tipout.c value.c vars.c \
                     51:        ${SPECIAL} ${DRIVERS}
                     52: CXREF= /usr/ucb/ctags -xw
                     53: 
                     54: tip:   ${OBJS} acutab.o remcap.o uucplock.o aculib/aculib.a
                     55:        ${CC} -o tip ${LDFLAGS} ${OBJS} acutab.o remcap.o uucplock.o \
                     56:                aculib/aculib.a
                     57: 
                     58: ${OBJS}: tip.h
                     59: 
                     60: remcap.o: remcap.c
                     61:        ${CC} -c -DBUFSIZ=1024 ${CFLAGS} remcap.c
                     62: 
                     63: # acutab is configuration dependent, and so depends on the makefile
                     64: acutab.o: Makefile
                     65: acutab.o: acutab.c
                     66:        ${CC} -c ${CFLAGS} ${CONFIG} acutab.c
                     67: 
                     68: # remote.o depends on the makefile because of DEFBR and DEFFS
                     69: remote.o: Makefile
                     70: 
                     71: # log.o depends on the makefile because of ACULOG
                     72: log.o: Makefile
                     73: 
                     74: aculib/aculib.a: ${DRIVERS}
                     75:        cd aculib; make ${MFLAGS}
                     76: 
                     77: install: tip
                     78:        install -s -m 4711 -o ${OWNER} -g ${GROUP} tip ${DESTDIR}/usr/bin/tip
                     79:        rm -f ${DESTDIR}/usr/bin/cu
                     80:        ln ${DESTDIR}/usr/bin/tip ${DESTDIR}/usr/bin/cu
                     81: #      cp /dev/null ${DESTDIR}/${ADM}/aculog
                     82: #      chown ${OWNER} ${DESTDIR}/${ADM}/aculog
                     83: #      chmod 600 ${DESTDIR}/${ADM}/aculog
                     84: #      @echo "create /etc/remote and /etc/phones"
                     85: 
                     86: tags:  ${SOURCES} tip.h
                     87:        ctags -w ${SOURCES} tip.h
                     88: 
                     89: clean:
                     90:        cd aculib; make ${MFLAGS} clean
                     91:        rm -f tip cu *.o
                     92: 
                     93: print:
                     94:        @pr README TODO makefile
                     95:        @size *.o | pr -h SIZES
                     96:        @${CXREF} tip.h ${SOURCES} | pr -h XREF
                     97:        @ls -l | pr 
                     98:        @pr tip.h ${SOURCES}
                     99: 
                    100: lint:
                    101:        -lint -hbacvx ${CFLAGS} ${SOURCES}

unix.superglobalmegacorp.com

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