Version 4.0.2.1, tag libreoffice-4.0.2.1
[LibreOffice.git] / expat / Module_expat.mk
blob8c7d8d020b911cee8df93ef4fef4e12cb5936f4a
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_Module_Module,expat))
12 ifeq ($(SYSTEM_EXPAT),NO)
14 $(eval $(call gb_Module_add_targets,expat,\
15 ExternalPackage_expat \
16 UnpackedTarball_expat \
17 StaticLibrary_expat \
20 # Actually it wasn't that clear if we should
21 # run configure step on mingw or not:
22 # CONFIGURATION_ACTION wasn't set, but
23 # CROSS_COMPILE case was handled in original makefile
25 # tested it on mingw and it doesn't hurt ;-)
26 #ifneq ($(OS),WNT)
27 ifneq ($(OS)$(COM),WNTMSC)
28 $(eval $(call gb_Module_add_targets,expat,\
29 ExternalProject_expat \
31 endif
33 # ---------------- X64 stuff special ---------------------
34 ifeq ($(BUILD_X64),TRUE)
35 $(eval $(call gb_Module_add_targets,expat,\
36 StaticLibrary_expat_x64 \
38 endif
40 endif
42 # vim: set noet sw=4 ts=4: