xref: /aoo42x/main/chart2/source/tools/makefile.mk (revision cdf0e10c)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28PRJ=				..$/..
29PRJNAME=			chart2
30TARGET=				charttools
31
32PRJINC=				$(PRJ)$/source
33
34USE_DEFFILE=		TRUE
35ENABLE_EXCEPTIONS=	TRUE
36VISIBILITY_HIDDEN=  TRUE
37
38# --- Settings -----------------------------------------------------
39
40.INCLUDE: $(PRJ)$/util$/makefile.pmk
41
42CDEFS += -DOOO_DLLIMPLEMENTATION_CHARTTOOLS
43
44# --- export library -------------------------------------------------
45
46#You can use several library macros of this form to build libraries that
47#do not consist of all object files in a directory or to merge different libraries.
48#LIB1TARGET=		$(SLB)$/_$(TARGET).lib
49
50#Specifies object files to bind into linked libraries.
51SLOFILES=	\
52	$(SLO)$/ErrorBar.obj \
53	$(SLO)$/TrueGuard.obj \
54    $(SLO)$/LifeTime.obj \
55    $(SLO)$/MediaDescriptorHelper.obj \
56    $(SLO)$/ConfigColorScheme.obj \
57    $(SLO)$/ColorPerPointHelper.obj \
58    $(SLO)$/ObjectIdentifier.obj \
59	$(SLO)$/CachedDataSequence.obj \
60	$(SLO)$/CommonConverters.obj \
61	$(SLO)$/DataSeriesHelper.obj \
62	$(SLO)$/DataSource.obj \
63	$(SLO)$/DataSourceHelper.obj \
64	$(SLO)$/DiagramHelper.obj \
65	$(SLO)$/ExponentialRegressionCurveCalculator.obj \
66	$(SLO)$/ImplOPropertySet.obj \
67	$(SLO)$/InternalData.obj \
68	$(SLO)$/InternalDataProvider.obj \
69	$(SLO)$/LabeledDataSequence.obj \
70	$(SLO)$/LinearRegressionCurveCalculator.obj \
71	$(SLO)$/LogarithmicRegressionCurveCalculator.obj \
72	$(SLO)$/MeanValueRegressionCurveCalculator.obj \
73	$(SLO)$/NumberFormatterWrapper.obj \
74	$(SLO)$/OPropertySet.obj \
75	$(SLO)$/WrappedPropertySet.obj \
76	$(SLO)$/WrappedProperty.obj \
77	$(SLO)$/WrappedIgnoreProperty.obj \
78	$(SLO)$/WrappedDefaultProperty.obj \
79	$(SLO)$/WrappedDirectStateProperty.obj \
80	$(SLO)$/PotentialRegressionCurveCalculator.obj \
81	$(SLO)$/RegressionCurveHelper.obj \
82	$(SLO)$/RegressionCurveModel.obj \
83	$(SLO)$/RelativeSizeHelper.obj \
84	$(SLO)$/RelativePositionHelper.obj \
85	$(SLO)$/Scaling.obj \
86	$(SLO)$/SceneProperties.obj \
87	$(SLO)$/ThreeDHelper.obj \
88	$(SLO)$/StatisticsHelper.obj \
89	$(SLO)$/ChartModelHelper.obj \
90	$(SLO)$/ChartViewHelper.obj \
91	$(SLO)$/ChartTypeHelper.obj \
92	$(SLO)$/AxisHelper.obj \
93	$(SLO)$/MutexContainer.obj \
94	$(SLO)$/PropertyHelper.obj \
95	$(SLO)$/FormattedStringHelper.obj \
96	$(SLO)$/TitleHelper.obj \
97	$(SLO)$/LegendHelper.obj \
98	$(SLO)$/CharacterProperties.obj \
99	$(SLO)$/LineProperties.obj \
100	$(SLO)$/FillProperties.obj \
101	$(SLO)$/UserDefinedProperties.obj \
102	$(SLO)$/NameContainer.obj \
103	$(SLO)$/ChartDebugTrace.obj \
104	$(SLO)$/_serviceregistration_tools.obj \
105	$(SLO)$/UncachedDataSequence.obj \
106	$(SLO)$/XMLRangeHelper.obj \
107	$(SLO)$/ModifyListenerHelper.obj \
108	$(SLO)$/ModifyListenerCallBack.obj \
109	$(SLO)$/BaseGFXHelper.obj \
110	$(SLO)$/ControllerLockGuard.obj \
111	$(SLO)$/WeakListenerAdapter.obj \
112	$(SLO)$/ResId.obj \
113	$(SLO)$/RessourceManager.obj \
114	$(SLO)$/RangeHighlighter.obj \
115	$(SLO)$/ReferenceSizeProvider.obj \
116	$(SLO)$/ExplicitCategoriesProvider.obj \
117	$(SLO)$/RegressionCurveCalculator.obj \
118	$(SLO)$/RegressionEquation.obj
119
120DISABLED_SLOFILES=	\
121	$(SLO)$/NamedFillProperties.obj \
122	$(SLO)$/NamedLineProperties.obj \
123	$(SLO)$/NamedProperties.obj
124
125#--------
126
127#Indicates the filename of the shared library.
128SHL1TARGET=		$(TARGET)$(DLLPOSTFIX)
129
130#indicates dependencies:
131SHL1DEPN=
132#Specifies an import library to create. For Win32 only.
133SHL1IMPLIB=		i$(TARGET)
134
135#Specifies libraries from the same module to put into the shared library.
136#was created above
137SHL1LIBS= 		$(SLB)$/$(TARGET).lib
138
139#Links import libraries.
140
141SHL1STDLIBS=    \
142				$(CPPULIB)			\
143				$(CPPUHELPERLIB)	\
144				$(COMPHELPERLIB)	\
145				$(SALLIB)			\
146				$(TOOLSLIB)			\
147				$(SVLLIB)		    \
148				$(VCLLIB)           \
149                $(I18NISOLANGLIB)   \
150				$(BASEGFXLIB) 		\
151				$(UNOTOOLSLIB)
152
153#				$(SVLIB)			\
154#				$(SVTOOLLIB)		\
155#				$(SVXLIB)			\
156#				$(TKLIB)			\
157#			    $(SFXLIB)
158
159#--------exports
160
161#specifies the exported symbols for Windows only:
162SHL1DEF=		$(MISC)$/$(SHL1TARGET).def
163
164#Specifies the library name to parse for symbols. For Win32 only.
165DEFLIB1NAME=	$(TARGET)
166
167#A file of symbols to export.
168#DEF1EXPORTFILE=	$(PRJ)$/source$/inc$/exports.dxp
169
170#--------definition file
171
172#name of the definition file:
173DEF1NAME=		$(SHL1TARGET)
174
175# indicates definition file dependencies
176DEF1DEPN=		$(MISC)$/$(SHL1TARGET).flt
177
178#A comment on the definition file.
179DEF1DES=		Chart Tools
180
181# --- Targets -----------------------------------------------------------------
182
183.INCLUDE: target.mk
184
185# --- Filter -----------------------------------------------------------
186
187$(MISC)$/$(SHL1TARGET).flt: makefile.mk \
188							exports.flt
189	$(TYPE) exports.flt > $@
190
191
192ALLTAR : $(MISC)/charttools.component
193
194$(MISC)/charttools.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
195        charttools.component
196    $(XSLTPROC) --nonet --stringparam uri \
197        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
198        $(SOLARENV)/bin/createcomponent.xslt charttools.component
199