diff options
author | bde <bde@FreeBSD.org> | 1994-08-28 18:49:06 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1994-08-28 18:49:06 +0000 |
commit | 4b07d8e78226e63a874eb615588dd84dbdd8e2e0 (patch) | |
tree | f634567066510cf9e0c3eecd0cb9c32c09d5b419 /libexec | |
parent | b7079cf51c68c5d0d95d1488fe15554bd90c0e45 (diff) | |
download | FreeBSD-src-4b07d8e78226e63a874eb615588dd84dbdd8e2e0.zip FreeBSD-src-4b07d8e78226e63a874eb615588dd84dbdd8e2e0.tar.gz |
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.
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/rtld-aout/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
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: |