| @@ -1,22 +1,22 @@ | | | @@ -1,22 +1,22 @@ |
1 | # $NetBSD: Makefile,v 1.13 2011/08/16 08:07:12 christos Exp $ | | 1 | # $NetBSD: Makefile,v 1.14 2012/01/17 18:44:24 skrll Exp $ |
2 | | | 2 | |
3 | PROG= crash | | 3 | PROG= crash |
4 | MAN= crash.8 | | 4 | MAN= crash.8 |
5 | RUMPKERNEL= yes # XXX: Avoid -mcmodel=kernel | | 5 | RUMPKERNEL= yes # XXX: Avoid -mcmodel=kernel |
6 | | | 6 | |
7 | CWARNFLAGS.clang+= -Wno-format | | 7 | CWARNFLAGS.clang+= -Wno-format |
8 | | | 8 | |
9 | LDADD+= -lutil -lkvm -ledit -lterminfo -T${.CURDIR}/ldscript.crash | | 9 | LDADD+= -lutil -lkvm -ledit -lterminfo |
10 | DPADD+= ${LIBUTIL} ${LIBKVM} ${LIBEDIT} ${LIBTERMINFO} | | 10 | DPADD+= ${LIBUTIL} ${LIBKVM} ${LIBEDIT} ${LIBTERMINFO} |
11 | | | 11 | |
12 | # some ddb kernel components need limited modifications. for now, | | 12 | # some ddb kernel components need limited modifications. for now, |
13 | # punt if not noted as implemented here. | | 13 | # punt if not noted as implemented here. |
14 | .if ${MACHINE} == "amd64" \ | | 14 | .if ${MACHINE} == "amd64" \ |
15 | || ${MACHINE} == "i386" \ | | 15 | || ${MACHINE} == "i386" \ |
16 | || ${MACHINE} == "sparc64" | | 16 | || ${MACHINE} == "sparc64" |
17 | REALCRASH=yes | | 17 | REALCRASH=yes |
18 | .else | | 18 | .else |
19 | REALCRASH=no | | 19 | REALCRASH=no |
20 | .endif | | 20 | .endif |
21 | | | 21 | |
22 | .if ${REALCRASH} != "no" # { | | 22 | .if ${REALCRASH} != "no" # { |