1 # $NetBSD: Makefile,v 1.7 2007/01/12 13:24:30 skrll Exp $
5 .
include "../Makefile.inc"
10 .
include "${.CURDIR}/../arch/${MACHINE_ARCH}/defs.mk"
12 DIST
= ${NETBSDSRCDIR}/gnu
/dist/gdb6
14 SRCS
= ${G_LIBGDB_OBS
:.o
=.c
}
15 GCPPFLAGS
= ${G_INTERNAL_CFLAGS}
16 CPPFLAGS
= -I
${.CURDIR
} \
17 -I
${.CURDIR
}/..
/arch
/${MACHINE_ARCH} \
19 -I
${DIST}/gdb
/config \
20 -I
${DIST}/include/opcode \
22 -I
${.CURDIR
}/..
/bfd
/arch
/${MACHINE_ARCH} \
27 # XXX inf-ptrace.c has some bogus (PTRACE_TYPE_ARG3) casts, but in
28 # code that's never exercised on NetBSD.
29 CPPFLAGS.inf-ptrace.c
= -Wno-error
31 .
include "../../Makefile.inc"
34 .PATH
: ${DIST}/gdb
${DIST}/gdb
/mi
${DIST}/gdb
/cli
${DIST}/gdb
/tui \
35 ${DIST}/gdb
/signals
${DIST}/gdb
/doc
${.CURDIR
}/..
/arch
/${MACHINE_ARCH}
38 COPTS
+= -Wno-stack-protector
40 # Don't run yacc/bison or lex