Branch libreoffice-7-2-5
[LibreOffice.git] / external / breakpad / ExternalProject_breakpad.mk
blobdb1d1c9df83a4bb4ecc0852837f84e44c5d7d363
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_ExternalProject_ExternalProject,breakpad))
12 $(eval $(call gb_ExternalProject_register_targets,breakpad,\
13 build \
17 ifeq ($(COM),MSC)
19 $(call gb_ExternalProject_get_state_target,breakpad,build) :
20 $(call gb_Trace_StartRange,breakpad,EXTERNAL)
21 $(call gb_ExternalProject_run,build,\
22 MSBuild.exe src/tools/windows/dump_syms/dump_syms.sln -p:Configuration=Release \
24 $(call gb_Trace_EndRange,breakpad,EXTERNAL)
26 else # !ifeq($(COM),MSC)
28 $(call gb_ExternalProject_get_state_target,breakpad,build) :
29 $(call gb_Trace_StartRange,breakpad,EXTERNAL)
30 $(call gb_ExternalProject_run,build,\
31 $(gb_RUN_CONFIGURE) ./configure CXXFLAGS="-O2 $(gb_VISIBILITY_FLAGS)" \
32 && $(MAKE) \
34 $(call gb_Trace_EndRange,breakpad,EXTERNAL)
36 endif
38 # vim: set noet sw=4 ts=4: