Drop main() prototype. Syncs with NetBSD-8
[minix.git] / usr.bin / ldd / elf32 / Makefile
blob77abce3ac2d678347b99c893fbd80b6cab16c8b7
1 # $NetBSD: Makefile,v 1.9 2014/03/02 03:55:19 matt Exp $
3 .include <bsd.own.mk>
4 .include <bsd.init.mk>
6 RTLD_FUNCS = \
7 _rtld_tls_allocate \
8 _rtld_tls_free \
10 .for _d in ${RTLD_FUNCS}
11 CPPFLAGS+= -D${_d}=_elf32_${_d}
12 .endfor
14 CPPFLAGS+= -DELFSIZE=32
15 LIB= ldd_elf32
17 # XXX Force one member
18 SRCS= dummy.c
20 LIBISPRIVATE= yes
21 .PATH: ${.CURDIR}/..
23 .ifdef MLIBDIR
24 CPPFLAGS+= -DRTLD_ARCH_SUBDIR=\"${MLIBDIR}\"
25 .endif
27 .if ${OBJECT_FMTS:Melf32} != ""
28 .include "../Makefile.elf"
29 .endif
31 .include <bsd.lib.mk>