summaryrefslogtreecommitdiff
path: root/lingucomponent/Library_lnth.mk
diff options
context:
space:
mode:
authorDamjan Jovanovic <damjan@apache.org>2018-03-30 19:16:11 +0000
committerDamjan Jovanovic <damjan@apache.org>2018-03-30 19:16:11 +0000
commite0f59ea0d587ac0cfc3081732a6a4ab030e7a457 (patch)
tree8d30638f2028d01a2f4cb6f1ca7288618f70b306 /lingucomponent/Library_lnth.mk
parentee34e88d5e6effdbfb88ff63a98e779bfd7fff05 (diff)
Port main/lingucomponent to gbuild.
Patch by: me
Notes
Notes: ignore: obsolete
Diffstat (limited to 'lingucomponent/Library_lnth.mk')
-rw-r--r--lingucomponent/Library_lnth.mk71
1 files changed, 71 insertions, 0 deletions
diff --git a/lingucomponent/Library_lnth.mk b/lingucomponent/Library_lnth.mk
new file mode 100644
index 000000000000..c72a9c3749df
--- /dev/null
+++ b/lingucomponent/Library_lnth.mk
@@ -0,0 +1,71 @@
+#**************************************************************
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+#**************************************************************
+
+
+
+$(eval $(call gb_Library_Library,lnth))
+
+$(eval $(call gb_Library_add_precompiled_header,lnth,$(SRCDIR)/lingucomponent/inc/pch/precompiled_lnth))
+
+$(eval $(call gb_Library_set_componentfile,lnth,lingucomponent/source/thesaurus/libnth/lnth))
+
+$(eval $(call gb_Library_set_include,lnth,\
+ $$(INCLUDE) \
+ -I$(SRCDIR)/lingucomponent/inc \
+ -I$(SRCDIR)/lingucomponent/inc/pch \
+ -I$(SRCDIR)/lingucomponent/source/lingutil \
+ -I$(OUTDIR)/inc \
+))
+
+$(eval $(call gb_Library_add_api,lnth, \
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_Library_add_linked_libs,lnth,\
+ cppu \
+ cppuhelper \
+ i18nisolang1 \
+ lng \
+ sal \
+ stl \
+ svl \
+ tl \
+ utl \
+ $(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Library_add_linked_static_libs,lnth,\
+ ulingu \
+))
+
+$(eval $(call gb_Library_use_externals,lnth,\
+ mythes \
+))
+
+$(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:
+