xref: /trunk/main/chart2/source/tools/makefile.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
24PRJ=				..$/..
25PRJNAME=			chart2
26TARGET=				charttools
27
28PRJINC=				$(PRJ)$/source
29
30USE_DEFFILE=		TRUE
31ENABLE_EXCEPTIONS=	TRUE
32VISIBILITY_HIDDEN=  TRUE
33
34# --- Settings -----------------------------------------------------
35
36.INCLUDE: $(PRJ)$/util$/makefile.pmk
37
38CDEFS += -DOOO_DLLIMPLEMENTATION_CHARTTOOLS
39
40# --- export library -------------------------------------------------
41
42#You can use several library macros of this form to build libraries that
43#do not consist of all object files in a directory or to merge different libraries.
44#LIB1TARGET=		$(SLB)$/_$(TARGET).lib
45
46#Specifies object files to bind into linked libraries.
47SLOFILES=	\
48	$(SLO)$/ErrorBar.obj \
49	$(SLO)$/TrueGuard.obj \
50    $(SLO)$/LifeTime.obj \
51    $(SLO)$/MediaDescriptorHelper.obj \
52    $(SLO)$/ConfigColorScheme.obj \
53    $(SLO)$/ColorPerPointHelper.obj \
54    $(SLO)$/ObjectIdentifier.obj \
55	$(SLO)$/CachedDataSequence.obj \
56	$(SLO)$/CommonConverters.obj \
57	$(SLO)$/DataSeriesHelper.obj \
58	$(SLO)$/DataSource.obj \
59	$(SLO)$/DataSourceHelper.obj \
60	$(SLO)$/DiagramHelper.obj \
61	$(SLO)$/ExponentialRegressionCurveCalculator.obj \
62	$(SLO)$/ImplOPropertySet.obj \
63	$(SLO)$/InternalData.obj \
64	$(SLO)$/InternalDataProvider.obj \
65	$(SLO)$/LabeledDataSequence.obj \
66	$(SLO)$/LinearRegressionCurveCalculator.obj \
67	$(SLO)$/LogarithmicRegressionCurveCalculator.obj \
68	$(SLO)$/MeanValueRegressionCurveCalculator.obj \
69	$(SLO)$/NumberFormatterWrapper.obj \
70	$(SLO)$/OPropertySet.obj \
71	$(SLO)$/WrappedPropertySet.obj \
72	$(SLO)$/WrappedProperty.obj \
73	$(SLO)$/WrappedIgnoreProperty.obj \
74	$(SLO)$/WrappedDefaultProperty.obj \
75	$(SLO)$/WrappedDirectStateProperty.obj \
76	$(SLO)$/PotentialRegressionCurveCalculator.obj \
77	$(SLO)$/RegressionCurveHelper.obj \
78	$(SLO)$/RegressionCurveModel.obj \
79	$(SLO)$/RelativeSizeHelper.obj \
80	$(SLO)$/RelativePositionHelper.obj \
81	$(SLO)$/Scaling.obj \
82	$(SLO)$/SceneProperties.obj \
83	$(SLO)$/ThreeDHelper.obj \
84	$(SLO)$/StatisticsHelper.obj \
85	$(SLO)$/ChartModelHelper.obj \
86	$(SLO)$/ChartViewHelper.obj \
87	$(SLO)$/ChartTypeHelper.obj \
88	$(SLO)$/AxisHelper.obj \
89	$(SLO)$/MutexContainer.obj \
90	$(SLO)$/PropertyHelper.obj \
91	$(SLO)$/FormattedStringHelper.obj \
92	$(SLO)$/TitleHelper.obj \
93	$(SLO)$/LegendHelper.obj \
94	$(SLO)$/CharacterProperties.obj \
95	$(SLO)$/LineProperties.obj \
96	$(SLO)$/FillProperties.obj \
97	$(SLO)$/UserDefinedProperties.obj \
98	$(SLO)$/NameContainer.obj \
99	$(SLO)$/ChartDebugTrace.obj \
100	$(SLO)$/_serviceregistration_tools.obj \
101	$(SLO)$/UncachedDataSequence.obj \
102	$(SLO)$/XMLRangeHelper.obj \
103	$(SLO)$/ModifyListenerHelper.obj \
104	$(SLO)$/ModifyListenerCallBack.obj \
105	$(SLO)$/BaseGFXHelper.obj \
106	$(SLO)$/ControllerLockGuard.obj \
107	$(SLO)$/WeakListenerAdapter.obj \
108	$(SLO)$/ResId.obj \
109	$(SLO)$/RessourceManager.obj \
110	$(SLO)$/RangeHighlighter.obj \
111	$(SLO)$/ReferenceSizeProvider.obj \
112	$(SLO)$/ExplicitCategoriesProvider.obj \
113	$(SLO)$/RegressionCurveCalculator.obj \
114	$(SLO)$/RegressionEquation.obj
115
116DISABLED_SLOFILES=	\
117	$(SLO)$/NamedFillProperties.obj \
118	$(SLO)$/NamedLineProperties.obj \
119	$(SLO)$/NamedProperties.obj
120
121#--------
122
123#Indicates the filename of the shared library.
124SHL1TARGET=		$(TARGET)$(DLLPOSTFIX)
125
126#indicates dependencies:
127SHL1DEPN=
128#Specifies an import library to create. For Win32 only.
129SHL1IMPLIB=		i$(TARGET)
130
131#Specifies libraries from the same module to put into the shared library.
132#was created above
133SHL1LIBS= 		$(SLB)$/$(TARGET).lib
134
135#Links import libraries.
136
137SHL1STDLIBS=    \
138				$(CPPULIB)			\
139				$(CPPUHELPERLIB)	\
140				$(COMPHELPERLIB)	\
141				$(SALLIB)			\
142				$(TOOLSLIB)			\
143				$(SVLLIB)		    \
144				$(VCLLIB)           \
145                $(I18NISOLANGLIB)   \
146				$(BASEGFXLIB) 		\
147				$(UNOTOOLSLIB)
148
149#				$(SVLIB)			\
150#				$(SVTOOLLIB)		\
151#				$(SVXLIB)			\
152#				$(TKLIB)			\
153#			    $(SFXLIB)
154
155#--------exports
156
157#specifies the exported symbols for Windows only:
158SHL1DEF=		$(MISC)$/$(SHL1TARGET).def
159
160#Specifies the library name to parse for symbols. For Win32 only.
161DEFLIB1NAME=	$(TARGET)
162
163#A file of symbols to export.
164#DEF1EXPORTFILE=	$(PRJ)$/source$/inc$/exports.dxp
165
166#--------definition file
167
168#name of the definition file:
169DEF1NAME=		$(SHL1TARGET)
170
171# indicates definition file dependencies
172DEF1DEPN=		$(MISC)$/$(SHL1TARGET).flt
173
174#A comment on the definition file.
175DEF1DES=		Chart Tools
176
177# --- Targets -----------------------------------------------------------------
178
179.INCLUDE: target.mk
180
181# --- Filter -----------------------------------------------------------
182
183$(MISC)$/$(SHL1TARGET).flt: makefile.mk \
184							exports.flt
185	$(TYPE) exports.flt > $@
186
187
188ALLTAR : $(MISC)/charttools.component
189
190$(MISC)/charttools.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
191        charttools.component
192    $(XSLTPROC) --nonet --stringparam uri \
193        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
194        $(SOLARENV)/bin/createcomponent.xslt charttools.component
195