convert lingucomponent to gbuild
This commit is contained in:
@@ -152,8 +152,10 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
|
|||||||
fwk \
|
fwk \
|
||||||
fwl \
|
fwl \
|
||||||
fwm \
|
fwm \
|
||||||
|
guesslang \
|
||||||
helplinker \
|
helplinker \
|
||||||
hwp \
|
hwp \
|
||||||
|
hyphen \
|
||||||
i18npaper \
|
i18npaper \
|
||||||
i18nregexp \
|
i18nregexp \
|
||||||
icd \
|
icd \
|
||||||
@@ -169,7 +171,9 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
|
|||||||
itg \
|
itg \
|
||||||
iti \
|
iti \
|
||||||
lng \
|
lng \
|
||||||
|
lnth \
|
||||||
lwpft \
|
lwpft \
|
||||||
|
MacOSXSpell \
|
||||||
merged \
|
merged \
|
||||||
msfilter \
|
msfilter \
|
||||||
msword \
|
msword \
|
||||||
@@ -203,6 +207,7 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
|
|||||||
solver \
|
solver \
|
||||||
sot \
|
sot \
|
||||||
spa \
|
spa \
|
||||||
|
spell \
|
||||||
spl \
|
spl \
|
||||||
sts \
|
sts \
|
||||||
svgfilter \
|
svgfilter \
|
||||||
@@ -372,6 +377,7 @@ $(eval $(call gb_Helper_register_static_libraries,PLAINLIBS, \
|
|||||||
ooopathutils \
|
ooopathutils \
|
||||||
sample \
|
sample \
|
||||||
salcpprt \
|
salcpprt \
|
||||||
|
ulingu \
|
||||||
vclmain \
|
vclmain \
|
||||||
writerperfect \
|
writerperfect \
|
||||||
))
|
))
|
||||||
|
@@ -55,6 +55,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
|
|||||||
i18npool \
|
i18npool \
|
||||||
i18nutil \
|
i18nutil \
|
||||||
idl \
|
idl \
|
||||||
|
lingucomponent \
|
||||||
linguistic \
|
linguistic \
|
||||||
lotuswordpro \
|
lotuswordpro \
|
||||||
MathMLDTD \
|
MathMLDTD \
|
||||||
|
64
lingucomponent/Library_MacOSXSpell.mk
Normal file
64
lingucomponent/Library_MacOSXSpell.mk
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
|
||||||
|
#
|
||||||
|
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
|
||||||
|
#
|
||||||
|
# The contents of this file are subject to the Mozilla Public License Version
|
||||||
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
||||||
|
# the License or as specified alternatively below. You may obtain a copy of
|
||||||
|
# the License at http://www.mozilla.org/MPL/
|
||||||
|
#
|
||||||
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
||||||
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||||
|
# for the specific language governing rights and limitations under the
|
||||||
|
# License.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer)
|
||||||
|
#
|
||||||
|
# All Rights Reserved.
|
||||||
|
#
|
||||||
|
# For minor contributions see the git repository.
|
||||||
|
#
|
||||||
|
# Alternatively, the contents of this file may be used under the terms of
|
||||||
|
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
|
||||||
|
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
|
||||||
|
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
|
||||||
|
# instead of those above.
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_Library,MacOSXSpell))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_componentfile,MacOSXSpell,lingucomponent/source/spellcheck/macosxspell/MacOSXSpell))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_include,MacOSXSpell,\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
-I$(realpath $(SRCDIR)/lingucomponent/source/lingutil) \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,MacOSXSpell,\
|
||||||
|
udkapi \
|
||||||
|
offapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,MacOSXSpell,\
|
||||||
|
$(gb_STDLIBS) \
|
||||||
|
cppu \
|
||||||
|
cppuhelper \
|
||||||
|
lng \
|
||||||
|
sal \
|
||||||
|
svl \
|
||||||
|
tl \
|
||||||
|
ucbhelper \
|
||||||
|
utl \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_use_externals,MacOSXSpell,\
|
||||||
|
cocoa \
|
||||||
|
hunspell \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,MacOSXSpell,\
|
||||||
|
lingucomponent/source/spellcheck/macosxspell/macreg \
|
||||||
|
lingucomponent/source/spellcheck/macosxspell/macspellimp \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim: set noet sw=4 ts=4:
|
57
lingucomponent/Library_guesslang.mk
Normal file
57
lingucomponent/Library_guesslang.mk
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
|
||||||
|
#
|
||||||
|
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
|
||||||
|
#
|
||||||
|
# The contents of this file are subject to the Mozilla Public License Version
|
||||||
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
||||||
|
# the License or as specified alternatively below. You may obtain a copy of
|
||||||
|
# the License at http://www.mozilla.org/MPL/
|
||||||
|
#
|
||||||
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
||||||
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||||
|
# for the specific language governing rights and limitations under the
|
||||||
|
# License.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer)
|
||||||
|
#
|
||||||
|
# All Rights Reserved.
|
||||||
|
#
|
||||||
|
# For minor contributions see the git repository.
|
||||||
|
#
|
||||||
|
# Alternatively, the contents of this file may be used under the terms of
|
||||||
|
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
|
||||||
|
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
|
||||||
|
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
|
||||||
|
# instead of those above.
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_Library,guesslang))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_componentfile,guesslang,lingucomponent/source/languageguessing/guesslang))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,guesslang,\
|
||||||
|
udkapi \
|
||||||
|
offapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,guesslang,\
|
||||||
|
$(gb_STDLIBS) \
|
||||||
|
cppu \
|
||||||
|
cppuhelper \
|
||||||
|
sal \
|
||||||
|
tl \
|
||||||
|
utl \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_use_externals,guesslang,\
|
||||||
|
libexttextcat \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,guesslang,\
|
||||||
|
lingucomponent/source/languageguessing/altstrfunc \
|
||||||
|
lingucomponent/source/languageguessing/guess \
|
||||||
|
lingucomponent/source/languageguessing/guesslang \
|
||||||
|
lingucomponent/source/languageguessing/simpleguesser \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim: set noet sw=4 ts=4:
|
70
lingucomponent/Library_hyphen.mk
Normal file
70
lingucomponent/Library_hyphen.mk
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
|
||||||
|
#
|
||||||
|
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
|
||||||
|
#
|
||||||
|
# The contents of this file are subject to the Mozilla Public License Version
|
||||||
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
||||||
|
# the License or as specified alternatively below. You may obtain a copy of
|
||||||
|
# the License at http://www.mozilla.org/MPL/
|
||||||
|
#
|
||||||
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
||||||
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||||
|
# for the specific language governing rights and limitations under the
|
||||||
|
# License.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer)
|
||||||
|
#
|
||||||
|
# All Rights Reserved.
|
||||||
|
#
|
||||||
|
# For minor contributions see the git repository.
|
||||||
|
#
|
||||||
|
# Alternatively, the contents of this file may be used under the terms of
|
||||||
|
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
|
||||||
|
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
|
||||||
|
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
|
||||||
|
# instead of those above.
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_Library,hyphen))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_componentfile,hyphen,lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphen))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_include,hyphen,\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
-I$(realpath $(SRCDIR)/lingucomponent/source/lingutil) \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,hyphen,\
|
||||||
|
udkapi \
|
||||||
|
offapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,hyphen,\
|
||||||
|
$(gb_STDLIBS) \
|
||||||
|
cppu \
|
||||||
|
cppuhelper \
|
||||||
|
i18nisolang1 \
|
||||||
|
lng \
|
||||||
|
sal \
|
||||||
|
tl \
|
||||||
|
utl \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_static_libs,hyphen,\
|
||||||
|
ulingu \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_use_externals,hyphen,\
|
||||||
|
hunspell \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_libs,hyphen,\
|
||||||
|
$(if $(filter MSC,$(COM)),hyphen.lib,-lhyphen) \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,hyphen,\
|
||||||
|
lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hreg \
|
||||||
|
lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim: set noet sw=4 ts=4:
|
72
lingucomponent/Library_lnth.mk
Normal file
72
lingucomponent/Library_lnth.mk
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
|
||||||
|
#
|
||||||
|
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
|
||||||
|
#
|
||||||
|
# The contents of this file are subject to the Mozilla Public License Version
|
||||||
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
||||||
|
# the License or as specified alternatively below. You may obtain a copy of
|
||||||
|
# the License at http://www.mozilla.org/MPL/
|
||||||
|
#
|
||||||
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
||||||
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||||
|
# for the specific language governing rights and limitations under the
|
||||||
|
# License.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer)
|
||||||
|
#
|
||||||
|
# All Rights Reserved.
|
||||||
|
#
|
||||||
|
# For minor contributions see the git repository.
|
||||||
|
#
|
||||||
|
# Alternatively, the contents of this file may be used under the terms of
|
||||||
|
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
|
||||||
|
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
|
||||||
|
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
|
||||||
|
# instead of those above.
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_Library,lnth))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_componentfile,lnth,lingucomponent/source/thesaurus/libnth/lnth))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_include,lnth,\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
-I$(realpath $(SRCDIR)/lingucomponent/source/lingutil) \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,lnth,\
|
||||||
|
udkapi \
|
||||||
|
offapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,lnth,\
|
||||||
|
$(gb_STDLIBS) \
|
||||||
|
comphelper \
|
||||||
|
cppu \
|
||||||
|
cppuhelper \
|
||||||
|
i18nisolang1 \
|
||||||
|
lng \
|
||||||
|
sal \
|
||||||
|
tl \
|
||||||
|
utl \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_static_libs,lnth,\
|
||||||
|
ulingu \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_use_externals,lnth,\
|
||||||
|
hunspell \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_libs,lnth,\
|
||||||
|
$(if $(filter MSC,$(COM)),libmythes.lib,-lmythes-1.2) \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,lnth,\
|
||||||
|
lingucomponent/source/thesaurus/libnth/nthesdta \
|
||||||
|
lingucomponent/source/thesaurus/libnth/nthesimp \
|
||||||
|
lingucomponent/source/thesaurus/libnth/ntreg \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim: set noet sw=4 ts=4:
|
66
lingucomponent/Library_spell.mk
Normal file
66
lingucomponent/Library_spell.mk
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
|
||||||
|
#
|
||||||
|
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
|
||||||
|
#
|
||||||
|
# The contents of this file are subject to the Mozilla Public License Version
|
||||||
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
||||||
|
# the License or as specified alternatively below. You may obtain a copy of
|
||||||
|
# the License at http://www.mozilla.org/MPL/
|
||||||
|
#
|
||||||
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
||||||
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||||
|
# for the specific language governing rights and limitations under the
|
||||||
|
# License.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer)
|
||||||
|
#
|
||||||
|
# All Rights Reserved.
|
||||||
|
#
|
||||||
|
# For minor contributions see the git repository.
|
||||||
|
#
|
||||||
|
# Alternatively, the contents of this file may be used under the terms of
|
||||||
|
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
|
||||||
|
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
|
||||||
|
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
|
||||||
|
# instead of those above.
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_Library,spell))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_componentfile,spell,lingucomponent/source/spellcheck/spell/spell))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_include,spell,\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
-I$(realpath $(SRCDIR)/lingucomponent/source/lingutil) \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,spell,\
|
||||||
|
udkapi \
|
||||||
|
offapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,spell,\
|
||||||
|
$(gb_STDLIBS) \
|
||||||
|
cppu \
|
||||||
|
cppuhelper \
|
||||||
|
i18nisolang1 \
|
||||||
|
lng \
|
||||||
|
sal \
|
||||||
|
tl \
|
||||||
|
utl \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_static_libs,spell,\
|
||||||
|
ulingu \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_use_externals,spell,\
|
||||||
|
hunspell \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,spell,\
|
||||||
|
lingucomponent/source/spellcheck/spell/sreg \
|
||||||
|
lingucomponent/source/spellcheck/spell/sspellimp \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim: set noet sw=4 ts=4:
|
@@ -1,7 +1,8 @@
|
|||||||
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||||
#*************************************************************************
|
#*************************************************************************
|
||||||
#
|
#
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
||||||
#
|
#
|
||||||
# OpenOffice.org - a multi-platform office productivity suite
|
# OpenOffice.org - a multi-platform office productivity suite
|
||||||
@@ -24,16 +25,15 @@
|
|||||||
# for a copy of the LGPLv3 License.
|
# for a copy of the LGPLv3 License.
|
||||||
#
|
#
|
||||||
#*************************************************************************
|
#*************************************************************************
|
||||||
PRJ=..
|
|
||||||
|
|
||||||
PRJNAME=lingucomponent
|
gb_PARTIALBUILD := T
|
||||||
TARGET=inc
|
ifeq ($(strip $(SOLARENV)),)
|
||||||
|
include $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/../solenv/gbuild/source_and_rerun.mk
|
||||||
|
else
|
||||||
|
|
||||||
# --- Settings -----------------------------------------------------
|
include $(SOLARENV)/gbuild/gbuild.mk
|
||||||
|
|
||||||
.INCLUDE : settings.mk
|
$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
|
||||||
|
|
||||||
# --- Files --------------------------------------------------------
|
endif
|
||||||
# --- Targets -------------------------------------------------------
|
# vim: set noet sw=4 ts=4:
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
40
lingucomponent/Module_lingucomponent.mk
Normal file
40
lingucomponent/Module_lingucomponent.mk
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
|
||||||
|
#
|
||||||
|
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
|
||||||
|
#
|
||||||
|
# The contents of this file are subject to the Mozilla Public License Version
|
||||||
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
||||||
|
# the License or as specified alternatively below. You may obtain a copy of
|
||||||
|
# the License at http://www.mozilla.org/MPL/
|
||||||
|
#
|
||||||
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
||||||
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||||
|
# for the specific language governing rights and limitations under the
|
||||||
|
# License.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer)
|
||||||
|
#
|
||||||
|
# All Rights Reserved.
|
||||||
|
#
|
||||||
|
# For minor contributions see the git repository.
|
||||||
|
#
|
||||||
|
# Alternatively, the contents of this file may be used under the terms of
|
||||||
|
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
|
||||||
|
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
|
||||||
|
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
|
||||||
|
# instead of those above.
|
||||||
|
|
||||||
|
$(eval $(call gb_Module_Module,lingucomponent))
|
||||||
|
|
||||||
|
$(eval $(call gb_Module_add_targets,lingucomponent,\
|
||||||
|
Library_guesslang \
|
||||||
|
Library_hyphen \
|
||||||
|
Library_lnth \
|
||||||
|
$(if $(filter aqua,$(GUIBASE)),Library_MacOSXSpell) \
|
||||||
|
Library_spell \
|
||||||
|
Package_config \
|
||||||
|
StaticLibrary_ulingu \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim: set noet sw=4 ts=4:
|
34
lingucomponent/Package_config.mk
Normal file
34
lingucomponent/Package_config.mk
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
|
||||||
|
#
|
||||||
|
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
|
||||||
|
#
|
||||||
|
# The contents of this file are subject to the Mozilla Public License Version
|
||||||
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
||||||
|
# the License or as specified alternatively below. You may obtain a copy of
|
||||||
|
# the License at http://www.mozilla.org/MPL/
|
||||||
|
#
|
||||||
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
||||||
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||||
|
# for the specific language governing rights and limitations under the
|
||||||
|
# License.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer)
|
||||||
|
#
|
||||||
|
# All Rights Reserved.
|
||||||
|
#
|
||||||
|
# For minor contributions see the git repository.
|
||||||
|
#
|
||||||
|
# Alternatively, the contents of this file may be used under the terms of
|
||||||
|
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
|
||||||
|
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
|
||||||
|
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
|
||||||
|
# instead of those above.
|
||||||
|
|
||||||
|
$(eval $(call gb_Package_Package,lingucomponent_config,$(SRCDIR)/lingucomponent/config))
|
||||||
|
|
||||||
|
$(eval $(call gb_Package_add_file,lingucomponent_config,xml/registry/data/org/openoffice/Office/Linguistic-lingucomponent-hyphenator.xcu,Linguistic-lingucomponent-hyphenator.xcu))
|
||||||
|
$(eval $(call gb_Package_add_file,lingucomponent_config,xml/registry/data/org/openoffice/Office/Linguistic-lingucomponent-spellchecker.xcu,Linguistic-lingucomponent-spellchecker.xcu))
|
||||||
|
$(eval $(call gb_Package_add_file,lingucomponent_config,xml/registry/data/org/openoffice/Office/Linguistic-lingucomponent-thesaurus.xcu,Linguistic-lingucomponent-thesaurus.xcu))
|
||||||
|
|
||||||
|
# vim: set noet sw=4 ts=4:
|
50
lingucomponent/StaticLibrary_ulingu.mk
Normal file
50
lingucomponent/StaticLibrary_ulingu.mk
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
|
||||||
|
#
|
||||||
|
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
|
||||||
|
#
|
||||||
|
# The contents of this file are subject to the Mozilla Public License Version
|
||||||
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
||||||
|
# the License or as specified alternatively below. You may obtain a copy of
|
||||||
|
# the License at http://www.mozilla.org/MPL/
|
||||||
|
#
|
||||||
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
||||||
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||||
|
# for the specific language governing rights and limitations under the
|
||||||
|
# License.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer)
|
||||||
|
#
|
||||||
|
# All Rights Reserved.
|
||||||
|
#
|
||||||
|
# For minor contributions see the git repository.
|
||||||
|
#
|
||||||
|
# Alternatively, the contents of this file may be used under the terms of
|
||||||
|
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
|
||||||
|
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
|
||||||
|
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
|
||||||
|
# instead of those above.
|
||||||
|
|
||||||
|
$(eval $(call gb_StaticLibrary_StaticLibrary,ulingu))
|
||||||
|
|
||||||
|
$(eval $(call gb_StaticLibrary_add_api,ulingu,\
|
||||||
|
udkapi \
|
||||||
|
offapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
ifeq ($(SYSTEM_DICTS),YES)
|
||||||
|
$(eval $(call gb_StaticLibrary_add_defs,ulingu,\
|
||||||
|
-DSYSTEM_DICTS -DDICT_SYSTEM_DIR=\"$(DICT_SYSTEM_DIR)\" -DHYPH_SYSTEM_DIR=\"$(HYPH_SYSTEM_DIR)\" -DTHES_SYSTEM_DIR=\"$(THES_SYSTEM_DIR)\" \
|
||||||
|
))
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(eval $(call gb_StaticLibrary_use_externals,ulingu,\
|
||||||
|
hunspell \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_StaticLibrary_add_exception_objects,ulingu,\
|
||||||
|
lingucomponent/source/lingutil/lingutil \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim: set noet sw=4 ts=4:
|
@@ -1,10 +1,2 @@
|
|||||||
lc lingucomponent : linguistic LIBEXTTEXTCAT:libexttextcat svl HYPHEN:hyphen HUNSPELL:hunspell MYTHES:mythes LIBXSLT:libxslt NULL
|
lc lingucomponent : linguistic LIBEXTTEXTCAT:libexttextcat svl HYPHEN:hyphen HUNSPELL:hunspell MYTHES:mythes LIBXSLT:libxslt NULL
|
||||||
lc lingucomponent usr1 - all lc_mkout NULL
|
lc lingucomponent\prj nmake - all lc_prj NULL
|
||||||
lc lingucomponent\inc nmake - all lc_inc NULL
|
|
||||||
lc lingucomponent\source\lingutil nmake - all lc_util lc_inc NULL
|
|
||||||
lc lingucomponent\source\thesaurus\libnth nmake - all lc_libnth lc_util lc_inc NULL
|
|
||||||
lc lingucomponent\source\spellcheck\spell nmake - all lc_libspell lc_util lc_inc NULL
|
|
||||||
lc lingucomponent\source\hyphenator\altlinuxhyph\hyphen nmake - all lc_libhyphen lc_util lc_inc NULL
|
|
||||||
lc lingucomponent\source\languageguessing nmake - all lc_languageguessing lc_util lc_inc NULL
|
|
||||||
lc lingucomponent\source\spellcheck\macosxspell nmake - all lc_libmacosxspell lc_util lc_inc NULL
|
|
||||||
|
|
||||||
|
@@ -1,53 +0,0 @@
|
|||||||
..\%__SRC%\bin\*.dat %_DEST%\bin\*.dat
|
|
||||||
..\%__SRC%\bin\*.idx %_DEST%\bin\*.idx
|
|
||||||
..\%__SRC%\bin\*.aff %_DEST%\bin\*.aff
|
|
||||||
..\%__SRC%\bin\*.dic %_DEST%\bin\*.dic
|
|
||||||
..\%__SRC%\bin\*.lst %_DEST%\bin\*.lst
|
|
||||||
|
|
||||||
..\%__SRC%\bin\lnth* %_DEST%\bin\lnth*
|
|
||||||
..\%__SRC%\lib\ilnth* %_DEST%\lib\ilnth*
|
|
||||||
..\%__SRC%\lib\liblnth.a %_DEST%\lib\liblnth.a
|
|
||||||
..\%__SRC%\lib\liblnth*.dylib %_DEST%\lib\liblnth*.dylib
|
|
||||||
..\%__SRC%\lib\liblnth*.so %_DEST%\lib\liblnth*.so
|
|
||||||
|
|
||||||
..\%__SRC%\bin\spell* %_DEST%\bin\spell*
|
|
||||||
..\%__SRC%\lib\ilspell* %_DEST%\lib\ilspell*
|
|
||||||
..\%__SRC%\lib\libspell*.dylib %_DEST%\lib\libspell*.dylib
|
|
||||||
..\%__SRC%\lib\libspell*.so %_DEST%\lib\libspell*.so
|
|
||||||
|
|
||||||
..\%__SRC%\bin\hunspell* %_DEST%\bin\hunspell*
|
|
||||||
..\%__SRC%\lib\ilhunspell* %_DEST%\lib\ilhunspell*
|
|
||||||
..\%__SRC%\lib\libhunspell*.dylib %_DEST%\lib\libhunspell*.dylib
|
|
||||||
..\%__SRC%\lib\libhunspell*.so %_DEST%\lib\libhunspell*.so
|
|
||||||
|
|
||||||
..\%__SRC%\bin\hyph* %_DEST%\bin\hyph*
|
|
||||||
..\%__SRC%\lib\ihyph* %_DEST%\lib\ihyph*
|
|
||||||
..\%__SRC%\lib\libhnj.* %_DEST%\lib\libhnj.*
|
|
||||||
..\%__SRC%\lib\*.dylib %_DEST%\lib\*.dylib
|
|
||||||
..\%__SRC%\lib\libhyphen*.so %_DEST%\lib\libhyphen*.so
|
|
||||||
|
|
||||||
..\%__SRC%\bin\ulingu* %_DEST%\bin\ulingu*
|
|
||||||
..\%__SRC%\lib\ilulingu* %_DEST%\lib\iulingu*
|
|
||||||
..\%__SRC%\lib\libulingu.a %_DEST%\lib\libulingu.a
|
|
||||||
..\%__SRC%\lib\*.dylib %_DEST%\lib\*.dylib
|
|
||||||
|
|
||||||
..\%__SRC%\bin\guesslan* %_DEST%\bin\guesslan*
|
|
||||||
..\%__SRC%\lib\iguesslang* %_DEST%\lib\iguesslang*
|
|
||||||
..\%__SRC%\lib\libguesslang*.dylib %_DEST%\lib\libguesslang*.dylib
|
|
||||||
..\%__SRC%\lib\libguesslang*.so %_DEST%\lib\libguesslang*.so
|
|
||||||
|
|
||||||
..\%__SRC%\lib\libMacOSXSpell*.dylib %_DEST%\lib\libMacOSXSpell*.dylib
|
|
||||||
|
|
||||||
|
|
||||||
mkdir: %_DEST%\xml\registry
|
|
||||||
mkdir: %_DEST%\xml\registry\data
|
|
||||||
mkdir: %_DEST%\xml\registry\data\org
|
|
||||||
mkdir: %_DEST%\xml\registry\data\org\openoffice
|
|
||||||
mkdir: %_DEST%\xml\registry\data\org\openoffice\Office
|
|
||||||
..\config\*.xcu %_DEST%\xml\registry\data\org\openoffice\Office\*.xcu
|
|
||||||
|
|
||||||
..\%__SRC%\misc\MacOSXSpell.component %_DEST%\xml\MacOSXSpell.component
|
|
||||||
..\%__SRC%\misc\guesslang.component %_DEST%\xml\guesslang.component
|
|
||||||
..\%__SRC%\misc\hyphen.component %_DEST%\xml\hyphen.component
|
|
||||||
..\%__SRC%\misc\lnth.component %_DEST%\xml\lnth.component
|
|
||||||
..\%__SRC%\misc\spell.component %_DEST%\xml\spell.component
|
|
||||||
|
1
lingucomponent/prj/makefile.mk
Normal file
1
lingucomponent/prj/makefile.mk
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.INCLUDE : gbuildbridge.mk
|
@@ -1 +0,0 @@
|
|||||||
component_getFactory
|
|
@@ -1,99 +0,0 @@
|
|||||||
#*************************************************************************
|
|
||||||
#
|
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
||||||
#
|
|
||||||
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
|
||||||
#
|
|
||||||
# OpenOffice.org - a multi-platform office productivity suite
|
|
||||||
#
|
|
||||||
# This file is part of OpenOffice.org.
|
|
||||||
#
|
|
||||||
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Lesser General Public License version 3
|
|
||||||
# only, as published by the Free Software Foundation.
|
|
||||||
#
|
|
||||||
# OpenOffice.org is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Lesser General Public License version 3 for more details
|
|
||||||
# (a copy is included in the LICENSE file that accompanied this code).
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Lesser General Public License
|
|
||||||
# version 3 along with OpenOffice.org. If not, see
|
|
||||||
# <http://www.openoffice.org/license.html>
|
|
||||||
# for a copy of the LGPLv3 License.
|
|
||||||
#
|
|
||||||
#*************************************************************************
|
|
||||||
|
|
||||||
PRJ = ..$/..$/..$/..
|
|
||||||
|
|
||||||
PRJNAME = lingucomponent
|
|
||||||
TARGET = hyphen_lib
|
|
||||||
ENABLE_EXCEPTIONS=TRUE
|
|
||||||
USE_DEFFILE=TRUE
|
|
||||||
|
|
||||||
.IF "$(GUI)"=="UNX" || "$(COM)"=="GCC"
|
|
||||||
HNJLIB=-lhyphen
|
|
||||||
.ELSE
|
|
||||||
HNJLIB=hyphen.lib
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
#----- Settings ---------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : settings.mk
|
|
||||||
|
|
||||||
# --- Files --------------------------------------------------------
|
|
||||||
|
|
||||||
.IF "$(SYSTEM_HUNSPELL)" != "YES"
|
|
||||||
HUNSPELL_CFLAGS += -I$(SOLARINCDIR)$/hunspell -DHUNSPELL_STATIC
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
CFLAGS += -I..$/..$/..$/lingutil $(HUNSPELL_CFLAGS)
|
|
||||||
|
|
||||||
EXCEPTIONSFILES= \
|
|
||||||
$(SLO)$/hyphenimp.obj
|
|
||||||
|
|
||||||
SLOFILES= \
|
|
||||||
$(SLO)$/hreg.obj\
|
|
||||||
$(SLO)$/hyphenimp.obj
|
|
||||||
|
|
||||||
REALNAME:=hyphen
|
|
||||||
SHL1TARGET= $(REALNAME)$(DLLPOSTFIX)
|
|
||||||
|
|
||||||
SHL1STDLIBS= \
|
|
||||||
$(CPPULIB) \
|
|
||||||
$(CPPUHELPERLIB) \
|
|
||||||
$(I18NISOLANGLIB) \
|
|
||||||
$(TOOLSLIB) \
|
|
||||||
$(SVLLIB) \
|
|
||||||
$(SALLIB) \
|
|
||||||
$(UNOTOOLSLIB) \
|
|
||||||
$(LNGLIB) \
|
|
||||||
$(HNJLIB) \
|
|
||||||
$(ULINGULIB) \
|
|
||||||
$(HUNSPELLLIB)
|
|
||||||
|
|
||||||
# build DLL
|
|
||||||
SHL1LIBS= $(SLB)$/$(TARGET).lib $(SLB)$/libulingu.lib
|
|
||||||
SHL1IMPLIB= i$(REALNAME)
|
|
||||||
SHL1DEPN= $(SHL1LIBS)
|
|
||||||
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
|
|
||||||
|
|
||||||
SHL1VERSIONMAP=$(SOLARENV)/src/component.map
|
|
||||||
|
|
||||||
# build DEF file
|
|
||||||
DEF1NAME =$(SHL1TARGET)
|
|
||||||
DEF1EXPORTFILE= exports.dxp
|
|
||||||
|
|
||||||
# --- Targets ------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
|
|
||||||
|
|
||||||
ALLTAR : $(MISC)/hyphen.component
|
|
||||||
|
|
||||||
$(MISC)/hyphen.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
|
|
||||||
hyphen.component
|
|
||||||
$(XSLTPROC) --nonet --stringparam uri \
|
|
||||||
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
|
|
||||||
$(SOLARENV)/bin/createcomponent.xslt hyphen.component
|
|
@@ -1,95 +0,0 @@
|
|||||||
#*************************************************************************
|
|
||||||
#
|
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
||||||
#
|
|
||||||
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
|
||||||
#
|
|
||||||
# OpenOffice.org - a multi-platform office productivity suite
|
|
||||||
#
|
|
||||||
# This file is part of OpenOffice.org.
|
|
||||||
#
|
|
||||||
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Lesser General Public License version 3
|
|
||||||
# only, as published by the Free Software Foundation.
|
|
||||||
#
|
|
||||||
# OpenOffice.org is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Lesser General Public License version 3 for more details
|
|
||||||
# (a copy is included in the LICENSE file that accompanied this code).
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Lesser General Public License
|
|
||||||
# version 3 along with OpenOffice.org. If not, see
|
|
||||||
# <http://www.openoffice.org/license.html>
|
|
||||||
# for a copy of the LGPLv3 License.
|
|
||||||
#
|
|
||||||
#*************************************************************************
|
|
||||||
|
|
||||||
PRJ=..$/..
|
|
||||||
PRJNAME=lingucomponent
|
|
||||||
|
|
||||||
TARGET=guesslang
|
|
||||||
|
|
||||||
ENABLE_EXCEPTIONS=TRUE
|
|
||||||
VISIBILITY_HIDDEN=TRUE
|
|
||||||
|
|
||||||
#----- Settings ---------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : settings.mk
|
|
||||||
|
|
||||||
# --- Files --------------------------------------------------------
|
|
||||||
|
|
||||||
.IF "$(GUI)"=="UNX"
|
|
||||||
.IF "$(SYSTEM_LIBEXTTEXTCAT)" == "YES"
|
|
||||||
LIBTEXTCATLIB=$(LIBEXTTEXTCAT_LIBS)
|
|
||||||
.ELSE
|
|
||||||
LIBTEXTCATLIB=-lexttextcat
|
|
||||||
.ENDIF
|
|
||||||
.ELSE # "$(GUI)"=="UNX"
|
|
||||||
.IF "$(COM)"=="GCC"
|
|
||||||
LIBTEXTCATLIB=-lilibexttextcat
|
|
||||||
.ELSE
|
|
||||||
LIBTEXTCATLIB=ilibexttextcat.lib
|
|
||||||
.ENDIF
|
|
||||||
.ENDIF # "$(GUI)"=="UNX"
|
|
||||||
|
|
||||||
SLOFILES = \
|
|
||||||
$(SLO)$/altstrfunc.obj \
|
|
||||||
$(SLO)$/guess.obj \
|
|
||||||
$(SLO)$/guesslang.obj \
|
|
||||||
$(SLO)$/simpleguesser.obj
|
|
||||||
|
|
||||||
|
|
||||||
SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
|
|
||||||
|
|
||||||
SHL1STDLIBS= \
|
|
||||||
$(CPPUHELPERLIB) \
|
|
||||||
$(CPPULIB) \
|
|
||||||
$(LIBTEXTCATLIB) \
|
|
||||||
$(SALLIB) \
|
|
||||||
$(SVLLIB) \
|
|
||||||
$(TOOLSLIB) \
|
|
||||||
$(UNOTOOLSLIB)
|
|
||||||
|
|
||||||
# build DLL
|
|
||||||
SHL1USE_EXPORTS = name
|
|
||||||
SHL1LIBS= $(SLB)$/$(TARGET).lib
|
|
||||||
SHL1IMPLIB= i$(TARGET)
|
|
||||||
SHL1DEPN= $(SHL1LIBS)
|
|
||||||
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
|
|
||||||
|
|
||||||
# build DEF file
|
|
||||||
DEF1NAME =$(SHL1TARGET)
|
|
||||||
|
|
||||||
# --- Targets ------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
|
|
||||||
|
|
||||||
ALLTAR : $(MISC)/guesslang.component
|
|
||||||
|
|
||||||
$(MISC)/guesslang.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
|
|
||||||
guesslang.component
|
|
||||||
$(XSLTPROC) --nonet --stringparam uri \
|
|
||||||
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
|
|
||||||
$(SOLARENV)/bin/createcomponent.xslt guesslang.component
|
|
@@ -1,63 +0,0 @@
|
|||||||
#*************************************************************************
|
|
||||||
#
|
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
||||||
#
|
|
||||||
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
|
||||||
#
|
|
||||||
# OpenOffice.org - a multi-platform office productivity suite
|
|
||||||
#
|
|
||||||
# This file is part of OpenOffice.org.
|
|
||||||
#
|
|
||||||
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Lesser General Public License version 3
|
|
||||||
# only, as published by the Free Software Foundation.
|
|
||||||
#
|
|
||||||
# OpenOffice.org is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Lesser General Public License version 3 for more details
|
|
||||||
# (a copy is included in the LICENSE file that accompanied this code).
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Lesser General Public License
|
|
||||||
# version 3 along with OpenOffice.org. If not, see
|
|
||||||
# <http://www.openoffice.org/license.html>
|
|
||||||
# for a copy of the LGPLv3 License.
|
|
||||||
#
|
|
||||||
#*************************************************************************
|
|
||||||
|
|
||||||
PRJ = ..$/..
|
|
||||||
|
|
||||||
PRJNAME = lingucomponent
|
|
||||||
TARGET = ulingu
|
|
||||||
LIBTARGET=NO
|
|
||||||
|
|
||||||
ENABLE_EXCEPTIONS=TRUE
|
|
||||||
|
|
||||||
#----- Settings ---------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : settings.mk
|
|
||||||
|
|
||||||
.IF "$(SYSTEM_HUNSPELL)" != "YES"
|
|
||||||
HUNSPELL_CFLAGS += -I$(SOLARINCDIR)$/hunspell -DHUNSPELL_STATIC
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
.IF "$(SYSTEM_DICTS)" == "YES"
|
|
||||||
CXXFLAGS += -DSYSTEM_DICTS -DDICT_SYSTEM_DIR=\"$(DICT_SYSTEM_DIR)\" -DHYPH_SYSTEM_DIR=\"$(HYPH_SYSTEM_DIR)\" -DTHES_SYSTEM_DIR=\"$(THES_SYSTEM_DIR)\"
|
|
||||||
CFLAGSCXX += -DSYSTEM_DICTS -DDICT_SYSTEM_DIR=\"$(DICT_SYSTEM_DIR)\" -DHYPH_SYSTEM_DIR=\"$(HYPH_SYSTEM_DIR)\" -DTHES_SYSTEM_DIR=\"$(THES_SYSTEM_DIR)\"
|
|
||||||
CFLAGSCC += -DSYSTEM_DICTS -DDICT_SYSTEM_DIR=\"$(DICT_SYSTEM_DIR)\" -DHYPH_SYSTEM_DIR=\"$(HYPH_SYSTEM_DIR)\" -DTHES_SYSTEM_DIR=\"$(THES_SYSTEM_DIR)\"
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
CXXFLAGS += $(HUNSPELL_CFLAGS)
|
|
||||||
CFLAGSCXX += $(HUNSPELL_CFLAGS)
|
|
||||||
CFLAGSCC += $(HUNSPELL_CFLAGS)
|
|
||||||
|
|
||||||
SLOFILES = $(SLO)$/lingutil.obj
|
|
||||||
|
|
||||||
LIB1TARGET= $(SLB)$/lib$(TARGET).lib
|
|
||||||
LIB1ARCHIV= $(LB)/lib$(TARGET).a
|
|
||||||
LIB1OBJFILES= $(SLOFILES)
|
|
||||||
|
|
||||||
|
|
||||||
# --- Targets ------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
@@ -1,100 +0,0 @@
|
|||||||
#*************************************************************************
|
|
||||||
#
|
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
||||||
#
|
|
||||||
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
|
||||||
#
|
|
||||||
# OpenOffice.org - a multi-platform office productivity suite
|
|
||||||
#
|
|
||||||
# This file is part of OpenOffice.org.
|
|
||||||
#
|
|
||||||
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Lesser General Public License version 3
|
|
||||||
# only, as published by the Free Software Foundation.
|
|
||||||
#
|
|
||||||
# OpenOffice.org is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Lesser General Public License version 3 for more details
|
|
||||||
# (a copy is included in the LICENSE file that accompanied this code).
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Lesser General Public License
|
|
||||||
# version 3 along with OpenOffice.org. If not, see
|
|
||||||
# <http://www.openoffice.org/license.html>
|
|
||||||
# for a copy of the LGPLv3 License.
|
|
||||||
#
|
|
||||||
#*************************************************************************
|
|
||||||
|
|
||||||
PRJ = ..$/..$/..
|
|
||||||
|
|
||||||
PRJNAME = lingucomponent
|
|
||||||
TARGET = MacOSXSpell
|
|
||||||
ENABLE_EXCEPTIONS=TRUE
|
|
||||||
USE_DEFFILE=TRUE
|
|
||||||
|
|
||||||
.IF "$(GUIBASE)"=="aqua"
|
|
||||||
|
|
||||||
#----- Settings ---------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : settings.mk
|
|
||||||
|
|
||||||
.IF "$(SYSTEM_HUNSPELL)" != "YES"
|
|
||||||
HUNSPELL_CFLAGS += -I$(SOLARINCDIR)$/hunspell -DHUNSPELL_STATIC
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
CXXFLAGS += $(HUNSPELL_CFLAGS)
|
|
||||||
CFLAGSCXX += $(HUNSPELL_CFLAGS)
|
|
||||||
CFLAGSCC += $(HUNSPELL_CFLAGS)
|
|
||||||
|
|
||||||
# --- Files --------------------------------------------------------
|
|
||||||
|
|
||||||
CFLAGSCXX+=$(OBJCXXFLAGS)
|
|
||||||
CFLAGSCXX+=-I..$/..$/lingutil
|
|
||||||
|
|
||||||
EXCEPTIONSFILES= \
|
|
||||||
$(SLO)$/macspellimp.obj
|
|
||||||
|
|
||||||
|
|
||||||
SLOFILES= \
|
|
||||||
$(SLO)$/macreg.obj\
|
|
||||||
$(SLO)$/macspellimp.obj
|
|
||||||
|
|
||||||
|
|
||||||
SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
|
|
||||||
|
|
||||||
SHL1STDLIBS= \
|
|
||||||
$(CPPULIB) \
|
|
||||||
$(CPPUHELPERLIB) \
|
|
||||||
$(TOOLSLIB) \
|
|
||||||
$(SVLLIB) \
|
|
||||||
$(SALLIB) \
|
|
||||||
$(UCBHELPERLIB) \
|
|
||||||
$(UNOTOOLSLIB) \
|
|
||||||
$(LNGLIB)
|
|
||||||
|
|
||||||
SHL1STDLIBS+= -framework Cocoa
|
|
||||||
|
|
||||||
# build DLL
|
|
||||||
SHL1LIBS= $(SLB)$/$(TARGET).lib
|
|
||||||
SHL1IMPLIB= i$(TARGET)
|
|
||||||
SHL1DEPN= $(SHL1LIBS)
|
|
||||||
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
|
|
||||||
|
|
||||||
SHL1VERSIONMAP=$(SOLARENV)/src/component.map
|
|
||||||
|
|
||||||
# --- Targets ------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
|
|
||||||
.ELSE
|
|
||||||
dummy:
|
|
||||||
@echo " Nothing to build for GUIBASE=$(GUIBASE)"
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
ALLTAR : $(MISC)/MacOSXSpell.component
|
|
||||||
|
|
||||||
$(MISC)/MacOSXSpell.component .ERRREMOVE : \
|
|
||||||
$(SOLARENV)/bin/createcomponent.xslt MacOSXSpell.component
|
|
||||||
$(XSLTPROC) --nonet --stringparam uri \
|
|
||||||
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
|
|
||||||
$(SOLARENV)/bin/createcomponent.xslt MacOSXSpell.component
|
|
@@ -1 +0,0 @@
|
|||||||
component_getFactory
|
|
@@ -1,95 +0,0 @@
|
|||||||
#*************************************************************************
|
|
||||||
#
|
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
||||||
#
|
|
||||||
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
|
||||||
#
|
|
||||||
# OpenOffice.org - a multi-platform office productivity suite
|
|
||||||
#
|
|
||||||
# This file is part of OpenOffice.org.
|
|
||||||
#
|
|
||||||
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Lesser General Public License version 3
|
|
||||||
# only, as published by the Free Software Foundation.
|
|
||||||
#
|
|
||||||
# OpenOffice.org is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Lesser General Public License version 3 for more details
|
|
||||||
# (a copy is included in the LICENSE file that accompanied this code).
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Lesser General Public License
|
|
||||||
# version 3 along with OpenOffice.org. If not, see
|
|
||||||
# <http://www.openoffice.org/license.html>
|
|
||||||
# for a copy of the LGPLv3 License.
|
|
||||||
#
|
|
||||||
#*************************************************************************
|
|
||||||
|
|
||||||
PRJ = ..$/..$/..
|
|
||||||
|
|
||||||
PRJNAME = lingucomponent
|
|
||||||
TARGET = spell
|
|
||||||
ENABLE_EXCEPTIONS=TRUE
|
|
||||||
USE_DEFFILE=TRUE
|
|
||||||
|
|
||||||
.IF "$(SYSTEM_HUNSPELL)" != "YES"
|
|
||||||
HUNSPELL_CFLAGS += -I$(SOLARINCDIR)$/hunspell -DHUNSPELL_STATIC
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
#----- Settings ---------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : settings.mk
|
|
||||||
|
|
||||||
# --- Files --------------------------------------------------------
|
|
||||||
|
|
||||||
CXXFLAGS += -I$(PRJ)$/source$/lingutil $(HUNSPELL_CFLAGS)
|
|
||||||
CFLAGSCXX += -I$(PRJ)$/source$/lingutil $(HUNSPELL_CFLAGS)
|
|
||||||
CFLAGSCC += -I$(PRJ)$/source$/lingutil $(HUNSPELL_CFLAGS)
|
|
||||||
|
|
||||||
EXCEPTIONSFILES= \
|
|
||||||
$(SLO)$/sspellimp.obj
|
|
||||||
|
|
||||||
SLOFILES= \
|
|
||||||
$(SLO)$/sreg.obj\
|
|
||||||
$(SLO)$/sspellimp.obj
|
|
||||||
|
|
||||||
|
|
||||||
SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
|
|
||||||
|
|
||||||
SHL1STDLIBS= \
|
|
||||||
$(CPPULIB) \
|
|
||||||
$(CPPUHELPERLIB) \
|
|
||||||
$(I18NISOLANGLIB) \
|
|
||||||
$(TOOLSLIB) \
|
|
||||||
$(UNOTOOLSLIB) \
|
|
||||||
$(SVLLIB) \
|
|
||||||
$(SALLIB) \
|
|
||||||
$(LNGLIB) \
|
|
||||||
$(ULINGULIB) \
|
|
||||||
$(ICUUCLIB) \
|
|
||||||
$(HUNSPELLLIB)
|
|
||||||
|
|
||||||
# build DLL
|
|
||||||
SHL1LIBS= $(SLB)$/$(TARGET).lib $(SLB)$/libulingu.lib
|
|
||||||
SHL1IMPLIB= i$(TARGET)
|
|
||||||
SHL1DEPN= $(SHL1LIBS)
|
|
||||||
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
|
|
||||||
|
|
||||||
SHL1VERSIONMAP=$(SOLARENV)/src/component.map
|
|
||||||
|
|
||||||
# build DEF file
|
|
||||||
DEF1NAME =$(SHL1TARGET)
|
|
||||||
DEF1EXPORTFILE= exports.dxp
|
|
||||||
|
|
||||||
# --- Targets ------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
|
|
||||||
|
|
||||||
ALLTAR : $(MISC)/spell.component
|
|
||||||
|
|
||||||
$(MISC)/spell.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
|
|
||||||
spell.component
|
|
||||||
$(XSLTPROC) --nonet --stringparam uri \
|
|
||||||
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
|
|
||||||
$(SOLARENV)/bin/createcomponent.xslt spell.component
|
|
@@ -1 +0,0 @@
|
|||||||
component_getFactory
|
|
@@ -1,113 +0,0 @@
|
|||||||
#*************************************************************************
|
|
||||||
#
|
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
||||||
#
|
|
||||||
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
|
||||||
#
|
|
||||||
# OpenOffice.org - a multi-platform office productivity suite
|
|
||||||
#
|
|
||||||
# This file is part of OpenOffice.org.
|
|
||||||
#
|
|
||||||
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Lesser General Public License version 3
|
|
||||||
# only, as published by the Free Software Foundation.
|
|
||||||
#
|
|
||||||
# OpenOffice.org is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Lesser General Public License version 3 for more details
|
|
||||||
# (a copy is included in the LICENSE file that accompanied this code).
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Lesser General Public License
|
|
||||||
# version 3 along with OpenOffice.org. If not, see
|
|
||||||
# <http://www.openoffice.org/license.html>
|
|
||||||
# for a copy of the LGPLv3 License.
|
|
||||||
#
|
|
||||||
#*************************************************************************
|
|
||||||
|
|
||||||
PRJ = ..$/..$/..
|
|
||||||
|
|
||||||
PRJNAME = lingucomponent
|
|
||||||
TARGET = lnth
|
|
||||||
ENABLE_EXCEPTIONS=TRUE
|
|
||||||
USE_DEFFILE=TRUE
|
|
||||||
|
|
||||||
|
|
||||||
.IF "$(MYTHESLIB)"==""
|
|
||||||
.IF "$(GUI)"=="UNX"
|
|
||||||
MYTHESLIB=-lmythes
|
|
||||||
.ENDIF # unx
|
|
||||||
.IF "$(GUI)"=="WNT"
|
|
||||||
MYTHESLIB=libmythes.lib
|
|
||||||
.ENDIF # wnt
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
#----- Settings ---------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : settings.mk
|
|
||||||
|
|
||||||
# --- Files --------------------------------------------------------
|
|
||||||
|
|
||||||
.IF "$(SYSTEM_HUNSPELL)" != "YES"
|
|
||||||
HUNSPELL_CFLAGS += -I$(SOLARINCDIR)$/hunspell -DHUNSPELL_STATIC
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
.IF "$(SYSTEM_MYTHES)" != "YES"
|
|
||||||
CXXFLAGS += -I..$/mythes
|
|
||||||
CFLAGSCXX += -I..$/mythes
|
|
||||||
CFLAGSCC += -I..$/mythes
|
|
||||||
.ENDIF
|
|
||||||
CXXFLAGS += -I$(PRJ)$/source$/lingutil $(HUNSPELL_CFLAGS)
|
|
||||||
CFLAGSCXX += -I$(PRJ)$/source$/lingutil $(HUNSPELL_CFLAGS)
|
|
||||||
CFLAGSCC += -I$(PRJ)$/source$/lingutil $(HUNSPELL_CFLAGS)
|
|
||||||
|
|
||||||
EXCEPTIONSFILES= \
|
|
||||||
$(SLO)$/nthesimp.obj \
|
|
||||||
$(SLO)$/nthesdta.obj
|
|
||||||
|
|
||||||
SLOFILES= \
|
|
||||||
$(SLO)$/nthesdta.obj\
|
|
||||||
$(SLO)$/ntreg.obj\
|
|
||||||
$(SLO)$/nthesimp.obj
|
|
||||||
|
|
||||||
|
|
||||||
SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
|
|
||||||
|
|
||||||
SHL1STDLIBS= \
|
|
||||||
$(COMPHELPERLIB) \
|
|
||||||
$(CPPULIB) \
|
|
||||||
$(CPPUHELPERLIB) \
|
|
||||||
$(TOOLSLIB) \
|
|
||||||
$(I18NISOLANGLIB) \
|
|
||||||
$(SVLLIB) \
|
|
||||||
$(SALLIB) \
|
|
||||||
$(UNOTOOLSLIB) \
|
|
||||||
$(LNGLIB) \
|
|
||||||
$(ULINGULIB) \
|
|
||||||
$(MYTHESLIB) \
|
|
||||||
$(HUNSPELLLIB)
|
|
||||||
|
|
||||||
# build DLL
|
|
||||||
SHL1LIBS= $(SLB)$/$(TARGET).lib $(SLB)$/libulingu.lib
|
|
||||||
SHL1IMPLIB= i$(TARGET)
|
|
||||||
SHL1DEPN= $(SHL1LIBS)
|
|
||||||
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
|
|
||||||
|
|
||||||
SHL1VERSIONMAP=$(SOLARENV)/src/component.map
|
|
||||||
|
|
||||||
# build DEF file
|
|
||||||
DEF1NAME =$(SHL1TARGET)
|
|
||||||
DEF1EXPORTFILE= exports.dxp
|
|
||||||
|
|
||||||
# --- Targets ------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
|
|
||||||
|
|
||||||
ALLTAR : $(MISC)/lnth.component
|
|
||||||
|
|
||||||
$(MISC)/lnth.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
|
|
||||||
lnth.component
|
|
||||||
$(XSLTPROC) --nonet --stringparam uri \
|
|
||||||
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
|
|
||||||
$(SOLARENV)/bin/createcomponent.xslt lnth.component
|
|
@@ -76,6 +76,10 @@ my_components = \
|
|||||||
component/hwpfilter/source/hwp \
|
component/hwpfilter/source/hwp \
|
||||||
component/i18npool/source/search/i18nsearch \
|
component/i18npool/source/search/i18nsearch \
|
||||||
component/i18npool/util/i18npool \
|
component/i18npool/util/i18npool \
|
||||||
|
component/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphen \
|
||||||
|
component/lingucomponent/source/languageguessing/guesslang \
|
||||||
|
component/lingucomponent/source/spellcheck/spell/spell \
|
||||||
|
component/lingucomponent/source/thesaurus/libnth/lnth \
|
||||||
component/linguistic/source/lng \
|
component/linguistic/source/lng \
|
||||||
component/lotuswordpro/util/lwpfilter \
|
component/lotuswordpro/util/lwpfilter \
|
||||||
component/oox/util/oox \
|
component/oox/util/oox \
|
||||||
@@ -144,14 +148,10 @@ my_components = \
|
|||||||
dbtools \
|
dbtools \
|
||||||
embobj \
|
embobj \
|
||||||
flat \
|
flat \
|
||||||
guesslang \
|
|
||||||
hyphen \
|
|
||||||
lnth \
|
|
||||||
localebe1 \
|
localebe1 \
|
||||||
mysql \
|
mysql \
|
||||||
odbc \
|
odbc \
|
||||||
sdbc2 \
|
sdbc2 \
|
||||||
spell \
|
|
||||||
srtrs1 \
|
srtrs1 \
|
||||||
ucb1 \
|
ucb1 \
|
||||||
ucpexpand1 \
|
ucpexpand1 \
|
||||||
@@ -285,7 +285,6 @@ my_components += component/xmlsecurity/util/xsec_xmlsec
|
|||||||
|
|
||||||
.IF "$(OS)" == "MACOSX"
|
.IF "$(OS)" == "MACOSX"
|
||||||
my_components += \
|
my_components += \
|
||||||
MacOSXSpell \
|
|
||||||
fps_aqua \
|
fps_aqua \
|
||||||
macab1 \
|
macab1 \
|
||||||
macbe1 \
|
macbe1 \
|
||||||
@@ -293,7 +292,9 @@ my_components += \
|
|||||||
.END
|
.END
|
||||||
|
|
||||||
.IF "$(GUIBASE)" == "aqua"
|
.IF "$(GUIBASE)" == "aqua"
|
||||||
my_components += component/avmedia/source/quicktime/avmediaQuickTime
|
my_components += \
|
||||||
|
component/avmedia/source/quicktime/avmediaQuickTime \
|
||||||
|
component/lingucomponent/source/spellcheck/macosxspell/MacOSXSpell
|
||||||
.END
|
.END
|
||||||
|
|
||||||
.IF "$(OS)" == "WNT"
|
.IF "$(OS)" == "WNT"
|
||||||
|
Reference in New Issue
Block a user