Linux x86 build fix
[LibreOffice.git] / chart2 / Library_chartcore.mk
blobc65f2628ef968fc228e938358472cc38aceedcc3
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Library_Library,chartcore))
12 $(eval $(call gb_Library_set_include,chartcore,\
13 $$(INCLUDE) \
14 -I$(SRCDIR)/chart2/source/model/inc \
15 -I$(SRCDIR)/chart2/source/view/inc \
16 -I$(SRCDIR)/chart2/source/inc \
17 -I$(SRCDIR)/chart2/inc \
20 # not ideal - we should use a single core define ideally
21 $(eval $(call gb_Library_add_defs,chartcore,\
22 -DOOO_DLLIMPLEMENTATION_CHARTTOOLS \
23 -DOOO_DLLIMPLEMENTATION_CHARTVIEW \
26 $(eval $(call gb_Library_set_precompiled_header,chartcore,$(SRCDIR)/chart2/inc/pch/precompiled_chartcore))
28 $(eval $(call gb_Library_use_externals,chartcore,\
29 boost_headers \
30 glm_headers \
31 glew \
32 mesa_headers \
35 $(eval $(call gb_Library_use_custom_headers,chartcore,\
36 officecfg/registry \
39 $(eval $(call gb_Library_use_sdk_api,chartcore))
41 $(eval $(call gb_Library_use_libraries,chartcore,\
42 basegfx \
43 comphelper \
44 cppu \
45 cppuhelper \
46 drawinglayer \
47 editeng \
48 fwe \
49 i18nlangtag \
50 sal \
51 salhelper \
52 sfx \
53 svl \
54 svt \
55 svxcore \
56 tl \
57 ucbhelper \
58 utl \
59 vcl \
60 $(gb_UWINAPI) \
63 $(eval $(call gb_Library_set_componentfile,chartcore,chart2/source/chartcore))
65 # view pieces ...
66 $(eval $(call gb_Library_add_exception_objects,chartcore,\
67 chart2/source/view/axes/DateHelper \
68 chart2/source/view/axes/DateScaling \
69 chart2/source/view/axes/MinimumAndMaximumSupplier \
70 chart2/source/view/axes/ScaleAutomatism \
71 chart2/source/view/axes/Tickmarks \
72 chart2/source/view/axes/Tickmarks_Dates \
73 chart2/source/view/axes/Tickmarks_Equidistant \
74 chart2/source/view/axes/VAxisBase \
75 chart2/source/view/axes/VAxisOrGridBase \
76 chart2/source/view/axes/VAxisProperties \
77 chart2/source/view/axes/VCartesianAxis \
78 chart2/source/view/axes/VCartesianCoordinateSystem \
79 chart2/source/view/axes/VCartesianGrid \
80 chart2/source/view/axes/VCoordinateSystem \
81 chart2/source/view/axes/VPolarAngleAxis \
82 chart2/source/view/axes/VPolarAxis \
83 chart2/source/view/axes/VPolarCoordinateSystem \
84 chart2/source/view/axes/VPolarGrid \
85 chart2/source/view/axes/VPolarRadiusAxis \
86 chart2/source/view/charttypes/GL3DBarChart \
87 chart2/source/view/charttypes/AreaChart \
88 chart2/source/view/charttypes/BarChart \
89 chart2/source/view/charttypes/BarPositionHelper \
90 chart2/source/view/charttypes/BubbleChart \
91 chart2/source/view/charttypes/CandleStickChart \
92 chart2/source/view/charttypes/CategoryPositionHelper \
93 chart2/source/view/charttypes/NetChart \
94 chart2/source/view/charttypes/PieChart \
95 chart2/source/view/charttypes/Splines \
96 chart2/source/view/charttypes/VSeriesPlotter \
97 chart2/source/view/diagram/VDiagram \
98 chart2/source/view/main/3DChartObjects \
99 chart2/source/view/main/ChartItemPool \
100 chart2/source/view/main/ChartView \
101 chart2/source/view/main/Clipping \
102 chart2/source/view/main/DataPointSymbolSupplier \
103 chart2/source/view/main/DrawModelWrapper \
104 chart2/source/view/main/GL3DPlotterBase \
105 chart2/source/view/main/GL3DRenderer \
106 chart2/source/view/main/LabelPositionHelper \
107 chart2/source/view/main/Linear3DTransformation \
108 chart2/source/view/main/PlotterBase \
109 chart2/source/view/main/PlottingPositionHelper \
110 chart2/source/view/main/PolarLabelPositionHelper \
111 chart2/source/view/main/PropertyMapper \
112 chart2/source/view/main/ShapeFactory \
113 chart2/source/view/main/AbstractShapeFactory \
114 chart2/source/view/main/Stripe \
115 chart2/source/view/main/VDataSeries \
116 chart2/source/view/main/VLegend \
117 chart2/source/view/main/VLegendSymbolFactory \
118 chart2/source/view/main/VLineProperties \
119 chart2/source/view/main/VPolarTransformation \
120 chart2/source/view/main/VTitle \
123 # model pieces ...
124 $(eval $(call gb_Library_add_exception_objects,chartcore,\
125 chart2/source/model/filter/XMLFilter \
126 chart2/source/model/main/Axis \
127 chart2/source/model/main/BaseCoordinateSystem \
128 chart2/source/model/main/CartesianCoordinateSystem \
129 chart2/source/model/main/ChartModel \
130 chart2/source/model/main/ChartModel_Persistence \
131 chart2/source/model/main/DataPoint \
132 chart2/source/model/main/DataPointProperties \
133 chart2/source/model/main/DataSeries \
134 chart2/source/model/main/DataSeriesProperties \
135 chart2/source/model/main/Diagram \
136 chart2/source/model/main/FormattedString \
137 chart2/source/model/main/GridProperties \
138 chart2/source/model/main/Legend \
139 chart2/source/model/main/PageBackground \
140 chart2/source/model/main/PolarCoordinateSystem \
141 chart2/source/model/main/StockBar \
142 chart2/source/model/main/Title \
143 chart2/source/model/main/UndoManager \
144 chart2/source/model/main/Wall \
145 chart2/source/model/template/AreaChartType \
146 chart2/source/model/template/AreaChartTypeTemplate \
147 chart2/source/model/template/BarChartType \
148 chart2/source/model/template/BarChartTypeTemplate \
149 chart2/source/model/template/BubbleChartType \
150 chart2/source/model/template/BubbleChartTypeTemplate \
151 chart2/source/model/template/BubbleDataInterpreter \
152 chart2/source/model/template/CandleStickChartType \
153 chart2/source/model/template/ChartType \
154 chart2/source/model/template/ChartTypeManager \
155 chart2/source/model/template/ChartTypeTemplate \
156 chart2/source/model/template/ColumnChartType \
157 chart2/source/model/template/ColumnLineChartTypeTemplate \
158 chart2/source/model/template/ColumnLineDataInterpreter \
159 chart2/source/model/template/DataInterpreter \
160 chart2/source/model/template/FilledNetChartType \
161 chart2/source/model/template/GL3DBarChartType \
162 chart2/source/model/template/GL3DBarChartTypeTemplate \
163 chart2/source/model/template/LineChartType \
164 chart2/source/model/template/LineChartTypeTemplate \
165 chart2/source/model/template/NetChartType \
166 chart2/source/model/template/NetChartTypeTemplate \
167 chart2/source/model/template/PieChartType \
168 chart2/source/model/template/PieChartTypeTemplate \
169 chart2/source/model/template/ScatterChartType \
170 chart2/source/model/template/ScatterChartTypeTemplate \
171 chart2/source/model/template/StockChartTypeTemplate \
172 chart2/source/model/template/StockDataInterpreter \
173 chart2/source/model/template/XYDataInterpreter \
176 # tools pieces
177 $(eval $(call gb_Library_add_exception_objects,chartcore,\
178 chart2/source/tools/AxisHelper \
179 chart2/source/tools/BaseGFXHelper \
180 chart2/source/tools/CachedDataSequence \
181 chart2/source/tools/CharacterProperties \
182 chart2/source/tools/ChartModelHelper \
183 chart2/source/tools/ChartTypeHelper \
184 chart2/source/tools/ChartViewHelper \
185 chart2/source/tools/ColorPerPointHelper \
186 chart2/source/tools/CommonConverters \
187 chart2/source/tools/ConfigColorScheme \
188 chart2/source/tools/ControllerLockGuard \
189 chart2/source/tools/DataSeriesHelper \
190 chart2/source/tools/DataSource \
191 chart2/source/tools/DataSourceHelper \
192 chart2/source/tools/DiagramHelper \
193 chart2/source/tools/ErrorBar \
194 chart2/source/tools/ExplicitCategoriesProvider \
195 chart2/source/tools/ExponentialRegressionCurveCalculator \
196 chart2/source/tools/FillProperties \
197 chart2/source/tools/FormattedStringHelper \
198 chart2/source/tools/ImplOPropertySet \
199 chart2/source/tools/InternalData \
200 chart2/source/tools/InternalDataProvider \
201 chart2/source/tools/LabeledDataSequence \
202 chart2/source/tools/LegendHelper \
203 chart2/source/tools/LifeTime \
204 chart2/source/tools/LinearRegressionCurveCalculator \
205 chart2/source/tools/LinePropertiesHelper \
206 chart2/source/tools/LineProperties \
207 chart2/source/tools/LogarithmicRegressionCurveCalculator \
208 chart2/source/tools/MeanValueRegressionCurveCalculator \
209 chart2/source/tools/MediaDescriptorHelper \
210 chart2/source/tools/ModifyListenerCallBack \
211 chart2/source/tools/ModifyListenerHelper \
212 chart2/source/tools/MovingAverageRegressionCurveCalculator \
213 chart2/source/tools/MutexContainer \
214 chart2/source/tools/NameContainer \
215 chart2/source/tools/NumberFormatterWrapper \
216 chart2/source/tools/ObjectIdentifier \
217 chart2/source/tools/OPropertySet \
218 chart2/source/tools/PolynomialRegressionCurveCalculator \
219 chart2/source/tools/PotentialRegressionCurveCalculator \
220 chart2/source/tools/PropertyHelper \
221 chart2/source/tools/RangeHighlighter \
222 chart2/source/tools/ReferenceSizeProvider \
223 chart2/source/tools/RegressionCurveCalculator \
224 chart2/source/tools/RegressionCurveHelper \
225 chart2/source/tools/RegressionCurveModel \
226 chart2/source/tools/RegressionEquation \
227 chart2/source/tools/RelativePositionHelper \
228 chart2/source/tools/RelativeSizeHelper \
229 chart2/source/tools/ResId \
230 chart2/source/tools/ResourceManager \
231 chart2/source/tools/Scaling \
232 chart2/source/tools/SceneProperties \
233 chart2/source/tools/StatisticsHelper \
234 chart2/source/tools/ThreeDHelper \
235 chart2/source/tools/TitleHelper \
236 chart2/source/tools/TrueGuard \
237 chart2/source/tools/UncachedDataSequence \
238 chart2/source/tools/UserDefinedProperties \
239 chart2/source/tools/WeakListenerAdapter \
240 chart2/source/tools/WrappedDefaultProperty \
241 chart2/source/tools/WrappedDirectStateProperty \
242 chart2/source/tools/WrappedIgnoreProperty \
243 chart2/source/tools/WrappedProperty \
244 chart2/source/tools/WrappedPropertySet \
245 chart2/source/tools/XMLRangeHelper \
248 ifeq ($(strip $(OS)),WNT)
249 $(eval $(call gb_Library_use_system_win32_libs,chartcore,\
250 opengl32 \
251 gdi32 \
253 else ifeq ($(OS),MACOSX)
254 $(eval $(call gb_Library_use_system_darwin_frameworks,chartcore,\
255 OpenGL \
257 else ifeq ($(OS),LINUX)
258 $(eval $(call gb_Library_add_libs,chartcore,\
259 -ldl \
260 -lGL \
261 -lX11 \
263 endif
265 # vim: set noet sw=4 ts=4: