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} == amd64 || ${TARGET_ARCH} == powerpc64 || \ 14 ${TARGET_ARCH} == sparc64 || ${TARGET_ARCH:Mmips64*} 15CFLAGS+=-DNLIST_ELF64 16SRCS+= exec_elf64.c 17exec_elf64.o: exec_elf32.c 18.else 19CFLAGS+=-DNLIST_ELF32 20SRCS+= exec_elf32.c 21.endif 22 23.include <bsd.prog.mk> 24