Remove building with NOCRYPTO option
[minix.git] / usr.bin / ldd / elf64 / Makefile
blob4b139bac5a3d79bb3566919f732fc6fc9c306014
1 # $NetBSD: Makefile,v 1.8 2014/08/28 12:23:29 joerg Exp $
3 .include <bsd.own.mk>
5 CPPFLAGS+= -DELFSIZE=64
6 LIB= ldd_elf64
8 # XXX Force one member
9 SRCS= dummy.c
11 LIBISPRIVATE= yes
12 .PATH: ${.CURDIR}/..
14 .if ${OBJECT_FMTS:Melf64} != ""
16 # XXX we need to make sure that we don't accidentally get the elf32
17 # XXX versions of these.
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_object_add_name \
29 _rtld_object_match_name \
30 _rtld_add_paths \
31 _rtld_process_hints \
32 _rtld_sysctl \
33 _rtld_tls_allocate \
34 _rtld_tls_free \
35 _rtld_load_library
37 .for _d in ${RTLD_FUNCS}
38 CPPFLAGS+= -D${_d}=_elf64_${_d}
39 .endfor
41 .if (${MACHINE_ARCH} == "mips64el") || (${MACHINE_ARCH} == "mips64eb")
42 CPPFLAGS+= -DRTLD_ARCH_SUBDIR=\"${MLIBDIR}\"
43 .endif
45 .include "../Makefile.elf"
47 .endif
49 .include <bsd.lib.mk>