2002-11-12 17:33:48 +03:00
|
|
|
# $NetBSD: Makefile,v 1.21 2002/11/12 14:33:49 itohy Exp $
|
2000-09-29 23:00:59 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk> # For OBJECT_FMT
|
2002-11-12 17:33:48 +03:00
|
|
|
.include <bsd.shlib.mk>
|
2000-09-29 23:00:59 +04:00
|
|
|
|
2001-03-21 17:54:39 +03:00
|
|
|
.if (${OBJECT_FMT} == "a.out" || \
|
|
|
|
(${OBJECT_FMT} == "ELF" && \
|
2002-02-24 06:18:44 +03:00
|
|
|
(${MACHINE_ARCH} == "arm" || \
|
|
|
|
${MACHINE_ARCH} == "i386" || \
|
2001-03-21 17:54:39 +03:00
|
|
|
${MACHINE_ARCH} == "m68k" || \
|
2002-02-24 06:18:44 +03:00
|
|
|
${MACHINE_ARCH} == "sparc" || \
|
|
|
|
${MACHINE_ARCH} == "vax")))
|
1998-03-02 22:42:25 +03:00
|
|
|
|
1993-10-23 03:16:57 +03:00
|
|
|
PROG= ldconfig
|
1998-12-16 01:49:42 +03:00
|
|
|
SRCS= ldconfig.c shlib.c
|
|
|
|
|
2002-08-19 14:16:51 +04:00
|
|
|
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
|
|
|
|
|
2000-09-29 23:00:59 +04:00
|
|
|
.endif
|
|
|
|
|
1994-12-22 12:31:26 +03:00
|
|
|
MAN= ldconfig.8
|
1993-10-23 03:16:57 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|