aboutsummaryrefslogtreecommitdiff
path: root/protocols/meson.build
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2022-11-25 10:51:20 +0100
committerFurkan Sahin <furkan-dev@proton.me>2022-11-25 10:51:20 +0100
commitff8a1808944de966b3602518587b78edc5159844 (patch)
treec75c268d82f38a5bc4101fee40b985e3f12b5fea /protocols/meson.build
parent216cfafea6cdfbb8d986035a4169b19419b874ea (diff)
build: drop intermediate libraries for protocols
Diffstat (limited to 'protocols/meson.build')
-rw-r--r--protocols/meson.build27
1 files changed, 2 insertions, 25 deletions
diff --git a/protocols/meson.build b/protocols/meson.build
index 0473b01f..e6fdec7d 100644
--- a/protocols/meson.build
+++ b/protocols/meson.build
@@ -20,7 +20,6 @@ protocols = [
]
wl_protos_src = []
-wl_protos_headers = []
foreach xml : protocols
wl_protos_src += custom_target(
@@ -29,38 +28,16 @@ foreach xml : protocols
output: '@BASENAME@-protocol.c',
command: [wayland_scanner, 'private-code', '@INPUT@', '@OUTPUT@'],
)
- wl_protos_headers += custom_target(
+ wl_protos_src += custom_target(
xml.underscorify() + '_server_h',
input: xml,
output: '@BASENAME@-protocol.h',
command: [wayland_scanner, 'server-header', '@INPUT@', '@OUTPUT@'],
)
- wl_protos_headers += custom_target(
+ wl_protos_src += custom_target(
xml.underscorify() + '_client_h',
input: xml,
output: '@BASENAME@-client-protocol.h',
command: [wayland_scanner, 'client-header', '@INPUT@', '@OUTPUT@'],
)
endforeach
-
-lib_client_protos = static_library(
- 'client_protos',
- wl_protos_src + wl_protos_headers,
- dependencies: wayland_client.partial_dependency(compile_args: true),
-)
-
-client_protos = declare_dependency(
- link_with: lib_client_protos,
- sources: wl_protos_headers,
-)
-
-lib_server_protos = static_library(
- 'server_protos',
- wl_protos_src + wl_protos_headers,
- dependencies: wayland_server.partial_dependency(compile_args: true),
-)
-
-server_protos = declare_dependency(
- link_with: lib_server_protos,
- sources: wl_protos_headers,
-)