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