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 # Silence deprecation warnings wholesale as long as vcl/unx/gtk4/*.cxx just
23 # forward to vcl/unx/gtk/*.cxx:
24 $(eval
$(call gb_Library_add_cxxflags
,vclplug_gtk4
, \
25 -Wno-deprecated-declarations \
28 $(eval
$(call gb_Library_set_include
,vclplug_gtk4
,\
31 $$(GSTREAMER_1_0_CFLAGS
) \
34 -I
$(SRCDIR
)/vcl
/unx
/gtk4 \
37 $(eval
$(call gb_Library_add_defs
,vclplug_gtk4
,\
38 -DVCLPLUG_GTK_IMPLEMENTATION \
42 $(eval
$(call gb_Library_use_custom_headers
,vclplug_gtk4
,\
46 $(eval
$(call gb_Library_use_sdk_api
,vclplug_gtk4
))
48 $(eval
$(call gb_Library_add_libs
,vclplug_gtk4
,\
56 $(eval
$(call gb_Library_use_libraries
,vclplug_gtk4
,\
68 $(if
$(ENABLE_JAVA
), \
74 $(eval
$(call gb_Library_use_externals
,vclplug_gtk4
,\
82 $(eval
$(call gb_Library_add_exception_objects
,vclplug_gtk4
,\
83 vcl
/unx
/gtk4
/fpicker
/resourceprovider \
84 vcl
/unx
/gtk4
/fpicker
/SalGtkFilePicker \
85 vcl
/unx
/gtk4
/fpicker
/SalGtkFolderPicker \
86 vcl
/unx
/gtk4
/fpicker
/SalGtkPicker \
87 vcl
/unx
/gtk4
/convert3to4 \
88 vcl
/unx
/gtk4
/customcellrenderer \
89 vcl
/unx
/gtk4
/gtkdata \
90 vcl
/unx
/gtk4
/gtkinst \
92 vcl
/unx
/gtk4
/gtkcairo \
93 vcl
/unx
/gtk4
/salnativewidgets-gtk \
94 vcl
/unx
/gtk4
/gtkframe \
95 vcl
/unx
/gtk4
/gtkobject \
96 vcl
/unx
/gtk4
/gtksalmenu \
97 vcl
/unx
/gtk4
/glomenu \
98 vcl
/unx
/gtk4
/gloactiongroup \
99 vcl
/unx
/gtk4
/hudawareness \
100 vcl
/unx
/gtk4
/notifyinglayout \
101 vcl
/unx
/gtk4
/surfacepaintable \
102 vcl
/unx
/gtk4
/transferableprovider \
106 $(eval
$(call gb_Library_add_libs
,vclplug_gtk4
,\
112 # vim: set noet sw=4 ts=4: