Greatly clean up the Makefiles and add a Makefile.inc to more obviously

advertise tip's choice of location and perms.
This commit is contained in:
Jordan K. Hubbard 1995-04-01 09:14:37 +00:00
parent 3d0b7a8e9f
commit c35cf316d8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7547
3 changed files with 20 additions and 15 deletions

5
usr.bin/tip/Makefile.inc Normal file
View File

@ -0,0 +1,5 @@
# These are mostly just for tip, but they're more visible up here.
BINDIR?= /usr/bin
BINOWN?= uucp
BINGRP?= dialer
BINMODE?= 4510

View File

@ -1,5 +1,5 @@
LIB=acu
CFLAGS+= -g -I${.CURDIR}/../tip
LIB= acu
CFLAGS+= -I${.CURDIR}/../tip
SRCS= acucommon.c biz22.c courier.c df.c dn11.c hayes.c \
multitech.c t3000.c tod.c unidialer.c v3451.c v831.c ventel.c
NOPROFILE= yes

View File

@ -7,18 +7,18 @@
# /var/log/aculog ACU accounting file, owned by ${OWNER} and
# mode 6?? {if ACULOG defined}
CFLAGS+=-g
LIBACU=../libacu/libacu.a
BINDIR=/usr/bin
BINOWN=uucp
BINGRP=dialer
BINMODE=4510
LDADD+=$(LIBACU)
LINKS=${BINDIR}/tip
MAN1=tip.1
MAN5=modems.5
SRCS=acu.c acutab.c cmds.c cmdtab.c cu.c hunt.c log.c partab.c \
.if exists(${.CURDIR}/../libacu/obj)
LIBACU=${.CURDIR}/../libacu/obj/libacu.a
.else
LIBACU=${.CURDIR}/../libacu/libacu.a
.endif
PROG= tip
LDADD+= $(LIBACU)
LINKS= ${BINDIR}/tip
MAN1= tip.1
MAN5= modems.5
SRCS= acu.c acutab.c cmds.c cmdtab.c cu.c hunt.c log.c partab.c \
remote.c tip.c tipout.c uucplock.c value.c vars.c
PROG=tip
$(OBJS): tipconf.h
.include <bsd.prog.mk>