NetBSD/sbin/ldconfig/Makefile

29 lines
668 B
Makefile
Raw Normal View History

2002-11-12 17:33:48 +03:00
# $NetBSD: Makefile,v 1.21 2002/11/12 14:33:49 itohy Exp $
.include <bsd.own.mk> # For OBJECT_FMT
2002-11-12 17:33:48 +03:00
.include <bsd.shlib.mk>
.if (${OBJECT_FMT} == "a.out" || \
(${OBJECT_FMT} == "ELF" && \
(${MACHINE_ARCH} == "arm" || \
${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "m68k" || \
${MACHINE_ARCH} == "sparc" || \
${MACHINE_ARCH} == "vax")))
PROG= ldconfig
1998-12-16 01:49:42 +03:00
SRCS= ldconfig.c shlib.c
CPPFLAGS += -I${NETBSDSRCDIR}/libexec/ld.aout_so
.PATH: ${NETBSDSRCDIR}/libexec/ld.aout_so
1997-06-23 17:25:41 +04:00
2002-11-12 17:33:48 +03:00
.if ${SHLIBINSTALLDIR} != ${LIBDIR}
CPPFLAGS+=-DSTANDARD_SEARCH_DIRS=\"${SHLIBINSTALLDIR}\",\"${LIBDIR}\"
.endif
.endif
1994-12-22 12:31:26 +03:00
MAN= ldconfig.8
.include <bsd.prog.mk>