1 # $NetBSD: Makefile,v 1.21 2002/11/12 14:33:49 itohy Exp $
3 .
include <bsd.own.mk
> # For OBJECT_FMT
4 .
include <bsd.shlib.mk
>
6 .if
${MKPIC} != "no" && \
7 (${OBJECT_FMT} == "a.out" || \
8 (${OBJECT_FMT} == "ELF" && \
9 (${MACHINE_ARCH} == "arm" || \
10 ${MACHINE_ARCH} == "i386" || \
11 ${MACHINE_ARCH} == "m68k" || \
12 ${MACHINE_ARCH} == "sparc" || \
13 ${MACHINE_ARCH} == "vax")))
16 SRCS
= ldconfig.c shlib.c
18 CPPFLAGS
+= -I
${NETBSDSRCDIR}/libexec
/ld.aout_so
19 .PATH
: ${NETBSDSRCDIR}/libexec
/ld.aout_so
21 .if
${SHLIBINSTALLDIR} != ${LIBDIR}
22 CPPFLAGS
+=-DSTANDARD_SEARCH_DIRS
=\"${SHLIBINSTALLDIR}\",\"${LIBDIR}\"
29 .
include <bsd.prog.mk
>