Initial import from FreeBSD RELENG_4:
[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 #
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
11 .if exists(${.OBJDIR}/../libacu)
12 LIBACU=${.OBJDIR}/../libacu/libacu.a
13 .else
14 LIBACU=${.CURDIR}/../libacu/libacu.a
15 .endif
16
17 PROG=   tip
18 DPADD=  ${LIBACU} ${LIBUTIL}
19 LDADD=  ${LIBACU} -lutil
20 LINKS=  ${BINDIR}/tip
21 MAN=    tip.1 modems.5
22 SRCS=   acu.c acutab.c cmds.c cmdtab.c cu.c hunt.c log.c partab.c \
23         remote.c tip.c tipout.c value.c vars.c
24
25 BINDIR?=        /usr/bin
26 BINOWN=         uucp
27 BINGRP=         dialer
28 #BINMODE?=      4510
29 INSTALLFLAGS=   -fschg
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
34 .include <bsd.prog.mk>