1 1.15.32.2 matt # $NetBSD: Makefile.inc,v 1.15.32.2 2009/09/05 03:49:02 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.15.32.1 matt CPUFLAGS+= -G0 7 1.8 thorpej 8 1.15.32.2 matt .if (${CPUFLAGS:M-mabi=64} != "") 9 1.15.32.2 matt CPPFLAGS+= -DELFSIZE=64 10 1.15.32.2 matt .else 11 1.13 skrll CPPFLAGS+= -DELFSIZE=32 12 1.15.32.2 matt .endif 13 1.13 skrll CPPFLAGS+= -DRTLD_INHIBIT_COPY_RELOCS 14 1.15.32.1 matt AFLAGS+= -Wa,--fatal-warnings 15 1.1 mhitch 16 1.15 lukem LDFLAGS+= -Wl,-e,.rtld_start 17