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
,\
16 $(call gb_ExternalProject_get_state_target
,libexttextcat
,build
):
17 $(call gb_Trace_StartRange
,libexttextcat
,EXTERNAL
)
18 $(call gb_ExternalProject_run
,build
,\
19 $(gb_RUN_CONFIGURE
) .
/configure
--disable-shared
--with-pic \
20 $(if
$(verbose
),--disable-silent-rules
,--enable-silent-rules
) \
21 $(if
$(ENABLE_WERROR
),--enable-werror
,--disable-werror
) \
22 $(gb_CONFIGURE_PLATFORMS
) \
23 CFLAGS
="$(CFLAGS) $(gb_VISIBILITY_FLAGS) $(gb_DEBUGINFO_FLAGS) $(call gb_ExternalProject_get_build_flags,libexttextcat) \
24 $(if $(COM_IS_CLANG),-Qunused-arguments)" \
25 LDFLAGS
="$(call gb_ExternalProject_get_link_flags,libexttextcat)" \
28 $(call gb_Trace_EndRange
,libexttextcat
,EXTERNAL
)
30 # vim: set noet sw=4 ts=4: