2001-07-20 06:20:32 +00:00
|
|
|
# $FreeBSD$
|
1994-06-15 10:33:49 +00:00
|
|
|
|
|
|
|
PROG= crunchide
|
2002-05-25 13:39:20 +00:00
|
|
|
SRCS= crunchide.c
|
2001-10-23 10:18:41 +00:00
|
|
|
|
2002-04-30 09:34:53 +00:00
|
|
|
TARGET_ARCH?= ${MACHINE_ARCH}
|
2002-05-25 13:39:20 +00:00
|
|
|
|
2002-04-30 09:34:53 +00:00
|
|
|
.if ${TARGET_ARCH} == i386 && ${MACHINE_ARCH} == i386
|
2002-05-25 13:39:20 +00:00
|
|
|
CFLAGS+=-DNLIST_AOUT
|
2001-10-23 10:18:41 +00:00
|
|
|
SRCS+= exec_aout.c
|
|
|
|
.endif
|
2002-05-25 13:39:20 +00:00
|
|
|
|
2006-08-22 08:03:01 +00:00
|
|
|
.if ${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
|
1998-09-14 11:35:32 +00:00
|
|
|
|
1994-06-15 10:33:49 +00:00
|
|
|
.include <bsd.prog.mk>
|