This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
32 lines
501 B
Makefile
32 lines
501 B
Makefile
# $NetBSD: Makefile,v 1.9 2014/03/02 03:55:19 matt 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 ${OBJECT_FMTS:Melf32} != ""
|
|
.include "../Makefile.elf"
|
|
.endif
|
|
|
|
.include <bsd.lib.mk>
|