Makefile (8e81109e1451a0ffa9d67a8b1d8cb5513b246ad6) Makefile (2b46c64c9c1bf1cb194e0f2b7c478f61a0e10cd9)
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
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} == alpha || ${TARGET_ARCH} == ia64 || \
13.if ${TARGET_ARCH} == ia64 || \
14 ${TARGET_ARCH} == sparc64 || ${TARGET_ARCH} == amd64
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>
14 ${TARGET_ARCH} == sparc64 || ${TARGET_ARCH} == amd64
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>