# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
-wayland_drm_xml = files('wayland-drm.xml')
+wayland_drm_protocol_c = custom_target(
+ 'wayland-drm-protocol.c',
+ input : 'wayland-drm.xml',
+ output : 'wayland-drm-protocol.c',
+ command : [prog_wl_scanner, 'code', '@INPUT@', '@OUTPUT@'],
+)
+
+wayland_drm_client_protocol_h = custom_target(
+ 'wayland-drm-client-protocol.h',
+ input : 'wayland-drm.xml',
+ output : 'wayland-drm-client-protocol.h',
+ command : [prog_wl_scanner, 'client-header', '@INPUT@', '@OUTPUT@'],
+)
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
-wayland_drm_protocol_c = custom_target(
- 'wayland-drm-protocol.c',
- input : wayland_drm_xml,
- output : 'wayland-drm-protocol.c',
- command : [prog_wl_scanner, 'code', '@INPUT@', '@OUTPUT@'],
-)
-
-wayland_drm_client_protocol_h = custom_target(
- 'wayland-drm-client-protocol.h',
- input : wayland_drm_xml,
- output : 'wayland-drm-client-protocol.h',
- command : [prog_wl_scanner, 'client-header', '@INPUT@', '@OUTPUT@'],
-)
-
vulkan_wsi_args = []
vulkan_wsi_deps = []