1 1.18 mrg # $NetBSD: Makefile.inc,v 1.18 2009/12/18 17:10:07 mrg Exp $ 2 1.1 mhitch 3 1.13 skrll SRCS+= rtld_start.S mips_reloc.c 4 1.1 mhitch 5 1.18 mrg COPTS+= -G0 6 1.8 thorpej 7 1.18 mrg ABI64?= ${CFLAGS:M-mabi=64} 8 1.18 mrg ABIO64?= ${CFLAGS:M-mabi=o64} 9 1.18 mrg .if !empty(ABI64) || !empty(ABIO64) 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