freebsd-dev/libexec/rtld-aout/Makefile

19 lines
603 B
Makefile
Raw Normal View History

1999-08-28 00:22:10 +00:00
# $FreeBSD$
1993-11-03 23:41:59 +00:00
PROG= ld.so
SRCS= mdprologue.S rtld.c shlib.c md.c support.c
MAN= rtld.1aout
# As there is relocation going on behind GCC's back, don't cache function addresses.
PICFLAG=-fpic -fno-function-cse
CFLAGS+=-I${.CURDIR} -I${.CURDIR}/${MACHINE_ARCH} ${PICFLAG} -DRTLD -Wall
LDFLAGS+=-nostdlib -Wl,-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
INSTALLFLAGS= -C # -C to install as atomically as possible
PRECIOUSPROG=
MLINKS= rtld.1aout ld.so.1aout
1993-11-03 23:41:59 +00:00
.PATH: ${.CURDIR}/${MACHINE_ARCH}
1993-11-03 23:41:59 +00:00
.include <bsd.prog.mk>