minix/usr.bin/ldd/elf32/Makefile

32 lines
501 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.8 2011/03/09 23:10:08 joerg Exp $
.include <bsd.own.mk>
.include <bsd.init.mk>
RTLD_FUNCS = \
_rtld_tls_allocate \
_rtld_tls_free \
.for _d in ${RTLD_FUNCS}
CPPFLAGS+= -D${_d}=_elf32_${_d}
.endfor
CPPFLAGS+= -DELFSIZE=32
LIB= ldd_elf32
# XXX Force one member
SRCS= dummy.c
LIBISPRIVATE= yes
.PATH: ${.CURDIR}/..
.ifdef MLIBDIR
CPPFLAGS+= -DRTLD_ARCH_SUBDIR=\"${MLIBDIR}\"
.endif
.if ${MACHINE_ARCH} != "alpha"
.include "../Makefile.elf"
.endif
.include <bsd.lib.mk>