Makefile revision 1.1
11.1Smrg# $NetBSD: Makefile,v 1.1 2009/01/06 03:59:56 mrg Exp $ 21.1Smrg 31.1Smrg.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64") || \ 41.1Smrg (${MACHINE_ARCH} == "x86_64") || (${MACHINE_ARCH} == "powerpc64") 51.1Smrg 61.1SmrgCPPFLAGS+= -DELFSIZE=64 71.1SmrgLIB= ldd_elf64 81.1Smrg 91.1Smrg# XXX we need to make sure that we don't accidentally get the elf32 101.1Smrg# XXX versions of these. 111.1Smrg 121.1SmrgRTLD_FUNCS = \ 131.1Smrg _rtld_expand_path \ 141.1Smrg _rtld_digest_dynamic \ 151.1Smrg _rtld_digest_phdr \ 161.1Smrg _rtld_load_needed_objects \ 171.1Smrg _rtld_load_object \ 181.1Smrg _rtld_map_object \ 191.1Smrg _rtld_obj_free \ 201.1Smrg _rtld_obj_new \ 211.1Smrg _rtld_add_paths \ 221.1Smrg _rtld_process_hints \ 231.1Smrg _rtld_sysctl \ 241.1Smrg _rtld_load_library 251.1Smrg 261.1Smrg.for _d in ${RTLD_FUNCS} 271.1SmrgCPPFLAGS+= -D${_d}=_elf64_${_d} 281.1Smrg.endfor 291.1Smrg 301.1Smrg.include "../Makefile.elf" 311.1Smrg 321.1Smrg.endif 33