No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / usr.bin / gdb6 / libgdb / Makefile
blob84df5e958886d82307c868cc1488b4ed7a45e4dc
1 # $NetBSD: Makefile,v 1.7 2007/01/12 13:24:30 skrll Exp $
3 .include <bsd.own.mk>
5 .include "../Makefile.inc"
7 LIBISPRIVATE= yes
8 LIB= gdb
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} \
18 -I${DIST}/gdb \
19 -I${DIST}/gdb/config \
20 -I${DIST}/include/opcode \
21 -I${DIST} \
22 -I${.CURDIR}/../bfd/arch/${MACHINE_ARCH} \
23 -I${DIST}/bfd \
24 -I${DIST}/include \
25 ${GCPPFLAGS:M-D*}
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"
32 .include <bsd.lib.mk>
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
41 .y.c .y.h .l.c: