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