X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/09c18474908318d2eed714a732a78e315d5e8346..638231e6203d8d8447c87fcb959bb90da83f521f:/usr/src/usr.bin/tip/Makefile diff --git a/usr/src/usr.bin/tip/Makefile b/usr/src/usr.bin/tip/Makefile index 38b9984943..e68e838b9c 100644 --- a/usr/src/usr.bin/tip/Makefile +++ b/usr/src/usr.bin/tip/Makefile @@ -1,22 +1,24 @@ -# Makefile 4.7 82/11/07 -# -# makefile for intermachine communications package +# @(#)Makefile 5.9 (Berkeley) 5/11/90 # # Files are: # /etc/remote remote host description file # /etc/phones phone number file, owned by ${OWNER} and -# mode 644 -# ${ADM}/aculog ACU accounting file, owned by ${OWNER} and -# mode 644 {if ACULOG defined} +# mode 6?? +# /var/log/aculog ACU accounting file, owned by ${OWNER} and +# mode 6?? {if ACULOG defined} # Presently supports: # BIZCOMP # DEC DF02-AC, DF03-AC # DEC DN-11/Able Quadracall -# VENTEL intelligent modem +# HAYES and Hayes emulators +# USR COURIER (2400 baud) +# VENTEL 212+ +# VADIC 831 RS232 adaptor +# VADIC 3451 # # Configuration defines: # DF02, DF03, DN11 ACU's supported -# BIZ1031, BIZ1022, VENTEL +# BIZ1031, BIZ1022, VENTEL, V831, V3451, HAYES, COURIER # ACULOG turn on tip logging of ACU use # PRISTINE no phone #'s put in ACU log file # CONNECT worthless command @@ -25,59 +27,23 @@ # writes on local side # BUFSIZ buffer sizing from stdio, must be fed # explicitly to remcap.c if not 1024 -# VMUNIX allow VMUNIX tty stuff and job control - -ADM=${DESTDIR}/usr/adm -BIN=${DESTDIR}/usr/ucb -OWNER=uucp -CFLAGS=-O -DDEFBR=300 -DDEFFS=BUFSIZ -DVENTEL -DACULOG -LDFLAGS= -OBJECTS=acu.o acutab.o biz22.o biz31.o cmds.o cmdtab.o cu.o df.o dn11.o hunt.o \ - lock.o log.o remote.o tip.o tipout.o value.o vars.o ventel.o -SOURCES=acu.c acutab.c biz22.c biz31.c cmds.c cmdtab.c cu.c df.c dn11.c hunt.c \ - lock.c log.c remcap.c remote.c tip.c tipout.c uucplock.c value.c \ - vars.c ventel.c -CXREF=/usr/ucb/ctags -xw - -tip: ${OBJECTS} remcap.o uucplock.o - ${CC} -o tip ${LDFLAGS} ${OBJECTS} remcap.o uucplock.o - rm -f cu - ln tip cu - -all: tip aculog - -install: all - cp tip ${BIN}/tip - chown ${OWNER} ${BIN}/tip - chmod 4711 ${BIN}/tip -# cp aculog /etc/aculog -# chown ${OWNER} /etc/aculog -# chmod 4711 /etc/aculog -# cp /dev/null ${ADM}/aculog -# chown ${OWNER} ${ADM}/aculog -# chmod 600 ${ADM}/aculog - @echo "create /etc/remote and /etc/phones" - -aculog: aculog.c - ${CC} -o aculog ${LDFLAGS} aculog.c - -${OBJECTS}: tip.h - -remcap.o: remcap.c - ${CC} -c -DBUFSIZ=1024 ${CFLAGS} remcap.c - -tags: ${SOURCES} tip.h - ctags -w ${SOURCES} tip.h - -clean: - rm -f aculog tip cu *.o - -print: - @pr README TODO makefile - @size *.o | pr -h SIZES - @${CXREF} ${SOURCES} tip.h | pr -h XREF - @ls -l | pr - @pr tip.h ${SOURCES} -lint: - -lint -hbacvx ${CFLAGS} ${SOURCES} +PROG= tip +CFLAGS+=-I${.CURDIR} -DV831 -DVENTEL -DHAYES -DCOURIER -DDEFBR=2400 \ + -DDEFFS=BUFSIZ -DACULOG -DPRISTINE -DCONNECT +.PATH: ${.CURDIR}/aculib +BINOWN= uucp +BINGRP= dialer +BINMODE=4510 +LINKS= ${BINDIR}/tip ${BINDIR}/cu +MLINKS= tip.1 cu.1 +SRCS= acu.c acutab.c cmds.c cmdtab.c cu.c hunt.c log.c partab.c remcap.c \ + remote.c tip.c tipout.c uucplock.c value.c vars.c biz22.c courier.c \ + df.c dn11.c hayes.c v3451.c v831.c ventel.c + +# -- acutab is configuration dependent, and so depends on the Makefile +# -- remote.o depends on the Makefile because of DEFBR and DEFFS +# -- log.o depends on the Makefile because of ACULOG +acutab.o log.o remote.o: Makefile + +.include