xref: /AOO41X/main/chart2/source/tools/makefile.mk (revision 7871dc3ea494bf86c742e1f4dfc9c6e20f5bcb2a)
1*7871dc3eSAndrew Rist#**************************************************************
2cdf0e10cSrcweir#
3*7871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
4*7871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
5*7871dc3eSAndrew Rist#  distributed with this work for additional information
6*7871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
7*7871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
8*7871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
9*7871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir#
11*7871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir#
13*7871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
14*7871dc3eSAndrew Rist#  software distributed under the License is distributed on an
15*7871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*7871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
17*7871dc3eSAndrew Rist#  specific language governing permissions and limitations
18*7871dc3eSAndrew Rist#  under the License.
19cdf0e10cSrcweir#
20*7871dc3eSAndrew Rist#**************************************************************
21*7871dc3eSAndrew Rist
22*7871dc3eSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ=				..$/..
25cdf0e10cSrcweirPRJNAME=			chart2
26cdf0e10cSrcweirTARGET=				charttools
27cdf0e10cSrcweir
28cdf0e10cSrcweirPRJINC=				$(PRJ)$/source
29cdf0e10cSrcweir
30cdf0e10cSrcweirUSE_DEFFILE=		TRUE
31cdf0e10cSrcweirENABLE_EXCEPTIONS=	TRUE
32cdf0e10cSrcweirVISIBILITY_HIDDEN=  TRUE
33cdf0e10cSrcweir
34cdf0e10cSrcweir# --- Settings -----------------------------------------------------
35cdf0e10cSrcweir
36cdf0e10cSrcweir.INCLUDE: $(PRJ)$/util$/makefile.pmk
37cdf0e10cSrcweir
38cdf0e10cSrcweirCDEFS += -DOOO_DLLIMPLEMENTATION_CHARTTOOLS
39cdf0e10cSrcweir
40cdf0e10cSrcweir# --- export library -------------------------------------------------
41cdf0e10cSrcweir
42cdf0e10cSrcweir#You can use several library macros of this form to build libraries that
43cdf0e10cSrcweir#do not consist of all object files in a directory or to merge different libraries.
44cdf0e10cSrcweir#LIB1TARGET=		$(SLB)$/_$(TARGET).lib
45cdf0e10cSrcweir
46cdf0e10cSrcweir#Specifies object files to bind into linked libraries.
47cdf0e10cSrcweirSLOFILES=	\
48cdf0e10cSrcweir	$(SLO)$/ErrorBar.obj \
49cdf0e10cSrcweir	$(SLO)$/TrueGuard.obj \
50cdf0e10cSrcweir    $(SLO)$/LifeTime.obj \
51cdf0e10cSrcweir    $(SLO)$/MediaDescriptorHelper.obj \
52cdf0e10cSrcweir    $(SLO)$/ConfigColorScheme.obj \
53cdf0e10cSrcweir    $(SLO)$/ColorPerPointHelper.obj \
54cdf0e10cSrcweir    $(SLO)$/ObjectIdentifier.obj \
55cdf0e10cSrcweir	$(SLO)$/CachedDataSequence.obj \
56cdf0e10cSrcweir	$(SLO)$/CommonConverters.obj \
57cdf0e10cSrcweir	$(SLO)$/DataSeriesHelper.obj \
58cdf0e10cSrcweir	$(SLO)$/DataSource.obj \
59cdf0e10cSrcweir	$(SLO)$/DataSourceHelper.obj \
60cdf0e10cSrcweir	$(SLO)$/DiagramHelper.obj \
61cdf0e10cSrcweir	$(SLO)$/ExponentialRegressionCurveCalculator.obj \
62cdf0e10cSrcweir	$(SLO)$/ImplOPropertySet.obj \
63cdf0e10cSrcweir	$(SLO)$/InternalData.obj \
64cdf0e10cSrcweir	$(SLO)$/InternalDataProvider.obj \
65cdf0e10cSrcweir	$(SLO)$/LabeledDataSequence.obj \
66cdf0e10cSrcweir	$(SLO)$/LinearRegressionCurveCalculator.obj \
67cdf0e10cSrcweir	$(SLO)$/LogarithmicRegressionCurveCalculator.obj \
68cdf0e10cSrcweir	$(SLO)$/MeanValueRegressionCurveCalculator.obj \
69cdf0e10cSrcweir	$(SLO)$/NumberFormatterWrapper.obj \
70cdf0e10cSrcweir	$(SLO)$/OPropertySet.obj \
71cdf0e10cSrcweir	$(SLO)$/WrappedPropertySet.obj \
72cdf0e10cSrcweir	$(SLO)$/WrappedProperty.obj \
73cdf0e10cSrcweir	$(SLO)$/WrappedIgnoreProperty.obj \
74cdf0e10cSrcweir	$(SLO)$/WrappedDefaultProperty.obj \
75cdf0e10cSrcweir	$(SLO)$/WrappedDirectStateProperty.obj \
76cdf0e10cSrcweir	$(SLO)$/PotentialRegressionCurveCalculator.obj \
77cdf0e10cSrcweir	$(SLO)$/RegressionCurveHelper.obj \
78cdf0e10cSrcweir	$(SLO)$/RegressionCurveModel.obj \
79cdf0e10cSrcweir	$(SLO)$/RelativeSizeHelper.obj \
80cdf0e10cSrcweir	$(SLO)$/RelativePositionHelper.obj \
81cdf0e10cSrcweir	$(SLO)$/Scaling.obj \
82cdf0e10cSrcweir	$(SLO)$/SceneProperties.obj \
83cdf0e10cSrcweir	$(SLO)$/ThreeDHelper.obj \
84cdf0e10cSrcweir	$(SLO)$/StatisticsHelper.obj \
85cdf0e10cSrcweir	$(SLO)$/ChartModelHelper.obj \
86cdf0e10cSrcweir	$(SLO)$/ChartViewHelper.obj \
87cdf0e10cSrcweir	$(SLO)$/ChartTypeHelper.obj \
88cdf0e10cSrcweir	$(SLO)$/AxisHelper.obj \
89cdf0e10cSrcweir	$(SLO)$/MutexContainer.obj \
90cdf0e10cSrcweir	$(SLO)$/PropertyHelper.obj \
91cdf0e10cSrcweir	$(SLO)$/FormattedStringHelper.obj \
92cdf0e10cSrcweir	$(SLO)$/TitleHelper.obj \
93cdf0e10cSrcweir	$(SLO)$/LegendHelper.obj \
94cdf0e10cSrcweir	$(SLO)$/CharacterProperties.obj \
95cdf0e10cSrcweir	$(SLO)$/LineProperties.obj \
96cdf0e10cSrcweir	$(SLO)$/FillProperties.obj \
97cdf0e10cSrcweir	$(SLO)$/UserDefinedProperties.obj \
98cdf0e10cSrcweir	$(SLO)$/NameContainer.obj \
99cdf0e10cSrcweir	$(SLO)$/ChartDebugTrace.obj \
100cdf0e10cSrcweir	$(SLO)$/_serviceregistration_tools.obj \
101cdf0e10cSrcweir	$(SLO)$/UncachedDataSequence.obj \
102cdf0e10cSrcweir	$(SLO)$/XMLRangeHelper.obj \
103cdf0e10cSrcweir	$(SLO)$/ModifyListenerHelper.obj \
104cdf0e10cSrcweir	$(SLO)$/ModifyListenerCallBack.obj \
105cdf0e10cSrcweir	$(SLO)$/BaseGFXHelper.obj \
106cdf0e10cSrcweir	$(SLO)$/ControllerLockGuard.obj \
107cdf0e10cSrcweir	$(SLO)$/WeakListenerAdapter.obj \
108cdf0e10cSrcweir	$(SLO)$/ResId.obj \
109cdf0e10cSrcweir	$(SLO)$/RessourceManager.obj \
110cdf0e10cSrcweir	$(SLO)$/RangeHighlighter.obj \
111cdf0e10cSrcweir	$(SLO)$/ReferenceSizeProvider.obj \
112cdf0e10cSrcweir	$(SLO)$/ExplicitCategoriesProvider.obj \
113cdf0e10cSrcweir	$(SLO)$/RegressionCurveCalculator.obj \
114cdf0e10cSrcweir	$(SLO)$/RegressionEquation.obj
115cdf0e10cSrcweir
116cdf0e10cSrcweirDISABLED_SLOFILES=	\
117cdf0e10cSrcweir	$(SLO)$/NamedFillProperties.obj \
118cdf0e10cSrcweir	$(SLO)$/NamedLineProperties.obj \
119cdf0e10cSrcweir	$(SLO)$/NamedProperties.obj
120cdf0e10cSrcweir
121cdf0e10cSrcweir#--------
122cdf0e10cSrcweir
123cdf0e10cSrcweir#Indicates the filename of the shared library.
124cdf0e10cSrcweirSHL1TARGET=		$(TARGET)$(DLLPOSTFIX)
125cdf0e10cSrcweir
126cdf0e10cSrcweir#indicates dependencies:
127cdf0e10cSrcweirSHL1DEPN=
128cdf0e10cSrcweir#Specifies an import library to create. For Win32 only.
129cdf0e10cSrcweirSHL1IMPLIB=		i$(TARGET)
130cdf0e10cSrcweir
131cdf0e10cSrcweir#Specifies libraries from the same module to put into the shared library.
132cdf0e10cSrcweir#was created above
133cdf0e10cSrcweirSHL1LIBS= 		$(SLB)$/$(TARGET).lib
134cdf0e10cSrcweir
135cdf0e10cSrcweir#Links import libraries.
136cdf0e10cSrcweir
137cdf0e10cSrcweirSHL1STDLIBS=    \
138cdf0e10cSrcweir				$(CPPULIB)			\
139cdf0e10cSrcweir				$(CPPUHELPERLIB)	\
140cdf0e10cSrcweir				$(COMPHELPERLIB)	\
141cdf0e10cSrcweir				$(SALLIB)			\
142cdf0e10cSrcweir				$(TOOLSLIB)			\
143cdf0e10cSrcweir				$(SVLLIB)		    \
144cdf0e10cSrcweir				$(VCLLIB)           \
145cdf0e10cSrcweir                $(I18NISOLANGLIB)   \
146cdf0e10cSrcweir				$(BASEGFXLIB) 		\
147cdf0e10cSrcweir				$(UNOTOOLSLIB)
148cdf0e10cSrcweir
149cdf0e10cSrcweir#				$(SVLIB)			\
150cdf0e10cSrcweir#				$(SVTOOLLIB)		\
151cdf0e10cSrcweir#				$(SVXLIB)			\
152cdf0e10cSrcweir#				$(TKLIB)			\
153cdf0e10cSrcweir#			    $(SFXLIB)
154cdf0e10cSrcweir
155cdf0e10cSrcweir#--------exports
156cdf0e10cSrcweir
157cdf0e10cSrcweir#specifies the exported symbols for Windows only:
158cdf0e10cSrcweirSHL1DEF=		$(MISC)$/$(SHL1TARGET).def
159cdf0e10cSrcweir
160cdf0e10cSrcweir#Specifies the library name to parse for symbols. For Win32 only.
161cdf0e10cSrcweirDEFLIB1NAME=	$(TARGET)
162cdf0e10cSrcweir
163cdf0e10cSrcweir#A file of symbols to export.
164cdf0e10cSrcweir#DEF1EXPORTFILE=	$(PRJ)$/source$/inc$/exports.dxp
165cdf0e10cSrcweir
166cdf0e10cSrcweir#--------definition file
167cdf0e10cSrcweir
168cdf0e10cSrcweir#name of the definition file:
169cdf0e10cSrcweirDEF1NAME=		$(SHL1TARGET)
170cdf0e10cSrcweir
171cdf0e10cSrcweir# indicates definition file dependencies
172cdf0e10cSrcweirDEF1DEPN=		$(MISC)$/$(SHL1TARGET).flt
173cdf0e10cSrcweir
174cdf0e10cSrcweir#A comment on the definition file.
175cdf0e10cSrcweirDEF1DES=		Chart Tools
176cdf0e10cSrcweir
177cdf0e10cSrcweir# --- Targets -----------------------------------------------------------------
178cdf0e10cSrcweir
179cdf0e10cSrcweir.INCLUDE: target.mk
180cdf0e10cSrcweir
181cdf0e10cSrcweir# --- Filter -----------------------------------------------------------
182cdf0e10cSrcweir
183cdf0e10cSrcweir$(MISC)$/$(SHL1TARGET).flt: makefile.mk \
184cdf0e10cSrcweir							exports.flt
185cdf0e10cSrcweir	$(TYPE) exports.flt > $@
186cdf0e10cSrcweir
187cdf0e10cSrcweir
188cdf0e10cSrcweirALLTAR : $(MISC)/charttools.component
189cdf0e10cSrcweir
190cdf0e10cSrcweir$(MISC)/charttools.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
191cdf0e10cSrcweir        charttools.component
192cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam uri \
193cdf0e10cSrcweir        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
194cdf0e10cSrcweir        $(SOLARENV)/bin/createcomponent.xslt charttools.component
195