macOS: simplify SDK handling, remove the upper limit of SDK
[LibreOffice.git] / vcl / Executable_lo_kde5filepicker.mk
blob1e7d48b0a5e2cae4908859ad63b27fee72dcde0b
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_Executable_Executable,lo_kde5filepicker))
22 # FIXME: how to find the moc files automatically?!
23 $(eval $(call gb_Executable_set_include,lo_kde5filepicker,\
24 $$(INCLUDE) \
25 -I$(SRCDIR)/vcl/inc \
26 -I$(WORKDIR)/CustomTarget/vcl/unx/gtk3_kde5 \
29 $(eval $(call gb_Executable_add_cxxflags,lo_kde5filepicker,\
30 $$(INCLUDE) \
31 $$(BOOST_CXXFLAGS) \
34 $(eval $(call gb_Executable_use_custom_headers,lo_kde5filepicker,\
35 officecfg/registry \
38 $(eval $(call gb_Executable_use_sdk_api,lo_kde5filepicker))
40 $(eval $(call gb_Executable_add_libs,lo_kde5filepicker,\
41 -lX11 \
42 -lXext \
43 -lSM \
44 -lICE \
47 $(eval $(call gb_Executable_use_libraries,lo_kde5filepicker,\
48 vclplug_gen \
49 vcl \
50 tl \
51 utl \
52 sot \
53 ucbhelper \
54 basegfx \
55 comphelper \
56 cppuhelper \
57 i18nlangtag \
58 i18nutil \
59 $(if $(ENABLE_JAVA), \
60 jvmaccess) \
61 cppu \
62 sal \
65 $(eval $(call gb_Executable_use_externals,lo_kde5filepicker,\
66 epoxy \
67 qt5 \
68 kf5 \
69 dbus \
72 $(eval $(call gb_Executable_add_libs,lo_kde5filepicker,\
73 $(BOOST_PROCESS_LIB) \
74 $(BOOST_FILESYSTEM_LIB) \
77 $(eval $(call gb_Executable_add_exception_objects,lo_kde5filepicker,\
78 vcl/unx/gtk3_kde5/kde5_lo_filepicker_main \
79 vcl/unx/gtk3_kde5/kde5_filepicker \
80 vcl/unx/gtk3_kde5/kde5_filepicker_ipc \
83 ifeq ($(OS),LINUX)
84 $(eval $(call gb_Executable_add_libs,lo_kde5filepicker,\
85 -lm \
86 -ldl \
88 endif
90 # vim: set noet sw=4 ts=4: