crunchide(1): fix offset for x86_64, restores WORLD_LDVER
[dragonfly.git] / usr.bin / crunch / crunchide / Makefile
1 # $FreeBSD: head/usr.sbin/crunch/crunchide/Makefile 232911 2012-03-13 05:21:14Z jmallett $
2
3 PROG=   crunchide
4 SRCS=   crunchide.c
5
6 TARGET_ARCH?=   ${MACHINE_ARCH}
7
8 .if ${TARGET_ARCH} == x86_64
9 CFLAGS+=-DNLIST_ELF64
10 SRCS+=  exec_elf64.c
11 exec_elf64.o: exec_elf32.c
12 .else
13 CFLAGS+=-DNLIST_ELF32
14 SRCS+=  exec_elf32.c
15 .endif
16
17 .include <bsd.prog.mk>