workaround clang-14 bug
[LibreOffice.git] / desktop / Library_crashreport.mk
blobc00814c82ceed6e5702b8281a5391b88a04c425c
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/.
10 $(eval $(call gb_Library_Library,crashreport))
12 $(eval $(call gb_Library_set_include,crashreport,\
13 $$(INCLUDE) \
14 -I$(SRCDIR)/desktop/inc \
17 $(eval $(call gb_Library_use_externals,crashreport,\
18 breakpad \
19 curl \
22 $(eval $(call gb_Library_add_defs,crashreport,\
23 -DCRASHREPORT_DLLIMPLEMENTATION \
26 $(eval $(call gb_Library_add_libs,crashreport,\
27 $(if $(filter LINUX %BSD SOLARIS, $(OS)), \
28 $(UNIX_DLAPI_LIBS) \
29 ) \
32 $(eval $(call gb_Library_use_sdk_api,crashreport))
34 $(eval $(call gb_Library_use_custom_headers,crashreport,\
35 officecfg/registry \
38 $(eval $(call gb_Library_use_libraries,crashreport,\
39 comphelper \
40 cppu \
41 cppuhelper \
42 sal \
43 salhelper \
44 ucbhelper \
45 utl \
48 $(eval $(call gb_Library_add_exception_objects,crashreport,\
49 desktop/source/app/crashreport \
50 desktop/source/minidump/minidump \
54 # vim: set ts=4 sw=4 et: