From 4b07d8e78226e63a874eb615588dd84dbdd8e2e0 Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 28 Aug 1994 18:49:06 +0000 Subject: Add dependencies on libraries to DPADD. Someday this should be done automagically. -lfoo has to be right to work, but ${LIBFO0} is too easy to forget or misspell; nothing checks it and it should be different for shared libraries. --- libexec/rtld-aout/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libexec') diff --git a/libexec/rtld-aout/Makefile b/libexec/rtld-aout/Makefile index d77c817..ac6c892 100644 --- a/libexec/rtld-aout/Makefile +++ b/libexec/rtld-aout/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: -- cgit v1.1