summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Repository.mk6
-rw-r--r--RepositoryModule_ooo.mk1
-rw-r--r--lingucomponent/Library_MacOSXSpell.mk64
-rw-r--r--lingucomponent/Library_guesslang.mk57
-rw-r--r--lingucomponent/Library_hyphen.mk70
-rw-r--r--lingucomponent/Library_lnth.mk72
-rw-r--r--lingucomponent/Library_spell.mk66
-rw-r--r--lingucomponent/Makefile (renamed from lingucomponent/inc/makefile.mk)20
-rw-r--r--lingucomponent/Module_lingucomponent.mk40
-rw-r--r--lingucomponent/Package_config.mk34
-rw-r--r--lingucomponent/StaticLibrary_ulingu.mk50
-rw-r--r--lingucomponent/prj/build.lst10
-rw-r--r--lingucomponent/prj/d.lst53
-rw-r--r--lingucomponent/prj/makefile.mk1
-rw-r--r--lingucomponent/source/hyphenator/altlinuxhyph/hyphen/exports.dxp1
-rw-r--r--lingucomponent/source/hyphenator/altlinuxhyph/hyphen/makefile.mk99
-rw-r--r--lingucomponent/source/languageguessing/makefile.mk95
-rw-r--r--lingucomponent/source/lingutil/makefile.mk63
-rw-r--r--lingucomponent/source/spellcheck/macosxspell/makefile.mk100
-rw-r--r--lingucomponent/source/spellcheck/spell/exports.dxp1
-rw-r--r--lingucomponent/source/spellcheck/spell/makefile.mk95
-rw-r--r--lingucomponent/source/thesaurus/libnth/exports.dxp1
-rw-r--r--lingucomponent/source/thesaurus/libnth/makefile.mk113
-rw-r--r--postprocess/packcomponents/makefile.mk13
24 files changed, 479 insertions, 646 deletions
diff --git a/Repository.mk b/Repository.mk
index 2cc35445f85a..d2b5c49373ef 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -152,8 +152,10 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
fwk \
fwl \
fwm \
+ guesslang \
helplinker \
hwp \
+ hyphen \
i18npaper \
i18nregexp \
icd \
@@ -169,7 +171,9 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
itg \
iti \
lng \
+ lnth \
lwpft \
+ MacOSXSpell \
merged \
msfilter \
msword \
@@ -203,6 +207,7 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
solver \
sot \
spa \
+ spell \
spl \
sts \
svgfilter \
@@ -372,6 +377,7 @@ $(eval $(call gb_Helper_register_static_libraries,PLAINLIBS, \
ooopathutils \
sample \
salcpprt \
+ ulingu \
vclmain \
writerperfect \
))
diff --git a/RepositoryModule_ooo.mk b/RepositoryModule_ooo.mk
index f59b2e0b95d5..fb97d84eee32 100644
--- a/RepositoryModule_ooo.mk
+++ b/RepositoryModule_ooo.mk
@@ -55,6 +55,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
i18npool \
i18nutil \
idl \
+ lingucomponent \
linguistic \
lotuswordpro \
MathMLDTD \
diff --git a/lingucomponent/Library_MacOSXSpell.mk b/lingucomponent/Library_MacOSXSpell.mk
new file mode 100644
index 000000000000..ee34290cceb9
--- /dev/null
+++ b/lingucomponent/Library_MacOSXSpell.mk
@@ -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:
diff --git a/lingucomponent/Library_guesslang.mk b/lingucomponent/Library_guesslang.mk
new file mode 100644
index 000000000000..28727bab6468
--- /dev/null
+++ b/lingucomponent/Library_guesslang.mk
@@ -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:
diff --git a/lingucomponent/Library_hyphen.mk b/lingucomponent/Library_hyphen.mk
new file mode 100644
index 000000000000..b75e6c2d9553
--- /dev/null
+++ b/lingucomponent/Library_hyphen.mk
@@ -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:
diff --git a/lingucomponent/Library_lnth.mk b/lingucomponent/Library_lnth.mk
new file mode 100644
index 000000000000..e659dbf0bb2f
--- /dev/null
+++ b/lingucomponent/Library_lnth.mk
@@ -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:
diff --git a/lingucomponent/Library_spell.mk b/lingucomponent/Library_spell.mk
new file mode 100644
index 000000000000..a66b4ba4dbbc
--- /dev/null
+++ b/lingucomponent/Library_spell.mk
@@ -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:
diff --git a/lingucomponent/inc/makefile.mk b/lingucomponent/Makefile
index ca92f6c28a79..44c7d7cd59d4 100644
--- a/lingucomponent/inc/makefile.mk
+++ b/lingucomponent/Makefile
@@ -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.
-#
+#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
@@ -24,16 +25,15 @@
# for a copy of the LGPLv3 License.
#
#*************************************************************************
-PRJ=..
-
-PRJNAME=lingucomponent
-TARGET=inc
-# --- Settings -----------------------------------------------------
+gb_PARTIALBUILD := T
+ifeq ($(strip $(SOLARENV)),)
+include $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/../solenv/gbuild/source_and_rerun.mk
+else
-.INCLUDE : settings.mk
+include $(SOLARENV)/gbuild/gbuild.mk
-# --- Files --------------------------------------------------------
-# --- Targets -------------------------------------------------------
+$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
-.INCLUDE : target.mk
+endif
+# vim: set noet sw=4 ts=4:
diff --git a/lingucomponent/Module_lingucomponent.mk b/lingucomponent/Module_lingucomponent.mk
new file mode 100644
index 000000000000..43f4a1a15a35
--- /dev/null
+++ b/lingucomponent/Module_lingucomponent.mk
@@ -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:
diff --git a/lingucomponent/Package_config.mk b/lingucomponent/Package_config.mk
new file mode 100644
index 000000000000..64131f4ab60c
--- /dev/null
+++ b/lingucomponent/Package_config.mk
@@ -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:
diff --git a/lingucomponent/StaticLibrary_ulingu.mk b/lingucomponent/StaticLibrary_ulingu.mk
new file mode 100644
index 000000000000..b18b35509079
--- /dev/null
+++ b/lingucomponent/StaticLibrary_ulingu.mk
@@ -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:
diff --git a/lingucomponent/prj/build.lst b/lingucomponent/prj/build.lst
index 07c9718a440d..a29328f79e4c 100644
--- a/lingucomponent/prj/build.lst
+++ b/lingucomponent/prj/build.lst
@@ -1,10 +1,2 @@
lc lingucomponent : linguistic LIBEXTTEXTCAT:libexttextcat svl HYPHEN:hyphen HUNSPELL:hunspell MYTHES:mythes LIBXSLT:libxslt NULL
-lc lingucomponent usr1 - all lc_mkout 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
-
+lc lingucomponent\prj nmake - all lc_prj NULL
diff --git a/lingucomponent/prj/d.lst b/lingucomponent/prj/d.lst
index 690135049bb5..e69de29bb2d1 100644
--- a/lingucomponent/prj/d.lst
+++ b/lingucomponent/prj/d.lst
@@ -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
diff --git a/lingucomponent/prj/makefile.mk b/lingucomponent/prj/makefile.mk
new file mode 100644
index 000000000000..0997622e00f6
--- /dev/null
+++ b/lingucomponent/prj/makefile.mk
@@ -0,0 +1 @@
+.INCLUDE : gbuildbridge.mk
diff --git a/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/exports.dxp b/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/exports.dxp
deleted file mode 100644
index 70033078921a..000000000000
--- a/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/exports.dxp
+++ /dev/null
@@ -1 +0,0 @@
-component_getFactory
diff --git a/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/makefile.mk b/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/makefile.mk
deleted file mode 100644
index c09723d52a92..000000000000
--- a/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/makefile.mk
+++ /dev/null
@@ -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
diff --git a/lingucomponent/source/languageguessing/makefile.mk b/lingucomponent/source/languageguessing/makefile.mk
deleted file mode 100644
index 65036dbb282c..000000000000
--- a/lingucomponent/source/languageguessing/makefile.mk
+++ /dev/null
@@ -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
diff --git a/lingucomponent/source/lingutil/makefile.mk b/lingucomponent/source/lingutil/makefile.mk
deleted file mode 100644
index 87df6aea598b..000000000000
--- a/lingucomponent/source/lingutil/makefile.mk
+++ /dev/null
@@ -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
diff --git a/lingucomponent/source/spellcheck/macosxspell/makefile.mk b/lingucomponent/source/spellcheck/macosxspell/makefile.mk
deleted file mode 100644
index 0a724f0f1469..000000000000
--- a/lingucomponent/source/spellcheck/macosxspell/makefile.mk
+++ /dev/null
@@ -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
diff --git a/lingucomponent/source/spellcheck/spell/exports.dxp b/lingucomponent/source/spellcheck/spell/exports.dxp
deleted file mode 100644
index 70033078921a..000000000000
--- a/lingucomponent/source/spellcheck/spell/exports.dxp
+++ /dev/null
@@ -1 +0,0 @@
-component_getFactory
diff --git a/lingucomponent/source/spellcheck/spell/makefile.mk b/lingucomponent/source/spellcheck/spell/makefile.mk
deleted file mode 100644
index 81a683c99da8..000000000000
--- a/lingucomponent/source/spellcheck/spell/makefile.mk
+++ /dev/null
@@ -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
diff --git a/lingucomponent/source/thesaurus/libnth/exports.dxp b/lingucomponent/source/thesaurus/libnth/exports.dxp
deleted file mode 100644
index 70033078921a..000000000000
--- a/lingucomponent/source/thesaurus/libnth/exports.dxp
+++ /dev/null
@@ -1 +0,0 @@
-component_getFactory
diff --git a/lingucomponent/source/thesaurus/libnth/makefile.mk b/lingucomponent/source/thesaurus/libnth/makefile.mk
deleted file mode 100644
index 068e71a50deb..000000000000
--- a/lingucomponent/source/thesaurus/libnth/makefile.mk
+++ /dev/null
@@ -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
diff --git a/postprocess/packcomponents/makefile.mk b/postprocess/packcomponents/makefile.mk
index cf5f1bfd5768..850d2c2c2dd3 100644
--- a/postprocess/packcomponents/makefile.mk
+++ b/postprocess/packcomponents/makefile.mk
@@ -76,6 +76,10 @@ my_components = \
component/hwpfilter/source/hwp \
component/i18npool/source/search/i18nsearch \
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/lotuswordpro/util/lwpfilter \
component/oox/util/oox \
@@ -144,14 +148,10 @@ my_components = \
dbtools \
embobj \
flat \
- guesslang \
- hyphen \
- lnth \
localebe1 \
mysql \
odbc \
sdbc2 \
- spell \
srtrs1 \
ucb1 \
ucpexpand1 \
@@ -285,7 +285,6 @@ my_components += component/xmlsecurity/util/xsec_xmlsec
.IF "$(OS)" == "MACOSX"
my_components += \
- MacOSXSpell \
fps_aqua \
macab1 \
macbe1 \
@@ -293,7 +292,9 @@ my_components += \
.END
.IF "$(GUIBASE)" == "aqua"
-my_components += component/avmedia/source/quicktime/avmediaQuickTime
+my_components += \
+ component/avmedia/source/quicktime/avmediaQuickTime \
+ component/lingucomponent/source/spellcheck/macosxspell/MacOSXSpell
.END
.IF "$(OS)" == "WNT"