freebsd-dev/usr.sbin/crunch/crunchide/Makefile

24 lines
447 B
Makefile
Raw Normal View History

# $FreeBSD$
PROG= crunchide
2002-05-25 13:39:20 +00:00
SRCS= crunchide.c
TARGET_ARCH?= ${MACHINE_ARCH}
2002-05-25 13:39:20 +00:00
.if ${TARGET_ARCH} == i386 && ${MACHINE_ARCH} == i386
2002-05-25 13:39:20 +00:00
CFLAGS+=-DNLIST_AOUT
SRCS+= exec_aout.c
.endif
2002-05-25 13:39:20 +00:00
.if ${TARGET_ARCH} == alpha || ${TARGET_ARCH} == ia64 || \
2003-06-03 01:37:32 +00:00
${TARGET_ARCH} == sparc64 || ${TARGET_ARCH} == amd64
2002-05-25 13:39:20 +00:00
CFLAGS+=-DNLIST_ELF64
SRCS+= exec_elf64.c
exec_elf64.o: exec_elf32.c
.else
CFLAGS+=-DNLIST_ELF32
SRCS+= exec_elf32.c
.endif
.include <bsd.prog.mk>