summaryrefslogtreecommitdiff
path: root/sys/modules/Makefile.inc
blob: ba40cb9ad61373ac2f789cfe997bb7f1a74395b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#	$NetBSD: Makefile.inc,v 1.8.4.1 2019/11/21 18:17:59 martin Exp $

S!=		cd ${.PARSEDIR}/..;pwd
CPPFLAGS+=	-I${NETBSDSRCDIR}/common/include
USE_FORT=	no
WARNS?=		5

# inexpensive kernel consistency checks
# XXX to be commented out on release branch
# CPPFLAGS+=	-DDIAGNOSTIC

.if !empty(IOCONF)
_BSD_IOCONF_MK_USER_=1
.include <bsd.ioconf.mk>
.endif

.include <bsd.own.mk>