diff options
author | Paul Richards <paul@FreeBSD.org> | 1993-11-03 23:41:59 +0000 |
---|---|---|
committer | Paul Richards <paul@FreeBSD.org> | 1993-11-03 23:41:59 +0000 |
commit | b9ae52e32a22d27416486dd65ba51ac1052384f4 (patch) | |
tree | ae9c655d7f7352058dd703d580c1f70430c1e5f7 /libexec/rtld-aout/Makefile | |
parent | 19bcb5e4a2321c910f9903d39de2957643afeadd (diff) | |
download | src-b9ae52e32a22d27416486dd65ba51ac1052384f4.tar.gz src-b9ae52e32a22d27416486dd65ba51ac1052384f4.zip |
Imported NetBSD's ld for shared libs.
Notes
Notes:
svn path=/head/; revision=696
Diffstat (limited to 'libexec/rtld-aout/Makefile')
-rw-r--r-- | libexec/rtld-aout/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libexec/rtld-aout/Makefile b/libexec/rtld-aout/Makefile new file mode 100644 index 000000000000..ea0260898ce7 --- /dev/null +++ b/libexec/rtld-aout/Makefile @@ -0,0 +1,24 @@ +# $Id: Makefile,v 1.2 1993/10/27 00:55:24 pk Exp $ + +PROG= ld.so +SRCS= mdprologue.S rtld.c shlib.c etc.c md.c +NOMAN= noman +LDDIR?= $(.CURDIR)/.. +#PICFLAG=-pic +PICFLAG=-fpic +CFLAGS += -I$(LDDIR) -I$(.CURDIR) -I$(LDDIR)/$(MACHINE) -O $(PICFLAG) -DRTLD +LDFLAGS = -Bshareable -Bsymbolic -assert nosymbolic +LIBS = -lc_pic +BINDIR= /usr/libexec + +.PATH: $(LDDIR) $(LDDIR)/$(MACHINE) + +.SUFFIXES: .S + +$(PROG): + $(LD) -o $(PROG) $(LDFLAGS) $(OBJS) $(LIBS) + +.S.o: + $(CPP) $(.IMPSRC) | $(AS) -k -o $(.TARGET) - + +.include <bsd.prog.mk> |