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