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