1 # $OpenBSD: Makefile,v 1.11 2006/05/25 08:41:52 jmc Exp $
5 # /etc/remote remote host description file
6 # /etc/phones phone number file, owned by ${OWNER} and
8 # /var/log/aculog ACU accounting file, owned by ${OWNER} and
9 # mode 6?? {if ACULOG defined}
12 # DEC DF02-AC, DF03-AC
13 # DEC DN-11/Able Quadracall
14 # HAYES and Hayes emulators
15 # USR COURIER (2400 baud)
17 # VADIC 831 RS232 adaptor
21 # Configuration defines:
22 # DF02, DF03, DN11 ACU's supported
23 # BIZ1031, BIZ1022, VENTEL, V831, V3451, HAYES, COURIER, T3000
24 # ACULOG turn on tip logging of ACU use
25 # PRISTINE no phone #'s put in ACU log file
26 # CONNECT worthless command
27 # DEFBR default baud rate to make connection at
28 # DEFFS default frame size for FTP buffering of
29 # writes on local side
30 # BUFSIZ buffer sizing from stdio, must be fed
31 # explicitly to remcap.c if not 1024
32 # CONNECT enable ~C command (connect pgm to remote)
35 LINKS= ${BINDIR}/tip ${BINDIR}/cu
37 CFLAGS+=-I${.CURDIR} -DDEFBR=9600 -DDEFFS=BUFSIZ -DACULOG -DPRISTINE \
38 -DCONNECT -DV831 -DVENTEL -DHAYES -DCOURIER -DT3000
40 .PATH: ${.CURDIR}/../libacu
41 SRCS= acu.c acutab.c cmds.c cmdtab.c cu.c hunt.c log.c partab.c \
42 remote.c tip.c tipout.c uucplock.c value.c vars.c \
43 biz22.c courier.c df.c dn11.c hayes.c t3000.c v3451.c v831.c ventel.c
45 # -- acutab is configuration dependent, and so depends on the Makefile
46 # -- remote.o depends on the Makefile because of DEFBR and DEFFS
47 # -- log.o depends on the Makefile because of ACULOG
48 acutab.o log.o remote.o: Makefile
50 .include <bsd.prog.mk>
52 # Dirty, rotten hack. This can be removed when we are confident that there
53 # is no cu(1) with the schg-bit set.
55 .if exists(${DESTDIR}${BINDIR}/cu)
56 -@chflags noschg ${DESTDIR}${BINDIR}/cu