1# $OpenBSD: Makefile,v 1.11 2006/05/25 08:41:52 jmc Exp $ 2# $FreeBSD$ 3# 4# Files are: 5# /etc/remote remote host description file 6# /etc/phones phone number file, owned by ${OWNER} and 7# mode 6?? 8# /var/log/aculog ACU accounting file, owned by ${OWNER} and 9# mode 6?? {if ACULOG defined} 10# Presently supports: 11# BIZCOMP 12# DEC DF02-AC, DF03-AC 13# DEC DN-11/Able Quadracall 14# HAYES and Hayes emulators 15# USR COURIER (2400 baud) 16# VENTEL 212+ 17# VADIC 831 RS232 adaptor 18# VADIC 3451 19# TELEBIT T3000 20# 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) 33 34CONFS= phones remote 35PROG= tip 36LINKS= ${BINDIR}/tip ${BINDIR}/cu 37MAN= tip.1 cu.1 38CFLAGS+=-I${.CURDIR} -DDEFBR=9600 -DDEFFS=BUFSIZ -DACULOG -DPRISTINE \ 39 -DCONNECT -DV831 -DVENTEL -DHAYES -DCOURIER -DT3000 40WARNS?= 2 41.PATH: ${.CURDIR}/../libacu 42SRCS= acu.c acutab.c cmds.c cmdtab.c cu.c hunt.c log.c partab.c \ 43 remote.c tip.c tipout.c uucplock.c value.c vars.c \ 44 biz22.c courier.c df.c dn11.c hayes.c t3000.c v3451.c v831.c ventel.c 45 46# -- acutab is configuration dependent, and so depends on the Makefile 47# -- remote.o depends on the Makefile because of DEFBR and DEFFS 48# -- log.o depends on the Makefile because of ACULOG 49acutab.o log.o remote.o: Makefile 50 51# Don't rebuild based on remote.c 52remote: .MADE 53 54.include <bsd.prog.mk> 55 56# Dirty, rotten hack. This can be removed when we are confident that there 57# is no cu(1) with the schg-bit set. 58beforeinstall: 59.if exists(${DESTDIR}${BINDIR}/cu) 60 -chflags noschg ${DESTDIR}${BINDIR}/cu 61.endif 62