1 # $NetBSD: Makefile.inc,v 1.19 2010/07/11 07:43:12 mrg Exp $
3 SRCS+= rtld_start.S mips_reloc.c
7 ABI64?= ${CFLAGS:M-mabi=64} ${CPPFLAGS:M-mabi=64} ${COPTS:M-mabi=64}
8 ABIO64?= ${CFLAGS:M-mabi=o64} ${CPPFLAGS:M-mabi=o64} ${COPTS:M-mabi=o64}
9 .if !empty(ABI64) || !empty(ABIO64)
10 CPPFLAGS+= -DELFSIZE=64
12 CPPFLAGS+= -DELFSIZE=32
14 CPPFLAGS+= -DRTLD_INHIBIT_COPY_RELOCS
15 AFLAGS+= -Wa,--fatal-warnings
17 LDFLAGS+= -Wl,-e,rtld_start