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_ExternalPackage_ExternalPackage
,xml2
,xml2
))
12 $(eval
$(call gb_ExternalPackage_use_external_project
,xml2
,xml2
))
15 $(eval
$(call gb_ExternalPackage_add_file
,xml2
,bin
/xml2-config
,xml2-config
))
19 $(eval
$(call gb_ExternalPackage_add_library_for_install
,xml2
,lib
/libxml2.2.dylib
,.libs
/libxml2.2
.7.6.dylib
,xml2
))
20 $(eval
$(call gb_ExternalPackage_add_file
,xml2
,lib
/libxml2.dylib
,.libs
/libxml2.2
.7.6.dylib
))
21 $(eval
$(call gb_ExternalPackage_add_file
,xml2
,bin
/xmllint
,.libs
/xmllint
))
22 else ifeq ($(DISABLE_DYNLOADING
),TRUE
)
23 $(eval
$(call gb_ExternalPackage_add_file
,xml2
,lib
/libxml2.a
,.libs
/libxml2.a
))
24 ifneq ($(CROSS_COMPILING
),YES
)
25 $(eval
$(call gb_ExternalPackage_add_file
,xml2
,bin
/xmllint
,.libs
/xmllint
))
29 $(eval
$(call gb_ExternalPackage_add_file
,xml2
,lib
/libxml2.dll.a
,.libs
/libxml2.dll.a
))
30 $(eval
$(call gb_ExternalPackage_add_library_for_install
,xml2
,bin
/libxml2.dll
,.libs
/libxml2.dll
,xml2
))
31 $(eval
$(call gb_ExternalPackage_add_file
,xml2
,bin
/xmllint.exe
,.libs
/xmllint.exe
))
33 $(eval
$(call gb_ExternalPackage_add_file
,xml2
,lib
/libxml2.lib
,win32
/bin.msvc
/libxml2.lib
))
34 $(eval
$(call gb_ExternalPackage_add_library_for_install
,xml2
,bin
/libxml2.dll
,win32
/bin.msvc
/libxml2.dll
,xml2
))
35 $(eval
$(call gb_ExternalPackage_add_file
,xml2
,bin
/xmllint.exe
,win32
/bin.msvc
/xmllint.exe
))
38 $(eval
$(call gb_ExternalPackage_add_file
,xml2
,lib
/libxml2.so
.2.7.6,.libs
/libxml2.so
.2.7.6))
39 $(eval
$(call gb_ExternalPackage_add_library_for_install
,xml2
,lib
/libxml2.so
.2,.libs
/libxml2.so
.2.7.6,xml2
))
40 $(eval
$(call gb_ExternalPackage_add_file
,xml2
,lib
/libxml2.so
,.libs
/libxml2.so
.2.7.6))
41 $(eval
$(call gb_ExternalPackage_add_file
,xml2
,bin
/xmllint
,.libs
/xmllint
))
43 # vim: set noet sw=4 ts=4: