6 SRCS
= crunchide.c exec_aout.c exec_coff.c exec_ecoff.c exec_elf32.c \
9 .if
${MACHINE_ARCH} == "alpha"
10 CPPFLAGS
+=-DNLIST_ELF64
-DNLIST_ECOFF
11 .elif
${MACHINE_ARCH} == "mips" || \
12 ${MACHINE_ARCH} == "mipsel" || \
13 ${MACHINE_ARCH} == "mipseb" || \
14 ${MACHINE_ARCH} == "powerpc"
15 CPPFLAGS
+=-DNLIST_ELF32
16 .elif
${MACHINE_ARCH} == "sh3eb" ||
${MACHINE_ARCH} == "sh3el"
17 CPPFLAGS
+=-DNLIST_ELF32
-DNLIST_COFF
18 .elif
${MACHINE_ARCH} == "mips64el" || \
19 ${MACHINE_ARCH} == "mips64eb" || \
20 ${MACHINE_ARCH} == "powerpc64" || \
21 ${MACHINE_ARCH} == "x86_64"
22 CPPFLAGS
+=-DNLIST_ELF32
-DNLIST_ELF64
23 .elif
${MACHINE_ARCH} == "sparc64"
24 CPPFLAGS
+=-DNLIST_AOUT
-DNLIST_ELF32
-DNLIST_ELF64
25 .elif
${MACHINE_CPU} == "arm" || \
26 ${MACHINE_ARCH} == "i386" || \
27 ${MACHINE_ARCH} == "m68k" || \
28 ${MACHINE_ARCH} == "m68000" || \
29 ${MACHINE_ARCH} == "sparc"
30 CPPFLAGS
+=-DNLIST_AOUT
-DNLIST_ELF32
32 CPPFLAGS
+=-DNLIST_AOUT
35 .
include <bsd.prog.mk
>