]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - usr.sbin/crunch/crunchide/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.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     ${TARGET_ARCH:Mmips64*}
16 CFLAGS+=-DNLIST_ELF64
17 SRCS+=  exec_elf64.c
18 exec_elf64.o: exec_elf32.c
19 .else
20 CFLAGS+=-DNLIST_ELF32
21 SRCS+=  exec_elf32.c
22 .endif
23
24 .include <bsd.prog.mk>