summaryrefslogtreecommitdiff
path: root/lib/mesa/mk/Makefile.inc
blob: 6f8113ff3f067c8a80b957d949ba6834eca38247 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$OpenBSD: Makefile.inc,v 1.1 2020/08/26 06:02:36 jsg Exp $

# bsd.lib.mk and bsd.xorg.mk both include Makefile.inc
.if !defined(MESA_MK_INC)

MESA_SRC?=	${.CURDIR}/../..

MESA_V!=	cat ${MESA_SRC}/VERSION

CPPFLAGS+=	-I${MESA_SRC}/include \
		-I${MESA_SRC}/src \
		-I${X11BASE}/include \
		-I${X11BASE}/include/libdrm \
		-DPACKAGE_VERSION=\"${MESA_V}\"

.include "config.mk"

.endif
MESA_MK_INC=Done