Home | History | Annotate | Line # | Download | only in elf32
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 
      6 RTLD_FUNCS	= \
      7 	_rtld_tls_allocate \
      8 	_rtld_tls_free \
      9 
     10 .for _d in ${RTLD_FUNCS}
     11 CPPFLAGS+=	-D${_d}=_elf32_${_d}
     12 .endfor
     13 
     14 CPPFLAGS+=	-DELFSIZE=32
     15 LIB=	ldd_elf32
     16 
     17 # XXX Force one member
     18 SRCS=	dummy.c
     19 
     20 LIBISPRIVATE=	yes
     21 .PATH: ${.CURDIR}/..
     22 
     23 .ifdef MLIBDIR
     24 CPPFLAGS+=	-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