Home | History | Annotate | Line # | Download | only in elf64
Makefile revision 1.4.2.2.4.1
      1  1.4.2.2.4.1    matt #	$NetBSD: Makefile,v 1.4.2.2.4.1 2009/09/05 03:39:26 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  bouyer .if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64") || \
     13  1.4.2.2.4.1    matt     (${MACHINE_ARCH} == "x86_64") || (${MACHINE_ARCH} == "powerpc64") || \
     14  1.4.2.2.4.1    matt     ((${MACHINE_ARCH} == "mips64eb") || (${MACHINE_ARCH} == "mips64el") \
     15  1.4.2.2.4.1    matt      && ${CPUFLAGS:M-mabi=64} != "")
     16      1.4.2.2  bouyer 
     17      1.4.2.2  bouyer # XXX we need to make sure that we don't accidentally get the elf32
     18      1.4.2.2  bouyer # XXX versions of these.
     19      1.4.2.2  bouyer 
     20      1.4.2.2  bouyer RTLD_FUNCS	= \
     21      1.4.2.2  bouyer 	_rtld_expand_path \
     22      1.4.2.2  bouyer 	_rtld_digest_dynamic \
     23      1.4.2.2  bouyer 	_rtld_digest_phdr \
     24      1.4.2.2  bouyer 	_rtld_load_needed_objects \
     25      1.4.2.2  bouyer 	_rtld_load_object \
     26      1.4.2.2  bouyer 	_rtld_map_object \
     27      1.4.2.2  bouyer 	_rtld_obj_free \
     28      1.4.2.2  bouyer 	_rtld_obj_new \
     29      1.4.2.2  bouyer 	_rtld_add_paths \
     30      1.4.2.2  bouyer 	_rtld_process_hints \
     31      1.4.2.2  bouyer 	_rtld_sysctl \
     32      1.4.2.2  bouyer 	_rtld_load_library
     33      1.4.2.2  bouyer 
     34      1.4.2.2  bouyer .for _d in ${RTLD_FUNCS}
     35      1.4.2.2  bouyer CPPFLAGS+=	-D${_d}=_elf64_${_d}
     36      1.4.2.2  bouyer .endfor
     37      1.4.2.2  bouyer 
     38      1.4.2.2  bouyer .include "../Makefile.elf"
     39      1.4.2.2  bouyer 
     40      1.4.2.2  bouyer .endif
     41      1.4.2.2  bouyer 
     42      1.4.2.2  bouyer .include <bsd.lib.mk>
     43