]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - usr.sbin/crunch/crunchide/Makefile
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.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 || \
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>