workaround segfault in compiler on macos-clang-intel
[LibreOffice.git] / vcl / Executable_lo_kde5filepicker.mk
blob9244a8c18b096a6231b42ce0203db1087a6ce5e7
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 qt5 \
67 kf5 \
68 dbus \
71 $(eval $(call gb_Executable_add_libs,lo_kde5filepicker,\
72 $(BOOST_PROCESS_LIB) \
73 $(BOOST_FILESYSTEM_LIB) \
76 $(eval $(call gb_Executable_add_exception_objects,lo_kde5filepicker,\
77 vcl/unx/gtk3_kde5/kde5_lo_filepicker_main \
78 vcl/unx/gtk3_kde5/kde5_filepicker \
79 vcl/unx/gtk3_kde5/kde5_filepicker_ipc \
82 ifeq ($(OS),LINUX)
83 $(eval $(call gb_Executable_add_libs,lo_kde5filepicker,\
84 -lm \
85 -ldl \
87 endif
89 # vim: set noet sw=4 ts=4: