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:
parent
3d0b7a8e9f
commit
c35cf316d8
5
usr.bin/tip/Makefile.inc
Normal file
5
usr.bin/tip/Makefile.inc
Normal 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
|
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user