1 # $NetBSD: Makefile,v 1.1 2011/04/15 08:47:02 plunky Exp $
3 .
include <bsd.own.mk
> # for MKDYNAMICROOT definition
11 .if
(${MACHINE_ARCH} != "alpha")
12 LIB_ELF32DIR
!= cd
${.CURDIR
}/..
/elf32
&& ${PRINTOBJDIR}
13 EXTRA_LIBS
+= ${LIB_ELF32DIR}/libldd_elf32.a
16 .if
(${MACHINE_ARCH} == "mips64el") ||
(${MACHINE_ARCH} == "mips64eb")
17 LIB_ELF32COMPATDIR
!= cd
${.CURDIR
}/..
/elf32_compat
&& ${PRINTOBJDIR}
18 EXTRA_LIBS
+= ${LIB_ELF32COMPATDIR}/libldd_elf32_compat.a
21 .if
(${MACHINE_ARCH} == "alpha") ||
(${MACHINE_ARCH} == "sparc64") || \
22 (${MACHINE_ARCH} == "x86_64") ||
(${MACHINE_ARCH} == "powerpc64") || \
23 (${MACHINE_ARCH} == "mips64el") ||
(${MACHINE_ARCH} == "mips64eb")
24 LIB_ELF64DIR
!= cd
${.CURDIR
}/..
/elf64
&& ${PRINTOBJDIR}
25 EXTRA_LIBS
+= ${LIB_ELF64DIR}/libldd_elf64.a
26 CPPFLAGS.ldd.c
= -DELFSIZE
=64
28 CPPFLAGS.ldd.c
= -DELFSIZE
=32
34 .
include "Makefile.common"
36 .if
(${MKDYNAMICROOT} == "no")
40 .
include <bsd.prog.mk
>