Home | History | Annotate | Line # | Download | only in hppa
Makefile.inc revision 1.2
      1 #	$NetBSD: Makefile.inc,v 1.2 2002/09/24 12:12:08 mycroft Exp $
      2 
      3 SRCS+=	rtld_start.S hppa_reloc.c
      4 
      5 # XXX Should not be in CPPFLAGS!
      6 CPPFLAGS+= -fpic
      7 
      8 CPPFLAGS+= -DELFSIZE=32
      9 #CPPFLAGS+= -DRTLD_DEBUG
     10 #CPPFLAGS+= -DRTLD_DEBUG_RELOC
     11 #CPPFLAGS+= -DRTLD_DEBUG_HPPA
     12 
     13 LDFLAGS+= -Bshareable -Bsymbolic -e '$$rtld_start'
     14 LDFLAGS+= --script ${.CURDIR}/arch/hppa/ld.so.script
     15 
     16 # XXX fredette - the libgcc millicode is needed here:
     17 LDADD=`$(CC) -print-libgcc-file-name`
     18