NetBSD/sbin/ldconfig/Makefile

26 lines
589 B
Makefile

# $NetBSD: Makefile,v 1.28 2014/03/18 18:20:39 riastradh Exp $
.include <bsd.own.mk> # For MKPIC
.include <bsd.shlib.mk>
.include <bsd.endian.mk>
.if ${MKPIC} != "no" && \
((${MACHINE_CPU} == "arm" && ${TARGET_ENDIANNESS} == "1234") || \
${MACHINE_ARCH} == "i386" || \
${MACHINE_CPU} == "m68k" || \
${MACHINE_ARCH} == "sparc" || \
${MACHINE_ARCH} == "vax")
PROG= ldconfig
SRCS= ldconfig.c shlib.c
.if ${SHLIBINSTALLDIR} != ${LIBDIR}
CPPFLAGS+=-DSTANDARD_SEARCH_DIRS=\"${SHLIBINSTALLDIR}\",\"${LIBDIR}\"
.endif
.endif
MAN= ldconfig.8
.include <bsd.prog.mk>