25 lines
526 B
Makefile
25 lines
526 B
Makefile
# $NetBSD: Makefile,v 1.25 2012/08/23 21:21:16 joerg Exp $
|
|
|
|
.include <bsd.own.mk> # For MKPIC
|
|
.include <bsd.shlib.mk>
|
|
|
|
.if ${MKPIC} != "no" && \
|
|
(${MACHINE_ARCH} == "arm" || \
|
|
${MACHINE_ARCH} == "i386" || \
|
|
${MACHINE_ARCH} == "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>
|