1# $NetBSD: Makefile.inc,v 1.13 2023/03/21 16:54:43 christos Exp $
2
3USE_LIBEDIT=no
4USE_TUI=yes
5BINDIR=/usr/bin
6WARNS?=		0
7CPPFLAGS+=	-D_KERNTYPES
8
9.include "Makefile.gdb_arch"
10
11CWARNFLAGS.clang+=	-Wno-unused-value -Wno-conversion \
12			-Wno-switch-enum -Wno-parentheses -Wno-comment \
13			-Wno-format-security \
14			-Wno-tautological-compare -Wno-format-extra-args \
15			-Wno-string-plus-int
16
17COPTS+=			-fcommon
18
19DIST:=		${.PARSEDIR}/dist
20
21# Reduce debugging for these extremely large objects.
22.if ${MKDEBUG:Uno} != "no"
23CXXFLAGS+=      -g1
24.endif
25