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