xref: /trunk/main/linguistic/Library_lng.mk (revision 12ebf780)
1###############################################################
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20###############################################################
21
22
23
24$(eval $(call gb_Library_Library,lng))
25
26$(eval $(call gb_Library_add_package_headers,lng,linguistic_inc))
27
28$(eval $(call gb_Library_add_precompiled_header,lng,$(SRCDIR)/linguistic/inc/pch/precompiled_linguistic))
29
30$(eval $(call gb_Library_set_componentfile,lng,linguistic/source/lng))
31
32$(eval $(call gb_Library_add_api,lng,\
33	udkapi \
34	offapi \
35))
36
37$(eval $(call gb_Library_set_include,lng,\
38	$$(INCLUDE) \
39	-I$(SRCDIR)/linguistic/inc \
40	-I$(SRCDIR)/linguistic/inc/pch \
41))
42
43$(eval $(call gb_Library_add_defs,lng,\
44	-DLNG_DLLIMPLEMENTATION \
45))
46
47$(eval $(call gb_Library_add_linked_libs,lng,\
48	cppu \
49	cppuhelper \
50	comphelper \
51	vos3 \
52	tl \
53	i18nisolang1 \
54	svl \
55	stl \
56	sal \
57	xo \
58	ucbhelper \
59	utl \
60    $(gb_STDLIBS) \
61))
62
63$(call gb_Library_use_external,lng,icuuc)
64
65$(eval $(call gb_Library_add_exception_objects,lng,\
66	linguistic/source/convdic \
67	linguistic/source/convdiclist \
68	linguistic/source/convdicxml \
69	linguistic/source/dicimp \
70	linguistic/source/dlistimp \
71	linguistic/source/gciterator \
72	linguistic/source/hhconvdic \
73	linguistic/source/hyphdsp \
74	linguistic/source/hyphdta \
75	linguistic/source/iprcache \
76	linguistic/source/lngopt \
77	linguistic/source/lngprophelp \
78	linguistic/source/lngreg \
79	linguistic/source/lngsvcmgr \
80	linguistic/source/misc \
81	linguistic/source/misc2 \
82	linguistic/source/spelldsp \
83	linguistic/source/spelldta \
84	linguistic/source/thesdsp \
85	linguistic/source/thesdta \
86))
87
88# vim: set noet sw=4 ts=4:
89