summaryrefslogtreecommitdiff
path: root/lingucomponent/Library_hyphen.mk
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-11-29 20:59:44 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2011-12-13 17:00:24 +0100
commitf9fc46c1ef035516287d09ddca86e1668a79c701 (patch)
tree65013fae543a24c1c04b5ad4457eeff142a2ace0 /lingucomponent/Library_hyphen.mk
parentbd030305b844f451910d671c894d5e8fa8d532b7 (diff)
convert lingucomponent to gbuild
Diffstat (limited to 'lingucomponent/Library_hyphen.mk')
-rw-r--r--lingucomponent/Library_hyphen.mk70
1 files changed, 70 insertions, 0 deletions
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: