1999-06-07 22:04:31 +04:00
|
|
|
# $NetBSD: Makefile.inc,v 1.7 1999/06/07 18:04:31 castor Exp $
|
1998-03-25 07:12:32 +03:00
|
|
|
|
|
|
|
SRCS+= rtld_start.S mips_reloc.c
|
|
|
|
|
|
|
|
CPPFLAGS+= -mabicalls -G0 -fPIC -DELFSIZE=32 -I${.CURDIR}
|
1999-02-27 13:44:26 +03:00
|
|
|
CPPFLAGS+= -DRTLD_INHIBIT_COPY_RELOCS
|
1998-03-25 07:12:32 +03:00
|
|
|
|
1999-06-07 22:04:31 +04:00
|
|
|
.if (${MACHINE_ARCH} == "mipseb")
|
1998-03-25 07:12:32 +03:00
|
|
|
# UGH! ld.so.script specifies little-endian; need to override that here
|
|
|
|
LDFLAGS+= -EB
|
|
|
|
.endif
|
|
|
|
|
1998-03-26 10:36:30 +03:00
|
|
|
LDFLAGS+= -Bshareable -Bsymbolic -e .rtld_start
|
1999-01-16 17:59:03 +03:00
|
|
|
LDFLAGS+= --script ${.CURDIR}/arch/mips/ld.so.script
|