sd: sidebars are now visible in LOOL
[LibreOffice.git] / external / libxml2 / ExternalProject_libxml2.mk
blob0d8559dfb04fc01a47f6edc4a20d3149799aea06
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,libxml2))
12 $(eval $(call gb_ExternalProject_register_targets,libxml2,\
13 build \
16 ifeq ($(OS),WNT)
17 $(call gb_ExternalProject_use_external_project,libxml2,icu)
19 $(eval $(call gb_ExternalProject_use_nmake,libxml2,build))
21 $(call gb_ExternalProject_get_state_target,libxml2,build):
22 $(call gb_ExternalProject_run,build,\
23 cscript /e:javascript configure.js \
24 iconv=no icu=yes sax1=yes $(if $(MSVC_USE_DEBUG_RUNTIME),run_debug=yes cruntime=/MDd) \
25 $(if $(filter TRUE,$(ENABLE_DBGUTIL)),debug=yes) \
26 && nmake \
27 ,win32)
28 else # OS!=WNT
29 $(call gb_ExternalProject_get_state_target,libxml2,build):
30 $(call gb_ExternalProject_run,build,\
31 ./configure --disable-ipv6 --without-python --without-zlib --with-sax1 \
32 --without-lzma \
33 $(if $(debug),--with-run-debug) \
34 $(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
35 $(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________URELIB) \
36 LDFLAGS="$(if $(SYSBASE),-L$(SYSBASE)/usr/lib)" \
37 CFLAGS="$(if $(SYSBASE),-I$(SYSBASE)/usr/include) $(if $(debug),-g)" \
38 $(if $(filter TRUE,$(DISABLE_DYNLOADING)),--disable-shared,--disable-static) \
39 && $(MAKE) \
41 endif
43 # vim: set noet sw=4 ts=4: