Makefile revision 1.8
1#	$NetBSD: Makefile,v 1.8 2011/03/09 23:10:08 joerg Exp $
2
3.include <bsd.own.mk>
4.include <bsd.init.mk>
5
6RTLD_FUNCS	= \
7	_rtld_tls_allocate \
8	_rtld_tls_free \
9
10.for _d in ${RTLD_FUNCS}
11CPPFLAGS+=	-D${_d}=_elf32_${_d}
12.endfor
13
14CPPFLAGS+=	-DELFSIZE=32
15LIB=	ldd_elf32
16
17# XXX Force one member
18SRCS=	dummy.c
19
20LIBISPRIVATE=	yes
21.PATH: ${.CURDIR}/..
22
23.ifdef MLIBDIR
24CPPFLAGS+=	-DRTLD_ARCH_SUBDIR=\"${MLIBDIR}\"
25.endif
26
27.if ${MACHINE_ARCH} != "alpha"
28.include "../Makefile.elf"
29.endif
30
31.include <bsd.lib.mk>
32