Home | History | Annotate | Line # | Download | only in ldconfig
      1 #	$NetBSD: Makefile,v 1.28 2014/03/18 18:20:39 riastradh Exp $
      2 
      3 .include <bsd.own.mk>   # For MKPIC
      4 .include <bsd.shlib.mk>
      5 .include <bsd.endian.mk>
      6 
      7 .if ${MKPIC} != "no" && \
      8     ((${MACHINE_CPU} == "arm" && ${TARGET_ENDIANNESS} == "1234") || \
      9      ${MACHINE_ARCH} == "i386" ||	\
     10      ${MACHINE_CPU} == "m68k" ||	\
     11      ${MACHINE_ARCH} == "sparc" ||	\
     12      ${MACHINE_ARCH} == "vax")
     13 
     14 PROG=	ldconfig
     15 SRCS=	ldconfig.c shlib.c
     16 
     17 .if ${SHLIBINSTALLDIR} != ${LIBDIR}
     18 CPPFLAGS+=-DSTANDARD_SEARCH_DIRS=\"${SHLIBINSTALLDIR}\",\"${LIBDIR}\"
     19 .endif
     20 
     21 .endif
     22 
     23 MAN=	ldconfig.8
     24 
     25 .include <bsd.prog.mk>
     26