xref: /trunk/main/framework/Library_fwk.mk (revision af7f2cbf3d6a5481a2f45e7fae5e85a32449c47d)
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,fwk))
25
26$(eval $(call gb_Library_add_precompiled_header,fwk,$(SRCDIR)/framework/inc/pch/precompiled_framework))
27
28$(eval $(call gb_Library_set_componentfile,fwk,framework/util/fwk))
29
30$(eval $(call gb_Library_set_include,fwk,\
31    -I$(SRCDIR)/framework/inc/pch \
32    -I$(SRCDIR)/framework/source/inc \
33    -I$(SRCDIR)/framework/inc \
34    -I$(WORKDIR)/inc/framework/ \
35    $$(INCLUDE) \
36    -I$(OUTDIR)/inc/framework \
37))
38
39$(eval $(call gb_Library_add_api,fwk,\
40    udkapi \
41    offapi \
42))
43
44$(eval $(call gb_Library_add_linked_libs,fwk,\
45    comphelper \
46    cppu \
47    cppuhelper \
48    fwe \
49    fwi \
50    i18nisolang1 \
51    sal \
52    sot \
53    stl \
54    svl \
55    svt \
56    ootk \
57    tl \
58    ucbhelper \
59    utl \
60    vcl \
61    $(gb_STDLIBS) \
62))
63
64$(eval $(call gb_Library_add_exception_objects,fwk,\
65    framework/source/accelerators/acceleratorcache \
66    framework/source/accelerators/acceleratorconfiguration \
67    framework/source/accelerators/documentacceleratorconfiguration \
68    framework/source/accelerators/globalacceleratorconfiguration \
69    framework/source/accelerators/keymapping \
70    framework/source/accelerators/moduleacceleratorconfiguration \
71    framework/source/accelerators/presethandler \
72    framework/source/accelerators/storageholder \
73    framework/source/classes/droptargetlistener \
74    framework/source/classes/framecontainer \
75    framework/source/classes/fwktabwindow \
76    framework/source/classes/menumanager \
77    framework/source/classes/taskcreator \
78    framework/source/constant/containerquery \
79    framework/source/constant/contenthandler \
80    framework/source/constant/frameloader \
81    framework/source/dispatch/closedispatcher \
82    framework/source/dispatch/dispatchinformationprovider \
83    framework/source/dispatch/dispatchprovider \
84    framework/source/dispatch/helpagentdispatcher \
85    framework/source/dispatch/interceptionhelper \
86    framework/source/dispatch/loaddispatcher \
87    framework/source/dispatch/menudispatcher \
88    framework/source/dispatch/startmoduledispatcher \
89    framework/source/dispatch/windowcommanddispatch \
90    framework/source/helper/dockingareadefaultacceptor \
91    framework/source/helper/ocomponentaccess \
92    framework/source/helper/ocomponentenumeration \
93    framework/source/helper/oframes \
94    framework/source/helper/persistentwindowstate \
95    framework/source/helper/statusindicator \
96    framework/source/helper/statusindicatorfactory \
97    framework/source/helper/tagwindowasmodified \
98    framework/source/helper/titlebarupdate \
99    framework/source/helper/uiconfigelementwrapperbase \
100    framework/source/helper/uielementwrapperbase \
101    framework/source/helper/vclstatusindicator \
102    framework/source/helper/wakeupthread \
103    framework/source/interaction/quietinteraction \
104    framework/source/jobs/job \
105    framework/source/jobs/jobdata \
106    framework/source/jobs/jobdispatch \
107    framework/source/jobs/jobexecutor \
108    framework/source/jobs/jobresult \
109    framework/source/jobs/joburl \
110    framework/source/layoutmanager/helpers \
111    framework/source/layoutmanager/layoutmanager \
112    framework/source/layoutmanager/panel \
113    framework/source/layoutmanager/panelmanager \
114    framework/source/layoutmanager/toolbarlayoutmanager \
115    framework/source/layoutmanager/uielement \
116    framework/source/loadenv/loadenv \
117    framework/source/loadenv/targethelper \
118    framework/source/register/registerservices \
119    framework/source/services/ContextChangeEventMultiplexer \
120    framework/source/services/autorecovery \
121    framework/source/services/backingcomp \
122    framework/source/services/backingwindow \
123    framework/source/services/desktop \
124    framework/source/services/frame \
125    framework/source/services/modelwinservice \
126    framework/source/services/modulemanager \
127    framework/source/services/pathsettings \
128    framework/source/services/sessionlistener \
129    framework/source/services/substitutepathvars \
130    framework/source/services/tabwindowservice \
131    framework/source/services/taskcreatorsrv \
132    framework/source/services/uriabbreviation \
133    framework/source/services/urltransformer \
134    framework/source/uiconfiguration/globalsettings \
135    framework/source/uiconfiguration/graphicnameaccess \
136    framework/source/uiconfiguration/imagemanager \
137    framework/source/uiconfiguration/imagemanagerimpl \
138    framework/source/uiconfiguration/moduleimagemanager \
139    framework/source/uiconfiguration/moduleuicfgsupplier \
140    framework/source/uiconfiguration/moduleuiconfigurationmanager \
141    framework/source/uiconfiguration/uicategorydescription \
142    framework/source/uiconfiguration/uiconfigurationmanager \
143    framework/source/uiconfiguration/uiconfigurationmanagerimpl \
144    framework/source/uiconfiguration/windowstateconfiguration \
145    framework/source/uielement/addonstoolbarmanager \
146    framework/source/uielement/addonstoolbarwrapper \
147    framework/source/uielement/buttontoolbarcontroller \
148    framework/source/uielement/comboboxtoolbarcontroller \
149    framework/source/uielement/complextoolbarcontroller \
150    framework/source/uielement/controlmenucontroller \
151    framework/source/uielement/dropdownboxtoolbarcontroller \
152    framework/source/uielement/edittoolbarcontroller \
153    framework/source/uielement/genericstatusbarcontroller \
154    framework/source/uielement/generictoolbarcontroller \
155    framework/source/uielement/imagebuttontoolbarcontroller \
156    framework/source/uielement/langselectionstatusbarcontroller \
157    framework/source/uielement/menubarmanager \
158    framework/source/uielement/menubarmerger \
159    framework/source/uielement/menubarwrapper \
160    framework/source/uielement/objectmenucontroller \
161    framework/source/uielement/popuptoolbarcontroller \
162    framework/source/uielement/panelwindow \
163    framework/source/uielement/panelwrapper \
164    framework/source/uielement/progressbarwrapper \
165    framework/source/uielement/recentfilesmenucontroller \
166    framework/source/uielement/spinfieldtoolbarcontroller \
167    framework/source/uielement/statusbar \
168    framework/source/uielement/statusbaritem \
169    framework/source/uielement/statusbarmanager \
170    framework/source/uielement/statusbarmerger \
171    framework/source/uielement/statusbarwrapper \
172    framework/source/uielement/statusindicatorinterfacewrapper \
173    framework/source/uielement/togglebuttontoolbarcontroller \
174    framework/source/uielement/toolbar \
175    framework/source/uielement/toolbarmanager \
176    framework/source/uielement/toolbarmerger \
177    framework/source/uielement/toolbarwrapper \
178    framework/source/uielement/uicommanddescription \
179    framework/source/uifactory/addonstoolboxfactory \
180    framework/source/uifactory/factoryconfiguration \
181    framework/source/uifactory/menubarfactory \
182    framework/source/uifactory/statusbarfactory \
183    framework/source/uifactory/toolboxfactory \
184    framework/source/uifactory/uicontrollerfactory \
185    framework/source/uifactory/uielementfactorymanager \
186    framework/source/uifactory/windowcontentfactorymanager \
187    framework/source/xml/acceleratorconfigurationreader \
188    framework/source/xml/acceleratorconfigurationwriter \
189    framework/source/xml/imagesconfiguration \
190    framework/source/xml/imagesdocumenthandler \
191))
192
193# i126622 - Base 4.1.2 does not open Tables and Queries in Mac OSX
194ifeq ($(OS),MACOSX)
195$(eval $(call gb_LinkTarget_set_cxx_optimization, \
196    framework/source/loadenv/loadenv, $(gb_COMPILEROPT1FLAGS) \
197))
198endif
199
200# vim: set noet sw=4 ts=4:
201