# Copyright © 2019 Broadcom
+# Copyright © 2020 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# SOFTWARE.
drm_shim = static_library(
- ['drm_shim'],
+ 'drm_shim',
[
'device.c',
'drm_shim.c',
],
- link_with: libmesa_util,
- include_directories: [inc_common],
- dependencies: [dep_dl],
+ include_directories: [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
+ dependencies: [dep_libdrm, idep_mesautil, dep_dl],
c_args : [c_vis_args, '-std=gnu99'],
)
dep_drm_shim = declare_dependency(
- link_with: drm_shim
+ link_with: drm_shim,
+ dependencies: dep_libdrm,
)