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