Makefile.inc revision 1.3 1 # $NetBSD: Makefile.inc,v 1.3 2004/02/20 20:58:24 skrll 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