Branch libreoffice-24-8-3
[LibreOffice.git] / external / hunspell / StaticLibrary_hunspell.mk
blob3a2eccafb0aa9bb4598d250f9f0b9b9cd6a6f76f
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,hunspell))
12 $(eval $(call gb_StaticLibrary_use_unpacked,hunspell,hunspell))
14 $(eval $(call gb_StaticLibrary_use_external,hunspell,icu_headers))
16 $(eval $(call gb_StaticLibrary_set_warnings_disabled,hunspell))
18 $(eval $(call gb_StaticLibrary_add_defs,hunspell,\
19 -DHUNSPELL_STATIC \
20 -DOPENOFFICEORG \
23 ifneq ($(ENABLE_WASM_STRIP_HUNSPELL),TRUE)
24 $(eval $(call gb_StaticLibrary_add_generated_exception_objects,hunspell,\
25 UnpackedTarball/hunspell/src/hunspell/hunspell \
27 endif
29 $(eval $(call gb_StaticLibrary_add_generated_exception_objects,hunspell,\
30 UnpackedTarball/hunspell/src/hunspell/affentry \
31 UnpackedTarball/hunspell/src/hunspell/affixmgr \
32 UnpackedTarball/hunspell/src/hunspell/csutil \
33 UnpackedTarball/hunspell/src/hunspell/hashmgr \
34 UnpackedTarball/hunspell/src/hunspell/suggestmgr \
35 UnpackedTarball/hunspell/src/hunspell/phonet \
36 UnpackedTarball/hunspell/src/hunspell/hunzip \
37 UnpackedTarball/hunspell/src/hunspell/filemgr \
38 UnpackedTarball/hunspell/src/hunspell/replist \
41 # vim: set noet sw=4 ts=4: