5853bc5a7080c819e57b675988301cd0a30eb42f
[dragonfly.git] / usr.bin / tip / tip / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 6/6/93
2 # $FreeBSD: src/usr.bin/tip/tip/Makefile,v 1.10.6.3 2002/07/17 13:25:19 ru Exp $
3 # $DragonFly: src/usr.bin/tip/tip/Makefile,v 1.4 2004/09/09 07:24:41 dillon Exp $
4 #
5 # Files are:
6 #       /etc/remote             remote host description file
7 #       /etc/phones             phone number file, owned by ${OWNER} and
8 #                               mode 6??
9 #       /var/log/aculog         ACU accounting file, owned by ${OWNER} and
10 #                               mode 6?? {if ACULOG defined}
11
12 .if exists(${.OBJDIR}/../libacu)
13 LIBACU=${.OBJDIR}/../libacu/libacu.a
14 .else
15 LIBACU=${.CURDIR}/../libacu/libacu.a
16 .endif
17
18 PROG=   tip
19 DPADD=  ${LIBACU} ${LIBUTIL}
20 LDADD=  ${LIBACU} -lutil
21 LINKS=  ${BINDIR}/tip ${BINDIR}/cu
22 MLINKS= tip.1 cu.1
23 MAN=    tip.1 modems.5
24 SRCS=   acu.c acutab.c cmds.c cmdtab.c cu.c hunt.c log.c partab.c \
25         remote.c tip.c tipout.c value.c vars.c
26
27 BINDIR?=        /usr/bin
28 BINOWN=         uucp
29 BINGRP=         dialer
30
31 # XXX: there is some concern that `tip' in its current state shouldn't run
32 #      SUID.  If it believed it should, the mode above may still no be proper.
33 #BINMODE?=      4510
34 #INSTALLFLAGS=  -fschg
35
36 # XXX Our LINKS rules should really handle this case
37 #
38 beforeinstall:
39         -chflags noschg ${DESTDIR}${BINDIR}/cu
40
41 .include <bsd.prog.mk>