summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mrouted/mrinfo
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/mrinfo
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/mrinfo')
-rw-r--r--usr.sbin/mrouted/mrinfo/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/usr.sbin/mrouted/mrinfo/Makefile b/usr.sbin/mrouted/mrinfo/Makefile
index 606a9fd..0c4d3fc 100644
--- a/usr.sbin/mrouted/mrinfo/Makefile
+++ b/usr.sbin/mrouted/mrinfo/Makefile
@@ -1,21 +1,14 @@
-# $Id: Makefile,v 1.7 1997/02/22 16:07:29 peter Exp $
+# $Id: Makefile,v 1.8 1997/12/17 15:11:43 bde Exp $
PROG= mrinfo
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= mrinfo.c
-MAN8= ${.CURDIR}/../mrinfo.8
+MAN8= mrinfo.8
BINOWN= root
BINMODE=4555
OpenPOWER on IntegriCloud