NetBSD/libexec/ld.elf_so/mips/Makefile.inc
mhitch e8c1659e9a ${DESTDIR} isn't needed - which isn't what the example in
/usr/share/mk/bsd.README seems to indicate.
1998-05-11 19:30:15 +00:00

17 lines
486 B
Makefile

# $NetBSD: Makefile.inc,v 1.3 1998/05/11 19:30:15 mhitch Exp $
SRCS+= rtld_start.S mips_reloc.c
CPPFLAGS+= -mabicalls -G0 -fPIC -DELFSIZE=32 -I${.CURDIR}
.if (${MACHINE} == "newsmips")
# UGH! ld.so.script specifies little-endian; need to override that here
LDFLAGS+= -EB
.endif
LDFLAGS+= -Bshareable -Bsymbolic -e .rtld_start
LDFLAGS+= --script ${.CURDIR}/mips/ld.so.script
# Link ld.so for backward compatibility with old binaries
LINKS+= /usr/libexec/${PROG} /usr/libexec/ld.so