aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1998-06-01 14:08:01 +0000
committerPeter Wemm <peter@FreeBSD.org>1998-06-01 14:08:01 +0000
commit7ef7c681ba480a932de025ca61e00430688b7be4 (patch)
treefe7b5c29c825156f5c432ec19109173a07864bce
parentaf6b4e90980a1f41d9a77a55cf29421a2a00b1f3 (diff)
Look for files in their new locations.
Notes
Notes: svn path=/head/; revision=36568
-rw-r--r--gnu/usr.bin/ld/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/gnu/usr.bin/ld/Makefile b/gnu/usr.bin/ld/Makefile
index a782641d62d1..c33c02984f5c 100644
--- a/gnu/usr.bin/ld/Makefile
+++ b/gnu/usr.bin/ld/Makefile
@@ -1,21 +1,17 @@
-# $Id: Makefile,v 1.22 1997/06/29 21:36:33 bde Exp $
+# $Id: Makefile,v 1.23 1998/05/25 17:34:37 sos Exp $
#
+RTLD= ${.CURDIR}/../../../libexec/rtld-aout
+GCCDIR= ${.CURDIR}/../../../contrib/gcc
+
PROG= ld
BINDIR= /usr/libexec/aout
SRCS= ld.c symbol.c lib.c shlib.c warnings.c support.c rrs.c xbits.c md.c \
cplus-dem.c
-CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/$(MACHINE) \
- -I$(GCCDIR) -DIN_GCC -DDEMANGLE_CPLUSPLUS
+CFLAGS+= -I${.CURDIR} -I${RTLD} -I${RTLD}/${MACHINE} \
+ -I${GCCDIR} -DIN_GCC -DDEMANGLE_CPLUSPLUS
NOSHARED?= yes
-GCCDIR= ${.CURDIR}/../../../contrib/gcc
-
-SUBDIR= ldconfig ldd
-.if !defined(NOPIC)
-SUBDIR+= rtld
-.endif
-
-.PATH: $(.CURDIR)/$(MACHINE) $(GCCDIR)
+.PATH: ${RTLD} ${RTLD}/${MACHINE} ${GCCDIR}
.include <bsd.prog.mk>