2011-03-10 02:10:05 +03:00
|
|
|
# $NetBSD: Makefile,v 1.8 2011/03/09 23:10:08 joerg Exp $
|
2009-01-06 06:59:56 +03:00
|
|
|
|
2009-01-11 06:50:50 +03:00
|
|
|
.include <bsd.own.mk>
|
2009-12-13 11:50:56 +03:00
|
|
|
.include <bsd.init.mk>
|
|
|
|
|
2011-03-10 02:10:05 +03:00
|
|
|
RTLD_FUNCS = \
|
|
|
|
_rtld_tls_allocate \
|
|
|
|
_rtld_tls_free \
|
|
|
|
|
|
|
|
.for _d in ${RTLD_FUNCS}
|
|
|
|
CPPFLAGS+= -D${_d}=_elf32_${_d}
|
|
|
|
.endfor
|
|
|
|
|
2009-01-06 06:59:56 +03:00
|
|
|
CPPFLAGS+= -DELFSIZE=32
|
|
|
|
LIB= ldd_elf32
|
|
|
|
|
2009-01-07 03:39:23 +03:00
|
|
|
# XXX Force one member
|
|
|
|
SRCS= dummy.c
|
|
|
|
|
2009-01-07 10:52:28 +03:00
|
|
|
LIBISPRIVATE= yes
|
2009-01-07 03:39:23 +03:00
|
|
|
.PATH: ${.CURDIR}/..
|
|
|
|
|
2009-12-13 11:50:56 +03:00
|
|
|
.ifdef MLIBDIR
|
|
|
|
CPPFLAGS+= -DRTLD_ARCH_SUBDIR=\"${MLIBDIR}\"
|
2009-01-06 06:59:56 +03:00
|
|
|
.endif
|
|
|
|
|
2009-02-14 16:50:50 +03:00
|
|
|
.if ${MACHINE_ARCH} != "alpha"
|
2009-01-06 06:59:56 +03:00
|
|
|
.include "../Makefile.elf"
|
|
|
|
.endif
|
2009-01-07 03:39:23 +03:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|