diff options
author | nate <nate@FreeBSD.org> | 1995-03-04 17:49:20 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1995-03-04 17:49:20 +0000 |
commit | b9aa930e449daf128eaaacfe2814dbb378708094 (patch) | |
tree | b4f43ec68fa745cd1357a92fb82d40f827150f50 /libexec/rtld-aout/Makefile | |
parent | 44a74d9438343e917536adbb0ef1d2da66f7f761 (diff) | |
download | FreeBSD-src-b9aa930e449daf128eaaacfe2814dbb378708094.zip FreeBSD-src-b9aa930e449daf128eaaacfe2814dbb378708094.tar.gz |
Weak symbol support from NetBSD. This should bring us in sync with the
NetBSD ld code except for local changes for dlopen() and friends and
the hashing on the minor value of the shlibs. We should be binary
compatible now with all their libraries.
Obtained from: NetBSD
Diffstat (limited to 'libexec/rtld-aout/Makefile')
-rw-r--r-- | libexec/rtld-aout/Makefile | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/libexec/rtld-aout/Makefile b/libexec/rtld-aout/Makefile index d8c9165..7c81145 100644 --- a/libexec/rtld-aout/Makefile +++ b/libexec/rtld-aout/Makefile @@ -1,10 +1,9 @@ -# $Id: Makefile,v 1.12 1994/08/28 18:48:32 bde Exp $ +# $Id: Makefile,v 1.13 1994/09/18 19:41:38 swallace Exp $ PROG= ld.so SRCS= mdprologue.S rtld.c malloc.c shlib.c etc.c md.c NOMAN= noman LDDIR?= $(.CURDIR)/.. -#PICFLAG=-pic PICFLAG=-fpic CFLAGS+=-I$(LDDIR) -I$(.CURDIR) -I$(LDDIR)/$(MACHINE) $(PICFLAG) -DRTLD LDFLAGS+=-Bshareable -Bsymbolic -assert nosymbolic @@ -14,18 +13,9 @@ LDADD+= -lc_pic -lgcc_pic BINDIR= /usr/libexec INSTALLFLAGS+= -fschg -.SUFFIXES: .S - .PATH: $(LDDIR) $(LDDIR)/$(MACHINE) $(PROG): ${OBJS} ${DPADD} - $(LD) -o $(PROG) $(LDFLAGS) $(OBJS) $(LDDESTDIR) $(LDADD) - -.S.o: -.if defined(DESTDIR) - ${CPP} -I${DESTDIR}/usr/include ${.IMPSRC} | ${AS} ${ASFLAGS} -o ${.TARGET} - -.else - ${CPP} ${.IMPSRC} | ${AS} ${ASFLAGS} -o ${.TARGET} - -.endif + $(LD) -o $(PROG) $(LDFLAGS) $(OBJS) $(LDADD) .include <bsd.prog.mk> |