1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval
$(call gb_Library_Library
,vclplug_gtk4
))
22 $(eval
$(call gb_Library_set_plugin_for
,vclplug_gtk4
,vcl
))
24 # Silence deprecation warnings wholesale as long as vcl/unx/gtk4/*.cxx just
25 # forward to vcl/unx/gtk/*.cxx:
26 $(eval
$(call gb_Library_add_cxxflags
,vclplug_gtk4
, \
27 -Wno-deprecated-declarations \
30 $(eval
$(call gb_Library_set_include
,vclplug_gtk4
,\
33 $$(GSTREAMER_1_0_CFLAGS
) \
36 -I
$(SRCDIR
)/vcl
/unx
/gtk4 \
39 $(eval
$(call gb_Library_add_defs
,vclplug_gtk4
,\
40 -DVCLPLUG_GTK_IMPLEMENTATION \
44 $(eval
$(call gb_Library_use_custom_headers
,vclplug_gtk4
,\
48 $(eval
$(call gb_Library_use_sdk_api
,vclplug_gtk4
))
50 $(eval
$(call gb_Library_add_libs
,vclplug_gtk4
,\
58 $(eval
$(call gb_Library_use_libraries
,vclplug_gtk4
,\
69 $(if
$(ENABLE_JAVA
), \
75 $(eval
$(call gb_Library_use_externals
,vclplug_gtk4
,\
83 $(eval
$(call gb_Library_add_exception_objects
,vclplug_gtk4
,\
84 vcl
/unx
/gtk4
/fpicker
/resourceprovider \
85 vcl
/unx
/gtk4
/fpicker
/SalGtkFilePicker \
86 vcl
/unx
/gtk4
/fpicker
/SalGtkFolderPicker \
87 vcl
/unx
/gtk4
/fpicker
/SalGtkPicker \
88 vcl
/unx
/gtk4
/convert3to4 \
89 vcl
/unx
/gtk4
/customcellrenderer \
90 vcl
/unx
/gtk4
/gtkdata \
91 vcl
/unx
/gtk4
/gtkinst \
93 vcl
/unx
/gtk4
/gtkcairo \
94 vcl
/unx
/gtk4
/salnativewidgets-gtk \
95 vcl
/unx
/gtk4
/gtkframe \
96 vcl
/unx
/gtk4
/gtkobject \
97 vcl
/unx
/gtk4
/gtksalmenu \
98 vcl
/unx
/gtk4
/glomenu \
99 vcl
/unx
/gtk4
/gloactiongroup \
100 vcl
/unx
/gtk4
/hudawareness \
101 vcl
/unx
/gtk4
/notifyinglayout \
102 vcl
/unx
/gtk4
/surfacecellrenderer \
103 vcl
/unx
/gtk4
/surfacepaintable \
104 vcl
/unx
/gtk4
/transferableprovider \
108 $(eval
$(call gb_Library_add_libs
,vclplug_gtk4
,\
114 # vim: set noet sw=4 ts=4: