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
|
LIB= acu
|
||||||
CFLAGS+= -g -I${.CURDIR}/../tip
|
CFLAGS+= -I${.CURDIR}/../tip
|
||||||
SRCS= acucommon.c biz22.c courier.c df.c dn11.c hayes.c \
|
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
|
multitech.c t3000.c tod.c unidialer.c v3451.c v831.c ventel.c
|
||||||
NOPROFILE= yes
|
NOPROFILE= yes
|
||||||
|
@ -7,18 +7,18 @@
|
|||||||
# /var/log/aculog ACU accounting file, owned by ${OWNER} and
|
# /var/log/aculog ACU accounting file, owned by ${OWNER} and
|
||||||
# mode 6?? {if ACULOG defined}
|
# mode 6?? {if ACULOG defined}
|
||||||
|
|
||||||
CFLAGS+=-g
|
.if exists(${.CURDIR}/../libacu/obj)
|
||||||
LIBACU=../libacu/libacu.a
|
LIBACU=${.CURDIR}/../libacu/obj/libacu.a
|
||||||
BINDIR=/usr/bin
|
.else
|
||||||
BINOWN=uucp
|
LIBACU=${.CURDIR}/../libacu/libacu.a
|
||||||
BINGRP=dialer
|
.endif
|
||||||
BINMODE=4510
|
|
||||||
LDADD+=$(LIBACU)
|
PROG= tip
|
||||||
LINKS=${BINDIR}/tip
|
LDADD+= $(LIBACU)
|
||||||
MAN1=tip.1
|
LINKS= ${BINDIR}/tip
|
||||||
MAN5=modems.5
|
MAN1= tip.1
|
||||||
SRCS=acu.c acutab.c cmds.c cmdtab.c cu.c hunt.c log.c partab.c \
|
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
|
remote.c tip.c tipout.c uucplock.c value.c vars.c
|
||||||
PROG=tip
|
|
||||||
$(OBJS): tipconf.h
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user