1 # $NetBSD: Makefile,v 1.1 2015/01/05 03:45:31 mrg Exp $
12 MESA_SRC_MODULES
= main math vbo tnl program swrast ss common
15 -I
${X11SRCDIR.MesaLib7
}/include \
16 -I
${X11SRCDIR.MesaLib7
}/src
/glsl \
17 -I
${X11SRCDIR.MesaLib7
}/src
/mesa \
18 -I
${X11SRCDIR.MesaLib7
}/src
/mapi
21 CPPFLAGS
+= ${X11FLAGS.THREADLIB
} \
22 -DPTHREADS
-D_NETBSD_SOURCE
-DUSE_EXTERNAL_DXTN_LIB
=1 \
23 -DHAVE_ALIAS
-DIN_DRI_DRIVER
24 #CPPFLAGS+= -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_POSIX_MEMALIGN
27 CPPFLAGS
+= ${X11FLAGS.THREADLIB
} \
28 -D_NETBSD_SOURCE
-DUSE_EXTERNAL_DXTN_LIB
=1 \
29 -DHAVE_ALIAS
-DIN_DRI_DRIVER
30 .
endif # !defined(__MINIX)
32 .
include "../libmesa7.mk"
33 .
include "../libglsl7.mk"
39 LIBDIR
= ${X11USRLIBDIR}/modules
/dri
41 #LIBDPLIBS+= GL ${.CURDIR}/../../libGL
43 CWARNFLAGS.clang
+= -Wno-format
-Wno-constant-conversion \
44 -Wno-tautological-compare