1# $NetBSD: Makefile,v 1.22 2008/10/31 20:24:52 mrg Exp $ 2 3.include <bsd.own.mk> # For MKPIC 4.include <bsd.shlib.mk> 5 6.if ${MKPIC} != "no" && \ 7 (${MACHINE_ARCH} == "arm" || \ 8 ${MACHINE_ARCH} == "i386" || \ 9 ${MACHINE_ARCH} == "m68k" || \ 10 ${MACHINE_ARCH} == "sparc" || \ 11 ${MACHINE_ARCH} == "vax") 12 13PROG= ldconfig 14SRCS= ldconfig.c shlib.c 15 16.if ${SHLIBINSTALLDIR} != ${LIBDIR} 17CPPFLAGS+=-DSTANDARD_SEARCH_DIRS=\"${SHLIBINSTALLDIR}\",\"${LIBDIR}\" 18.endif 19 20.endif 21 22MAN= ldconfig.8 23 24.include <bsd.prog.mk> 25