1 1.17 matt # $NetBSD: Makefile.inc,v 1.17 2009/12/14 00:41:18 matt Exp $ 2 1.1 mhitch 3 1.13 skrll SRCS+= rtld_start.S mips_reloc.c 4 1.1 mhitch 5 1.9 thorpej # XXX Should not be in CPPFLAGS! 6 1.17 matt CPUFLAGS+= -G0 7 1.8 thorpej 8 1.17 matt ABI64?= ${CPUFLAGS:M-mabi=64:M-mabi=o64} 9 1.17 matt .if !empty(ABI64) 10 1.17 matt CPPFLAGS+= -DELFSIZE=64 11 1.17 matt .else 12 1.13 skrll CPPFLAGS+= -DELFSIZE=32 13 1.17 matt .endif 14 1.13 skrll CPPFLAGS+= -DRTLD_INHIBIT_COPY_RELOCS 15 1.17 matt AFLAGS+= -Wa,--fatal-warnings 16 1.1 mhitch 17 1.16 skrll LDFLAGS+= -Wl,-e,rtld_start 18