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