Bump version to 6.4.7.2.M8
[LibreOffice.git] / external / libebook / ExternalProject_libebook.mk
blobbac09b699b122b73b56ec8ecb7fb5d90016898ae
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,libebook))
12 $(eval $(call gb_ExternalProject_use_autoconf,libebook,build))
14 $(eval $(call gb_ExternalProject_register_targets,libebook,\
15 build \
18 $(eval $(call gb_ExternalProject_use_externals,libebook,\
19 boost_headers \
20 icu \
21 liblangtag \
22 libxml2 \
23 revenge \
24 zlib \
27 $(call gb_ExternalProject_get_state_target,libebook,build) :
28 $(call gb_ExternalProject_run,build,\
29 export PKG_CONFIG="" \
30 && MAKE=$(MAKE) ./configure \
31 --with-pic \
32 --enable-static \
33 --disable-shared \
34 --without-docs \
35 --without-tools \
36 --disable-tests \
37 $(if $(ENABLE_DEBUG),--enable-debug,--disable-debug) \
38 $(if $(verbose),--disable-silent-rules,--enable-silent-rules) \
39 --disable-werror \
40 --disable-weffc \
41 CXXFLAGS="$(gb_CXXFLAGS) $(if $(ENABLE_OPTIMIZED),$(gb_COMPILEROPTFLAGS),$(gb_COMPILERNOOPTFLAGS))" \
42 CPPFLAGS="$(CPPFLAGS) $(ICU_UCHAR_TYPE) $(BOOST_CPPFLAGS)" \
43 LANGTAG_CFLAGS="$(LIBLANGTAG_CFLAGS)" \
44 LANGTAG_LIBS="$(LIBLANGTAG_LIBS)" \
45 XML_CFLAGS="$(LIBXML_CFLAGS)" \
46 XML_LIBS="$(LIBXML_LIBS)" \
47 $(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
48 && $(MAKE) \
51 # vim: set noet sw=4 ts=4: