1 # $NetBSD: Makefile,v 1.4 2009/01/11 05:01:34 christos Exp $
5 CPPFLAGS
+= -DELFSIZE
=64
14 .if
(${MACHINE_ARCH} == "alpha") ||
(${MACHINE_ARCH} == "sparc64") || \
15 (${MACHINE_ARCH} == "x86_64") ||
(${MACHINE_ARCH} == "powerpc64") || \
16 (${MACHINE_ARCH} == "mips64el") ||
(${MACHINE_ARCH} == "mips64eb")
18 # XXX we need to make sure that we don't accidentally get the elf32
19 # XXX versions of these.
23 _rtld_digest_dynamic \
25 _rtld_load_needed_objects \
35 .for _d in
${RTLD_FUNCS}
36 CPPFLAGS
+= -D
${_d}=_elf64_
${_d}
39 .if
(${MACHINE_ARCH} == "mips64el") ||
(${MACHINE_ARCH} == "mips64eb")
40 CPPFLAGS
+= -DRTLD_ARCH_SUBDIR
=\"${MLIBDIR}\"
43 .
include "../Makefile.elf"