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