Home | History | Annotate | Line # | Download | only in elf64
Makefile revision 1.2
      1 #	$NetBSD: Makefile,v 1.2 2009/01/07 00:39:24 mrg Exp $
      2 
      3 CPPFLAGS+=	-DELFSIZE=64
      4 LIB=	ldd_elf64
      5 
      6 # XXX Force one member
      7 SRCS=	dummy.c
      8 
      9 .PATH: ${.CURDIR}/..
     10 
     11 .if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64") || \
     12     (${MACHINE_ARCH} == "x86_64") || (${MACHINE_ARCH} == "powerpc64")
     13 
     14 # XXX we need to make sure that we don't accidentally get the elf32
     15 # XXX versions of these.
     16 
     17 RTLD_FUNCS	= \
     18 	_rtld_expand_path \
     19 	_rtld_digest_dynamic \
     20 	_rtld_digest_phdr \
     21 	_rtld_load_needed_objects \
     22 	_rtld_load_object \
     23 	_rtld_map_object \
     24 	_rtld_obj_free \
     25 	_rtld_obj_new \
     26 	_rtld_add_paths \
     27 	_rtld_process_hints \
     28 	_rtld_sysctl \
     29 	_rtld_load_library
     30 
     31 .for _d in ${RTLD_FUNCS}
     32 CPPFLAGS+=	-D${_d}=_elf64_${_d}
     33 .endfor
     34 
     35 .include "../Makefile.elf"
     36 
     37 .endif
     38 
     39 .include <bsd.lib.mk>
     40