]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - usr.bin/tip/tip/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / usr.bin / tip / tip / Makefile
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
34 PROG=   tip
35 LINKS=  ${BINDIR}/tip ${BINDIR}/cu
36 MAN=    tip.1 cu.1
37 CFLAGS+=-I${.CURDIR} -DDEFBR=9600 -DDEFFS=BUFSIZ -DACULOG -DPRISTINE \
38         -DCONNECT -DV831 -DVENTEL -DHAYES -DCOURIER -DT3000
39 WARNS?= 2
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
44
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
49
50 .include <bsd.prog.mk>
51
52 # Dirty, rotten hack. This can be removed when we are confident that there
53 # is no cu(1) with the schg-bit set.
54 beforeinstall:
55 .if exists(${DESTDIR}${BINDIR}/cu)
56         -@chflags noschg ${DESTDIR}${BINDIR}/cu
57 .endif