]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/blob - usr.sbin/crunch/crunchide/Makefile
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
[FreeBSD/stable/9.git] / usr.sbin / crunch / crunchide / Makefile
1 # $FreeBSD$
2
3 PROG=   crunchide
4 SRCS=   crunchide.c
5
6 TARGET_ARCH?=   ${MACHINE_ARCH}
7
8 .if ${TARGET_ARCH} == i386 && ${MACHINE_ARCH} == i386
9 CFLAGS+=-DNLIST_AOUT
10 SRCS+=  exec_aout.c
11 .endif
12
13 .if ${TARGET_ARCH} == ia64 || ${TARGET_ARCH} == powerpc64 || \
14     ${TARGET_ARCH} == sparc64 || ${TARGET_ARCH} == amd64
15 CFLAGS+=-DNLIST_ELF64
16 SRCS+=  exec_elf64.c
17 exec_elf64.o: exec_elf32.c
18 .else
19 CFLAGS+=-DNLIST_ELF32
20 SRCS+=  exec_elf32.c
21 .endif
22
23 .include <bsd.prog.mk>