Home | History | Annotate | Line # | Download | only in elf64
Makefile revision 1.7
      1 #	$NetBSD: Makefile,v 1.7 2014/03/02 03:55:19 matt 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 ${OBJECT_FMTS:Melf64} != ""
     15 
     16 # XXX we need to make sure that we don't accidentally get the elf32
     17 # XXX versions of these.
     18 
     19 RTLD_FUNCS	= \
     20 	_rtld_expand_path \
     21 	_rtld_digest_dynamic \
     22 	_rtld_digest_phdr \
     23 	_rtld_load_needed_objects \
     24 	_rtld_load_object \
     25 	_rtld_map_object \
     26 	_rtld_obj_free \
     27 	_rtld_obj_new \
     28 	_rtld_add_paths \
     29 	_rtld_process_hints \
     30 	_rtld_sysctl \
     31 	_rtld_tls_allocate \
     32 	_rtld_tls_free \
     33 	_rtld_load_library
     34 
     35 .for _d in ${RTLD_FUNCS}
     36 CPPFLAGS+=	-D${_d}=_elf64_${_d}
     37 .endfor
     38 
     39 .if (${MACHINE_ARCH} == "mips64el") || (${MACHINE_ARCH} == "mips64eb")
     40 CPPFLAGS+=	-DRTLD_ARCH_SUBDIR=\"${MLIBDIR}\"
     41 .endif
     42 
     43 .include "../Makefile.elf"
     44 
     45 .endif
     46 
     47 .include <bsd.lib.mk>
     48