summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mrouted/map-mbone
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-03-07 09:49:12 +0000
committerbde <bde@FreeBSD.org>1998-03-07 09:49:12 +0000
commitd3607b7ed922720a17174f18b989376a78a77a91 (patch)
tree1c24c45597a7d232df365c6114ec3143df8458d4 /usr.sbin/mrouted/map-mbone
parent2f15ee67243320d906c911e1d8c24806b7bc4ed2 (diff)
downloadFreeBSD-src-d3607b7ed922720a17174f18b989376a78a77a91.zip
FreeBSD-src-d3607b7ed922720a17174f18b989376a78a77a91.tar.gz
Use `foo/bar.a' instead of `-Lfoo -lbar' for linking to static internal
libraries so that `ld -f' in can create correct dependencies for yet-to-be-built libraries. Get the default BINDIR correctly (by including ../Makefile.inc recursively. Override the default it it is wrong. Don't override defaults when the defaults are correct. Don't give absolute paths to man page sources.
Diffstat (limited to 'usr.sbin/mrouted/map-mbone')
-rw-r--r--usr.sbin/mrouted/map-mbone/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/usr.sbin/mrouted/map-mbone/Makefile b/usr.sbin/mrouted/map-mbone/Makefile
index 2d7bf2f..862ad29 100644
--- a/usr.sbin/mrouted/map-mbone/Makefile
+++ b/usr.sbin/mrouted/map-mbone/Makefile
@@ -1,20 +1,14 @@
-# $Id: Makefile,v 1.5 1997/02/22 16:07:26 peter Exp $
+# $Id: Makefile,v 1.6 1997/12/17 15:11:42 bde Exp $
PROG= map-mbone
S= ${.CURDIR}/..
.PATH: $S
CFLAGS+= -I$S
-.if exists(${.OBJDIR}/../common)
-LDADD+= -L${.OBJDIR}/../common
-DPADD+= ${.OBJDIR}/../common/libmrouted.a
-.else
-LDADD+= -L$S/common
-DPADD+= $S/common/libmrouted.a
-.endif
-LDADD+= -lmrouted
+DPADD= ${LIBMROUTED}
+LDADD= ${LIBMROUTED}
SRCS= mapper.c
-MAN8= ${.CURDIR}/../map-mbone.8
+MAN8= map-mbone.8
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud