1 # $NetBSD: Makefile,v 1.1 2014/12/18 06:24:30 mrg Exp $
12 .PATH
: ${X11SRCDIR.MesaLib
}/src
/util
16 .PATH
: ${X11SRCDIR.MesaLib
}/..
/src
/util
21 .PATH
: ${X11SRCDIR.MesaLib
}/src
/mapi
29 CPPFLAGS.entry.c
= -DMAPI_MODE_GLAPI
-DMAPI_ABI_HEADER
=\"shared-glapi_glapi_mapi_tmp.h
\"
31 BUILDSYMLINKS
+= ${X11SRCDIR.MesaLib
}/src
/mapi
/entry.c shared_entry.c
33 # above is shared/libglapi.la
35 SRCS
+= ${SRCS.util
} ${SRCS.mapi
} ${SRCS.mapi-glapi
}
38 -I
${X11SRCDIR.MesaLib
}/include \
39 -I
${X11SRCDIR.MesaLib
}/src
/mapi \
40 -I
${X11SRCDIR.MesaLib
}/src
/mapi
/glapi \
41 -I
${X11SRCDIR.MesaLib
}/src
/mesa \
42 -I
${X11SRCDIR.MesaLib
}/src
/util \
43 -I
${X11SRCDIR.MesaLib
}/..
/src
/mapi \
44 -I
${X11SRCDIR.MesaLib
}/..
/src
/mapi
/glapi \
45 -I
${X11SRCDIR.MesaLib
}/..
/src
/mesa
48 -DMAPI_MODE_GLAPI
-DMAPI_ABI_HEADER
=\"shared-glapi_glapi_mapi_tmp.h
\"
50 CPPFLAGS
+= ${X11FLAGS.THREADLIB
}
52 .
include "${.CURDIR}/../libGL/mesa-ver.mk"
55 CFLAGS
+= -fno-strict-aliasing
-fvisibility
=hidden
-pthread
-fno-builtin-memcmp
57 CFLAGS
+= -fno-strict-aliasing
-fvisibility
=hidden
-fno-builtin-memcmp
60 .
endif # !defined(__MINIX)
63 -DPACKAGE_NAME
=\"Mesa
\" \
64 -DPACKAGE_TARNAME
=\"mesa
\" \
65 -DPACKAGE_BUGREPORT
=\"https
://bugs.freedesktop.org
/enter_bug.cgi?product
=Mesa
\" \
66 -DPACKAGE_VERSION
=\"${MESA_VER}\" \
67 -DPACKAGE_STRING
=\"Mesa\
${MESA_VER}\" \
68 -DVERSION
=\"${MESA_VER}\" \
72 -DHAVE_SYS_TYPES_H
=1 \
83 -DHAVE___BUILTIN_BSWAP32
=1 \
84 -DHAVE___BUILTIN_BSWAP64
=1 \
86 -DHAVE_CLOCK_GETTIME
=1 \
89 -DUSE_EXTERNAL_DXTN_LIB
=1 \
91 -DHAVE_POSIX_MEMALIGN \
94 -DGLX_INDIRECT_RENDERING \
95 -DGLX_DIRECT_RENDERING \
98 -DMESA_EGL_NO_X11_HEADERS
104 #CWARNFLAGS.clang+= -Wno-tautological-compare -Wno-format -Wno-constant-conversion
106 .
include <bsd.x11.mk
>
107 .
include <bsd.lib.mk
>