1 # $NetBSD: Makefile.inc,v 1.7 1999/06/07 18:04:31 castor Exp $ 2 3 SRCS+= rtld_start.S mips_reloc.c 4 5 CPPFLAGS+= -mabicalls -G0 -fPIC -DELFSIZE=32 -I${.CURDIR} 6 CPPFLAGS+= -DRTLD_INHIBIT_COPY_RELOCS 7 8 .if (${MACHINE_ARCH} == "mipseb") 9 # UGH! ld.so.script specifies little-endian; need to override that here 10 LDFLAGS+= -EB 11 .endif 12 13 LDFLAGS+= -Bshareable -Bsymbolic -e .rtld_start 14 LDFLAGS+= --script ${.CURDIR}/arch/mips/ld.so.script 15