radv: Disable lower_io_to_temporaries during deref changes.
[mesa.git] / src / mapi / Makefile.am
index 9ff70a14fddaaf20a0606c22851f340362a60e44..3da1a193d284a68af528817233be637093997163 100644 (file)
@@ -36,7 +36,12 @@ EXTRA_DIST = \
        mapi_abi.py \
        glapi/SConscript \
        glapi/registry/gl.xml \
-       shared-glapi/SConscript
+       shared-glapi/SConscript \
+       es1api/meson.build \
+       es2api/meson.build \
+       glapi/meson.build \
+       shared-glapi/meson.build \
+       meson.build
 
 AM_CFLAGS = \
        $(PTHREAD_CFLAGS) \
@@ -47,7 +52,9 @@ AM_CPPFLAGS =                                                 \
        -I$(top_srcdir)/include                                 \
        -I$(top_srcdir)/src                                     \
        -I$(top_builddir)/src/mapi                              \
-       -I$(top_srcdir)/src/mapi
+       -I$(top_srcdir)/src/mapi                                \
+       -I$(top_builddir)/src/mapi/glapi                        \
+       -I$(top_srcdir)/src/mapi/glapi
 
 include Makefile.sources
 
@@ -85,7 +92,8 @@ check_PROGRAMS += shared-glapi-test
 shared_glapi_test_SOURCES = shared-glapi/tests/check_table.cpp
 shared_glapi_test_CPPFLAGS = \
        $(AM_CPPFLAGS) \
-       -I$(top_srcdir)/src/gtest/include
+       -I$(top_srcdir)/src/gtest/include \
+       -I$(top_srcdir)/src/mesa
 shared_glapi_test_LDADD = \
        $(top_builddir)/src/mapi/shared-glapi/libglapi.la \
        $(top_builddir)/src/gtest/libgtest.la
@@ -113,7 +121,6 @@ endif
 glapi_libglapi_la_SOURCES =
 glapi_libglapi_la_CPPFLAGS = \
        $(AM_CPPFLAGS) \
-       -I$(top_srcdir)/src/mapi/glapi \
        -I$(top_srcdir)/src/mesa
 
 if HAVE_APPLEDRI
@@ -148,7 +155,8 @@ check_PROGRAMS += glapi-test
 glapi_test_SOURCES = glapi/tests/check_table.cpp
 glapi_test_CPPFLAGS = \
        $(AM_CPPFLAGS) \
-       -I$(top_srcdir)/src/gtest/include
+       -I$(top_srcdir)/src/gtest/include \
+       -I$(top_srcdir)/src/mesa
 
 glapi_test_LDADD = \
        $(top_builddir)/src/mapi/glapi/libglapi.la \
@@ -242,5 +250,7 @@ es2api/glapi_mapi_tmp.h: glapi/gen/gl_and_es_API.xml $(glapi_gen_mapi_deps)
 
 include $(top_srcdir)/install-lib-links.mk
 
+if NEED_KHRPLATFORM
 khrdir = $(includedir)/KHR
 khr_HEADERS = $(top_srcdir)/include/KHR/khrplatform.h
+endif