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_StaticLibrary_StaticLibrary
,expat
))
12 $(eval
$(call gb_StaticLibrary_set_warnings_not_errors
,expat
))
14 $(eval
$(call gb_StaticLibrary_use_unpacked
,expat
,expat
))
16 # no configure step on windows, no dependency
17 ifneq ($(OS
)$(COM
),WNTMSC
)
18 $(eval
$(call gb_StaticLibrary_use_external_project
,expat
,expat
))
21 $(eval
$(call gb_StaticLibrary_set_include
,expat
,\
22 -I
$(call gb_UnpackedTarball_get_dir
,expat
) \
27 ifneq ($(strip $(SYSBASE
)),)
28 $(eval
$(call gb_StaticLibrary_add_defs
,expat
,\
36 $(eval
$(call gb_StaticLibrary_add_defs
,expat
,\
40 $(eval
$(call gb_StaticLibrary_add_defs
,expat
,\
41 -DHAVE_EXPAT_CONFIG_H \
45 $(eval
$(call gb_StaticLibrary_add_generated_cobjects
,expat
,\
46 UnpackedTarball
/expat
/lib
/xmlparse \
47 UnpackedTarball
/expat
/lib
/xmlrole \
48 UnpackedTarball
/expat
/lib
/xmltok \
51 # vim: set noet sw=4 ts=4: