NetBSD/libexec/ld.elf_so/arch/hppa/Makefile.inc

18 lines
469 B
Makefile

# $NetBSD: Makefile.inc,v 1.1 2002/07/10 15:12:37 fredette Exp $
SRCS+= rtld_start.S hppa_reloc.c
# XXX Should not be in CPPFLAGS!
CPPFLAGS+= -fpic
CPPFLAGS+= -DELFSIZE=32 #-DVARPSZ
#CPPFLAGS+= -DRTLD_DEBUG
#CPPFLAGS+= -DRTLD_DEBUG_RELOC
#CPPFLAGS+= -DRTLD_DEBUG_HPPA
LDFLAGS+= -Bshareable -Bsymbolic -e '$$rtld_start'
LDFLAGS+= --script ${.CURDIR}/arch/hppa/ld.so.script
# XXX fredette - the libgcc millicode is needed here:
LDADD=`$(CC) -print-libgcc-file-name`