Fix up mix of man(7)/mdoc(7).
[netbsd-mini2440.git] / usr.bin / crunch / crunchide / Makefile
blobf718bdc5cfbae10bbb212f82fe5ae71ca4df3042
1 # $NetBSD$
3 .include <bsd.own.mk>
5 PROG= crunchide
6 SRCS= crunchide.c exec_aout.c exec_coff.c exec_ecoff.c exec_elf32.c \
7 exec_elf64.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
31 .else
32 CPPFLAGS+=-DNLIST_AOUT
33 .endif
35 .include <bsd.prog.mk>