1*c4c42a0eSDamjan Jovanovic#************************************************************** 2*c4c42a0eSDamjan Jovanovic# 3*c4c42a0eSDamjan Jovanovic# Licensed to the Apache Software Foundation (ASF) under one 4*c4c42a0eSDamjan Jovanovic# or more contributor license agreements. See the NOTICE file 5*c4c42a0eSDamjan Jovanovic# distributed with this work for additional information 6*c4c42a0eSDamjan Jovanovic# regarding copyright ownership. The ASF licenses this file 7*c4c42a0eSDamjan Jovanovic# to you under the Apache License, Version 2.0 (the 8*c4c42a0eSDamjan Jovanovic# "License"); you may not use this file except in compliance 9*c4c42a0eSDamjan Jovanovic# with the License. You may obtain a copy of the License at 10*c4c42a0eSDamjan Jovanovic# 11*c4c42a0eSDamjan Jovanovic# http://www.apache.org/licenses/LICENSE-2.0 12*c4c42a0eSDamjan Jovanovic# 13*c4c42a0eSDamjan Jovanovic# Unless required by applicable law or agreed to in writing, 14*c4c42a0eSDamjan Jovanovic# software distributed under the License is distributed on an 15*c4c42a0eSDamjan Jovanovic# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*c4c42a0eSDamjan Jovanovic# KIND, either express or implied. See the License for the 17*c4c42a0eSDamjan Jovanovic# specific language governing permissions and limitations 18*c4c42a0eSDamjan Jovanovic# under the License. 19*c4c42a0eSDamjan Jovanovic# 20*c4c42a0eSDamjan Jovanovic#************************************************************** 21*c4c42a0eSDamjan Jovanovic 22*c4c42a0eSDamjan Jovanovic 23*c4c42a0eSDamjan Jovanovic 24*c4c42a0eSDamjan Jovanovic$(eval $(call gb_Library_Library,spell)) 25*c4c42a0eSDamjan Jovanovic 26*c4c42a0eSDamjan Jovanovic$(eval $(call gb_Library_add_precompiled_header,spell,$(SRCDIR)/lingucomponent/inc/pch/precompiled_spell)) 27*c4c42a0eSDamjan Jovanovic 28*c4c42a0eSDamjan Jovanovic$(eval $(call gb_Library_set_componentfile,spell,lingucomponent/source/spellcheck/spell/spell)) 29*c4c42a0eSDamjan Jovanovic 30*c4c42a0eSDamjan Jovanovic$(eval $(call gb_Library_set_include,spell,\ 31*c4c42a0eSDamjan Jovanovic $$(INCLUDE) \ 32*c4c42a0eSDamjan Jovanovic -I$(SRCDIR)/lingucomponent/inc \ 33*c4c42a0eSDamjan Jovanovic -I$(SRCDIR)/lingucomponent/inc/pch \ 34*c4c42a0eSDamjan Jovanovic -I$(SRCDIR)/lingucomponent/source/lingutil \ 35*c4c42a0eSDamjan Jovanovic -I$(OUTDIR)/inc \ 36*c4c42a0eSDamjan Jovanovic)) 37*c4c42a0eSDamjan Jovanovic 38*c4c42a0eSDamjan Jovanovic$(eval $(call gb_Library_add_api,spell, \ 39*c4c42a0eSDamjan Jovanovic offapi \ 40*c4c42a0eSDamjan Jovanovic udkapi \ 41*c4c42a0eSDamjan Jovanovic)) 42*c4c42a0eSDamjan Jovanovic 43*c4c42a0eSDamjan Jovanovic$(eval $(call gb_Library_add_linked_libs,spell,\ 44*c4c42a0eSDamjan Jovanovic cppu \ 45*c4c42a0eSDamjan Jovanovic cppuhelper \ 46*c4c42a0eSDamjan Jovanovic i18nisolang1 \ 47*c4c42a0eSDamjan Jovanovic icuuc \ 48*c4c42a0eSDamjan Jovanovic lng \ 49*c4c42a0eSDamjan Jovanovic sal \ 50*c4c42a0eSDamjan Jovanovic stl \ 51*c4c42a0eSDamjan Jovanovic svl \ 52*c4c42a0eSDamjan Jovanovic tl \ 53*c4c42a0eSDamjan Jovanovic utl \ 54*c4c42a0eSDamjan Jovanovic $(gb_STDLIBS) \ 55*c4c42a0eSDamjan Jovanovic)) 56*c4c42a0eSDamjan Jovanovic 57*c4c42a0eSDamjan Jovanovic$(eval $(call gb_Library_add_linked_static_libs,spell,\ 58*c4c42a0eSDamjan Jovanovic ulingu \ 59*c4c42a0eSDamjan Jovanovic)) 60*c4c42a0eSDamjan Jovanovic 61*c4c42a0eSDamjan Jovanovic$(eval $(call gb_Library_use_externals,spell,\ 62*c4c42a0eSDamjan Jovanovic hunspell \ 63*c4c42a0eSDamjan Jovanovic)) 64*c4c42a0eSDamjan Jovanovic 65*c4c42a0eSDamjan Jovanovic$(eval $(call gb_Library_add_exception_objects,spell,\ 66*c4c42a0eSDamjan Jovanovic lingucomponent/source/spellcheck/spell/sreg \ 67*c4c42a0eSDamjan Jovanovic lingucomponent/source/spellcheck/spell/sspellimp \ 68*c4c42a0eSDamjan Jovanovic)) 69*c4c42a0eSDamjan Jovanovic 70*c4c42a0eSDamjan Jovanovic# vim: set noet sw=4 ts=4: 71*c4c42a0eSDamjan Jovanovic 72