de57326d461f68348e45b19ac7ffa843b5f4c0bb
[dragonfly.git] / usr.bin / crunch / crunchide / Makefile
1 # $FreeBSD: head/usr.sbin/crunch/crunchide/Makefile 232911 2012-03-13 05:21:14Z jmallett $
2
3 PROG=   crunchide
4 SRCS=   crunchide.c
5
6 TARGET_ARCH?=   ${MACHINE_ARCH}
7
8 .if ${TARGET_ARCH} == ia64 || ${TARGET_ARCH} == powerpc64 || \
9     ${TARGET_ARCH} == sparc64 || ${TARGET_ARCH} == x86_64 || \
10     ${TARGET_ARCH:Mmips64*}
11 CFLAGS+=-DNLIST_ELF64
12 SRCS+=  exec_elf64.c
13 exec_elf64.o: exec_elf32.c
14 .else
15 CFLAGS+=-DNLIST_ELF32
16 SRCS+=  exec_elf32.c
17 .endif
18
19 .include <bsd.prog.mk>