xref: /trunk/main/svl/Library_svl.mk (revision cdf0e10c)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2011 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28$(eval $(call gb_Library_Library,svl))
29
30$(eval $(call gb_Library_add_package_headers,svl,svl_inc))
31
32$(eval $(call gb_Library_add_precompiled_header,svl,$(SRCDIR)/svl/inc/pch/precompiled_svl))
33
34$(eval $(call gb_Library_set_componentfile,svl,svl/util/svl))
35
36$(eval $(call gb_Library_set_include,svl,\
37	$$(SOLARINC) \
38	-I$(SRCDIR)/svl/source/inc \
39	-I$(SRCDIR)/svl/inc/pch \
40	-I$(OUTDIR)/inc/offuh \
41))
42
43$(eval $(call gb_Library_set_defs,svl,\
44	$$(DEFS) \
45	-DSVL_DLLIMPLEMENTATION \
46))
47
48$(eval $(call gb_Library_add_linked_libs,svl,\
49	basegfx \
50	comphelper \
51	cppu \
52	cppuhelper \
53	i18nisolang1 \
54	i18nutil \
55	jvmfwk \
56	sal \
57	sot \
58	stl \
59	tl \
60	ucbhelper \
61	utl \
62	vos3 \
63    $(gb_STDLIBS) \
64))
65
66$(eval $(call gb_Library_add_exception_objects,svl,\
67	svl/inc/pch/precompiled_svl \
68	svl/source/config/asiancfg \
69	svl/source/config/cjkoptions \
70	svl/source/config/ctloptions \
71	svl/source/config/itemholder2 \
72	svl/source/config/languageoptions \
73	svl/source/config/srchcfg \
74	svl/source/filepicker/pickerhistory \
75	svl/source/filerec/filerec \
76	svl/source/items/aeitem \
77	svl/source/items/cenumitm \
78	svl/source/items/cintitem \
79	svl/source/items/cntwall \
80	svl/source/items/ctypeitm \
81	svl/source/items/custritm \
82	svl/source/items/dateitem \
83	svl/source/items/eitem \
84	svl/source/items/flagitem \
85	svl/source/items/globalnameitem \
86	svl/source/items/ilstitem \
87	svl/source/items/imageitm \
88	svl/source/items/intitem \
89	svl/source/items/itemiter \
90	svl/source/items/itempool \
91	svl/source/items/itemprop \
92	svl/source/items/itemset \
93	svl/source/items/lckbitem \
94	svl/source/items/macitem \
95	svl/source/items/poolcach \
96	svl/source/items/poolio \
97	svl/source/items/poolitem \
98	svl/source/items/ptitem \
99	svl/source/items/rectitem \
100	svl/source/items/rngitem \
101	svl/source/items/sfontitm \
102	svl/source/items/sitem \
103	svl/source/items/slstitm \
104	svl/source/items/srchitem \
105	svl/source/items/stritem \
106	svl/source/items/style \
107	svl/source/items/stylepool \
108	svl/source/items/szitem \
109	svl/source/items/visitem \
110	svl/source/items/whiter \
111	svl/source/memtools/svarray \
112	svl/source/misc/PasswordHelper \
113	svl/source/misc/adrparse \
114	svl/source/misc/documentlockfile \
115	svl/source/misc/filenotation \
116	svl/source/misc/folderrestriction \
117	svl/source/misc/fstathelper \
118	svl/source/misc/inethist \
119	svl/source/misc/inettype \
120	svl/source/misc/lngmisc \
121	svl/source/misc/lockfilecommon \
122	svl/source/misc/ownlist \
123	svl/source/misc/restrictedpaths \
124	svl/source/misc/sharecontrolfile \
125	svl/source/misc/strmadpt \
126	svl/source/misc/svldata \
127	svl/source/misc/urihelper \
128	svl/source/notify/brdcst \
129	svl/source/notify/broadcast \
130	svl/source/notify/hint \
131	svl/source/notify/isethint \
132	svl/source/notify/listener \
133	svl/source/notify/listenerbase \
134	svl/source/notify/listeneriter \
135	svl/source/notify/lstner \
136	svl/source/notify/smplhint \
137	svl/source/numbers/numfmuno \
138	svl/source/numbers/numhead \
139	svl/source/numbers/numuno \
140	svl/source/numbers/supservs \
141	svl/source/numbers/zforfind \
142	svl/source/numbers/zforlist \
143	svl/source/numbers/zformat \
144	svl/source/numbers/zforscan \
145	svl/source/svsql/converter \
146	svl/source/undo/undo \
147	svl/source/uno/pathservice \
148	svl/source/uno/registerservices \
149))
150
151ifeq ($(OS),WNT)
152$(eval $(call gb_Library_add_exception_objects,svl,\
153	svl/source/svdde/ddecli \
154	svl/source/svdde/ddedata \
155	svl/source/svdde/ddeinf \
156	svl/source/svdde/ddestrg \
157	svl/source/svdde/ddesvr \
158	svl/source/svdde/ddewrap \
159))
160
161$(eval $(call gb_Library_add_linked_libs,svl,\
162	user32 \
163))
164
165else
166$(eval $(call gb_Library_add_exception_objects,svl,\
167	svl/unx/source/svdde/ddedummy \
168))
169endif
170# vim: set noet sw=4 ts=4:
171