aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/ld/rtld/Makefile
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1994-08-28 18:49:06 +0000
committerBruce Evans <bde@FreeBSD.org>1994-08-28 18:49:06 +0000
commit2577a8acef31ccb449242f8c073d0b996d8a91f2 (patch)
treef634567066510cf9e0c3eecd0cb9c32c09d5b419 /gnu/usr.bin/ld/rtld/Makefile
parenta8c32ea5a1a64cfc0983402b2ff6a600915fc38b (diff)
downloadsrc-2577a8acef31ccb449242f8c073d0b996d8a91f2.tar.gz
src-2577a8acef31ccb449242f8c073d0b996d8a91f2.zip
Notes
Diffstat (limited to 'gnu/usr.bin/ld/rtld/Makefile')
-rw-r--r--gnu/usr.bin/ld/rtld/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/usr.bin/ld/rtld/Makefile b/gnu/usr.bin/ld/rtld/Makefile
index d77c817921b5..ac6c892ec918 100644
--- a/gnu/usr.bin/ld/rtld/Makefile
+++ b/gnu/usr.bin/ld/rtld/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.10 1994/03/10 23:19:54 ats Exp $
+# $Id: Makefile,v 1.11 1994/08/26 19:11:14 wollman Exp $
PROG= ld.so
SRCS= mdprologue.S rtld.c malloc.c shlib.c etc.c md.c
@@ -9,6 +9,7 @@ PICFLAG=-fpic
CFLAGS+=-I$(LDDIR) -I$(.CURDIR) -I$(LDDIR)/$(MACHINE) $(PICFLAG) -DRTLD
LDFLAGS+=-Bshareable -Bsymbolic -assert nosymbolic
ASFLAGS+=-k
+DPADD+= ${LIBC:S/c.a/c_pic.a/} ${LIBC:S/c.a/gcc_pic.a/}
LDADD+= -lc_pic -lgcc_pic
BINDIR= /usr/libexec
INSTALLFLAGS+= -fschg
@@ -17,7 +18,7 @@ INSTALLFLAGS+= -fschg
.PATH: $(LDDIR) $(LDDIR)/$(MACHINE)
-$(PROG):
+$(PROG): ${OBJS} ${DPADD}
$(LD) -o $(PROG) $(LDFLAGS) $(OBJS) $(LDADD)
.S.o: