sw_ooxmlimport: move export test to sw_ooxmlexport8
[LibreOffice.git] / external / libexttextcat / ExternalProject_libexttextcat.mk
blob1d729a103b3301be4d00ee1f22ddae105a6c32ba
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,libexttextcat))
12 $(eval $(call gb_ExternalProject_register_targets,libexttextcat,\
13 build \
16 $(call gb_ExternalProject_get_state_target,libexttextcat,build):
17 $(call gb_Trace_StartRange,libexttextcat,EXTERNAL)
18 $(call gb_ExternalProject_run,build,\
19 ./configure --disable-shared --with-pic \
20 $(if $(verbose),--disable-silent-rules,--enable-silent-rules) \
21 $(if $(ENABLE_WERROR),--enable-werror,--disable-werror) \
22 $(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
23 CFLAGS="$(CFLAGS) $(gb_VISIBILITY_FLAGS) $(gb_DEBUGINFO_FLAGS) $(if $(ENABLE_OPTIMIZED),$(gb_COMPILEROPTFLAGS),$(gb_COMPILERNOOPTFLAGS)) \
24 $(if $(COM_IS_CLANG),-Qunused-arguments) \
25 $(if $(filter AIX,$(OS)),-D_LINUX_SOURCE_COMPAT)" \
26 && $(MAKE) \
28 $(call gb_Trace_EndRange,libexttextcat,EXTERNAL)
30 # vim: set noet sw=4 ts=4: