# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
+inc_egl = include_directories('.', 'main')
+inc_egl_dri2 = include_directories('drivers/dri2')
+
c_args_for_egl = []
link_for_egl = []
deps_for_egl = []
-incs_for_egl = [inc_include, inc_src, include_directories('main')]
+incs_for_egl = [inc_include, inc_src, inc_egl]
files_egl = files(
'main/eglapi.c',
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
+inc_st_dri = include_directories('.')
+
files_libdri = files(
'dri_context.c',
'dri_context.h',
inc_st_omx = [
inc_st_omx,
inc_dri_common,
- include_directories('../../state_trackers/dri'),
- include_directories('../../../egl/drivers/dri2'),
- include_directories('../../../egl/main'),
- include_directories('../../../egl'),
- include_directories('../../../gbm/backends/dri'),
- include_directories('../../../gbm/main'),
- include_directories('../../../loader')
+ inc_loader,
+ inc_gbm,
+ inc_st_dri,
+ inc_egl,
+ inc_egl_dri2,
]
dep_st_omx = [dep_st_omx, dep_omx_other, dep_libdrm]
endif
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
-inc_gbm = include_directories('.', 'backends/dri')
+inc_gbm = include_directories('.', 'main', 'backends/dri')
files_gbm = files(
'main/backend.c',