Makefile revision 1.1
1#	$NetBSD: Makefile,v 1.1 2009/01/06 03:59:56 mrg Exp $
2
3.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64") || \
4    (${MACHINE_ARCH} == "x86_64") || (${MACHINE_ARCH} == "powerpc64")
5
6CPPFLAGS+=	-DELFSIZE=64
7LIB=	ldd_elf64
8
9# XXX we need to make sure that we don't accidentally get the elf32
10# XXX versions of these.
11
12RTLD_FUNCS	= \
13	_rtld_expand_path \
14	_rtld_digest_dynamic \
15	_rtld_digest_phdr \
16	_rtld_load_needed_objects \
17	_rtld_load_object \
18	_rtld_map_object \
19	_rtld_obj_free \
20	_rtld_obj_new \
21	_rtld_add_paths \
22	_rtld_process_hints \
23	_rtld_sysctl \
24	_rtld_load_library
25
26.for _d in ${RTLD_FUNCS}
27CPPFLAGS+=	-D${_d}=_elf64_${_d}
28.endfor
29
30.include "../Makefile.elf"
31
32.endif
33