From d3607b7ed922720a17174f18b989376a78a77a91 Mon Sep 17 00:00:00 2001 From: bde Date: Sat, 7 Mar 1998 09:49:12 +0000 Subject: 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. --- usr.sbin/mrouted/map-mbone/Makefile | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'usr.sbin/mrouted/map-mbone') 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 -- cgit v1.1