Home | History | Annotate | Line # | Download | only in mips
Makefile.inc revision 1.1
      1 #	$NetBSD: Makefile.inc,v 1.1 1998/03/25 04:12:32 mhitch Exp $
      2 
      3 SRCS+=	rtld_start.S mips_reloc.c
      4 
      5 CPPFLAGS+= -mabicalls -G0 -fPIC -DELFSIZE=32 -I${.CURDIR}
      6 
      7 .if (${MACHINE} == "newsmips")
      8 # UGH!  ld.so.script specifies little-endian; need to override that here
      9 LDFLAGS+= -EB
     10 .endif
     11 
     12 LDFLAGS+= -Bshareable -Bsymbolic -e .rtld_start --script mips/ld.so.script
     13 
     14 # Link ld.so for backward compatibility with old binaries
     15 LINKS+=	${DESTDIR}/usr/libexec/${PROG} ${DESTDIR}/usr/libexec/ld.so
     16