xref: /aoo42x/main/svl/Library_svl.mk (revision 7871dc3e)
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,svl))
25
26$(eval $(call gb_Library_add_package_headers,svl,svl_inc))
27
28$(eval $(call gb_Library_add_precompiled_header,svl,$(SRCDIR)/svl/inc/pch/precompiled_svl))
29
30$(eval $(call gb_Library_set_componentfile,svl,svl/util/svl))
31
32$(eval $(call gb_Library_set_include,svl,\
33	$$(SOLARINC) \
34	-I$(SRCDIR)/svl/source/inc \
35	-I$(SRCDIR)/svl/inc/pch \
36	-I$(OUTDIR)/inc/offuh \
37))
38
39$(eval $(call gb_Library_set_defs,svl,\
40	$$(DEFS) \
41	-DSVL_DLLIMPLEMENTATION \
42))
43
44$(eval $(call gb_Library_add_linked_libs,svl,\
45	basegfx \
46	comphelper \
47	cppu \
48	cppuhelper \
49	i18nisolang1 \
50	i18nutil \
51	jvmfwk \
52	sal \
53	sot \
54	stl \
55	tl \
56	ucbhelper \
57	utl \
58	vos3 \
59    $(gb_STDLIBS) \
60))
61
62$(eval $(call gb_Library_add_exception_objects,svl,\
63	svl/inc/pch/precompiled_svl \
64	svl/source/config/asiancfg \
65	svl/source/config/cjkoptions \
66	svl/source/config/ctloptions \
67	svl/source/config/itemholder2 \
68	svl/source/config/languageoptions \
69	svl/source/config/srchcfg \
70	svl/source/filepicker/pickerhistory \
71	svl/source/filerec/filerec \
72	svl/source/items/aeitem \
73	svl/source/items/cenumitm \
74	svl/source/items/cintitem \
75	svl/source/items/cntwall \
76	svl/source/items/ctypeitm \
77	svl/source/items/custritm \
78	svl/source/items/dateitem \
79	svl/source/items/eitem \
80	svl/source/items/flagitem \
81	svl/source/items/globalnameitem \
82	svl/source/items/ilstitem \
83	svl/source/items/imageitm \
84	svl/source/items/intitem \
85	svl/source/items/itemiter \
86	svl/source/items/itempool \
87	svl/source/items/itemprop \
88	svl/source/items/itemset \
89	svl/source/items/lckbitem \
90	svl/source/items/macitem \
91	svl/source/items/poolcach \
92	svl/source/items/poolio \
93	svl/source/items/poolitem \
94	svl/source/items/ptitem \
95	svl/source/items/rectitem \
96	svl/source/items/rngitem \
97	svl/source/items/sfontitm \
98	svl/source/items/sitem \
99	svl/source/items/slstitm \
100	svl/source/items/srchitem \
101	svl/source/items/stritem \
102	svl/source/items/style \
103	svl/source/items/stylepool \
104	svl/source/items/szitem \
105	svl/source/items/visitem \
106	svl/source/items/whiter \
107	svl/source/memtools/svarray \
108	svl/source/misc/PasswordHelper \
109	svl/source/misc/adrparse \
110	svl/source/misc/documentlockfile \
111	svl/source/misc/filenotation \
112	svl/source/misc/folderrestriction \
113	svl/source/misc/fstathelper \
114	svl/source/misc/inethist \
115	svl/source/misc/inettype \
116	svl/source/misc/lngmisc \
117	svl/source/misc/lockfilecommon \
118	svl/source/misc/ownlist \
119	svl/source/misc/restrictedpaths \
120	svl/source/misc/sharecontrolfile \
121	svl/source/misc/strmadpt \
122	svl/source/misc/svldata \
123	svl/source/misc/urihelper \
124	svl/source/notify/brdcst \
125	svl/source/notify/broadcast \
126	svl/source/notify/hint \
127	svl/source/notify/isethint \
128	svl/source/notify/listener \
129	svl/source/notify/listenerbase \
130	svl/source/notify/listeneriter \
131	svl/source/notify/lstner \
132	svl/source/notify/smplhint \
133	svl/source/numbers/numfmuno \
134	svl/source/numbers/numhead \
135	svl/source/numbers/numuno \
136	svl/source/numbers/supservs \
137	svl/source/numbers/zforfind \
138	svl/source/numbers/zforlist \
139	svl/source/numbers/zformat \
140	svl/source/numbers/zforscan \
141	svl/source/svsql/converter \
142	svl/source/undo/undo \
143	svl/source/uno/pathservice \
144	svl/source/uno/registerservices \
145))
146
147ifeq ($(OS),WNT)
148$(eval $(call gb_Library_add_exception_objects,svl,\
149	svl/source/svdde/ddecli \
150	svl/source/svdde/ddedata \
151	svl/source/svdde/ddeinf \
152	svl/source/svdde/ddestrg \
153	svl/source/svdde/ddesvr \
154	svl/source/svdde/ddewrap \
155))
156
157$(eval $(call gb_Library_add_linked_libs,svl,\
158	user32 \
159))
160
161else
162$(eval $(call gb_Library_add_exception_objects,svl,\
163	svl/unx/source/svdde/ddedummy \
164))
165endif
166# vim: set noet sw=4 ts=4:
167