diff options
author | jkh <jkh@FreeBSD.org> | 1995-04-01 09:14:37 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-04-01 09:14:37 +0000 |
commit | a772acc31c532c77d31cda39d74c027ccdaeca83 (patch) | |
tree | 68ae85c96cb48dbc9d1c7ca7e90d9cc04bb7d085 /usr.bin/tip | |
parent | de0526056f698a8d353d087cba009508d9bd5e20 (diff) | |
download | FreeBSD-src-a772acc31c532c77d31cda39d74c027ccdaeca83.zip FreeBSD-src-a772acc31c532c77d31cda39d74c027ccdaeca83.tar.gz |
Greatly clean up the Makefiles and add a Makefile.inc to more obviously
advertise tip's choice of location and perms.
Diffstat (limited to 'usr.bin/tip')
-rw-r--r-- | usr.bin/tip/Makefile.inc | 5 | ||||
-rw-r--r-- | usr.bin/tip/libacu/Makefile | 4 | ||||
-rw-r--r-- | usr.bin/tip/tip/Makefile | 26 |
3 files changed, 20 insertions, 15 deletions
diff --git a/usr.bin/tip/Makefile.inc b/usr.bin/tip/Makefile.inc new file mode 100644 index 0000000..4a9bb26 --- /dev/null +++ b/usr.bin/tip/Makefile.inc @@ -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 diff --git a/usr.bin/tip/libacu/Makefile b/usr.bin/tip/libacu/Makefile index 12a2e44..77a95cd 100644 --- a/usr.bin/tip/libacu/Makefile +++ b/usr.bin/tip/libacu/Makefile @@ -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 diff --git a/usr.bin/tip/tip/Makefile b/usr.bin/tip/tip/Makefile index 39b89b0..e513746 100644 --- a/usr.bin/tip/tip/Makefile +++ b/usr.bin/tip/tip/Makefile @@ -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> |