1# $FreeBSD$ 2 3PROG= crunchide 4SRCS= crunchide.c 5 6TARGET_ARCH?= ${MACHINE_ARCH} 7 8.if ${TARGET_ARCH} == i386 && ${MACHINE_ARCH} == i386 9CFLAGS+=-DNLIST_AOUT 10SRCS+= exec_aout.c 11.endif 12 13.if ${TARGET_ARCH} == aarch64 || ${TARGET_ARCH} == amd64 || \ 14 ${TARGET_ARCH} == powerpc64 || \ 15 ${TARGET_ARCH} == sparc64 || ${TARGET_ARCH:Mmips64*} 16CFLAGS+=-DNLIST_ELF64 17SRCS+= exec_elf64.c 18exec_elf64.o: exec_elf32.c 19.else 20CFLAGS+=-DNLIST_ELF32 21SRCS+= exec_elf32.c 22.endif 23 24.include <bsd.prog.mk> 25