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