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=				..$/..$/..
29PRJINC=				$(PRJ)$/source
30PRJNAME=			chart2
31TARGET=				chcdialogs
32
33ENABLE_EXCEPTIONS=	TRUE
34VISIBILITY_HIDDEN=TRUE
35GEN_HID_OTHER=TRUE
36
37# --- Settings -----------------------------------------------------
38
39.INCLUDE: settings.mk
40
41# i26518 the gcc-3.0.4 requires to enhance the template-depth
42# this seems to be a compiler issue, so we recommend not to use 3.0.x anymore
43.IF "$(COM)"=="GCC"
44	CFLAGS+=-ftemplate-depth-128
45.ENDIF
46
47# --- export library -------------------------------------------------
48
49#object files to build and link together to lib $(SLB)$/$(TARGET).lib
50SLOFILES=   	\
51                $(SLO)$/ObjectNameProvider.obj \
52                $(SLO)$/TimerTriggeredControllerLock.obj \
53                $(SLO)$/ChangingResource.obj \
54				$(SLO)$/DataBrowser.obj \
55				$(SLO)$/DataBrowserModel.obj \
56				$(SLO)$/DialogModel.obj \
57                $(SLO)$/TitleDialogData.obj \
58                $(SLO)$/res_Titles.obj \
59                $(SLO)$/res_TextSeparator.obj \
60                $(SLO)$/res_ErrorBar.obj \
61                $(SLO)$/res_Trendline.obj \
62                $(SLO)$/res_BarGeometry.obj \
63                $(SLO)$/res_LegendPosition.obj \
64                $(SLO)$/res_DataLabel.obj \
65                $(SLO)$/ChartTypeDialogController.obj \
66                $(SLO)$/tp_ChartType.obj \
67                $(SLO)$/tp_RangeChooser.obj \
68                $(SLO)$/tp_Wizard_TitlesAndObjects.obj \
69                $(SLO)$/tp_Location.obj \
70                $(SLO)$/tp_AxisLabel.obj \
71                $(SLO)$/tp_AxisPositions.obj \
72                $(SLO)$/tp_DataLabel.obj \
73                $(SLO)$/tp_DataSource.obj \
74                $(SLO)$/tp_DataSourceControls.obj \
75                $(SLO)$/tp_LegendPosition.obj \
76                $(SLO)$/tp_PointGeometry.obj \
77                $(SLO)$/tp_Scale.obj \
78                $(SLO)$/tp_Trendline.obj \
79                $(SLO)$/tp_ErrorBars.obj \
80                $(SLO)$/tp_SeriesToAxis.obj \
81                $(SLO)$/tp_TitleRotation.obj \
82                $(SLO)$/tp_3D_SceneGeometry.obj \
83                $(SLO)$/tp_3D_SceneAppearance.obj \
84                $(SLO)$/tp_3D_SceneIllumination.obj \
85                $(SLO)$/tp_PolarOptions.obj \
86                $(SLO)$/dlg_ObjectProperties.obj \
87                $(SLO)$/dlg_DataEditor.obj \
88                $(SLO)$/dlg_DataSource.obj \
89	            $(SLO)$/dlg_View3D.obj \
90                $(SLO)$/dlg_InsertAxis_Grid.obj \
91                $(SLO)$/dlg_InsertDataLabel.obj \
92                $(SLO)$/dlg_InsertLegend.obj \
93                $(SLO)$/dlg_InsertTrendline.obj \
94                $(SLO)$/dlg_InsertErrorBars.obj \
95                $(SLO)$/dlg_InsertTitle.obj \
96                $(SLO)$/dlg_CreationWizard.obj \
97                $(SLO)$/dlg_CreationWizard_UNO.obj \
98                $(SLO)$/dlg_ChartType_UNO.obj \
99                $(SLO)$/dlg_ChartType.obj \
100                $(SLO)$/dlg_NumberFormat.obj \
101                $(SLO)$/dlg_ShapeFont.obj \
102                $(SLO)$/dlg_ShapeParagraph.obj \
103                $(SLO)$/RangeSelectionButton.obj \
104                $(SLO)$/RangeSelectionHelper.obj \
105                $(SLO)$/RangeSelectionListener.obj \
106                $(SLO)$/RangeEdit.obj \
107                $(SLO)$/TextDirectionListBox.obj
108
109# --- Resources ---------------------------------------------------------------
110
111#               Bitmaps.src
112#               Bitmaps_HC.src
113
114
115SRC1FILES=		\
116                res_TextSeparator.src \
117                res_BarGeometry.src \
118                tp_ChartType.src \
119                tp_RangeChooser.src \
120                tp_Wizard_TitlesAndObjects.src \
121                tp_Location.src \
122                tp_AxisLabel.src \
123                tp_AxisPositions.src \
124                tp_DataLabel.src \
125                tp_DataSource.src \
126                tp_LegendPosition.src \
127                tp_PointGeometry.src \
128                tp_Scale.src \
129                tp_Trendline.src \
130                tp_ErrorBars.src \
131                tp_SeriesToAxis.src \
132                tp_TitleRotation.src \
133                tp_3D_SceneGeometry.src \
134                tp_3D_SceneAppearance.src \
135                tp_3D_SceneIllumination.src \
136                tp_PolarOptions.src \
137                dlg_ObjectProperties.src \
138                Strings_Statistic.src \
139                Strings_Scale.src \
140                Strings_ChartTypes.src \
141                Strings_AdditionalControls.src \
142                Strings.src \
143				Bitmaps.src \
144				Bitmaps_HC.src \
145				dlg_DataEditor.src \
146                dlg_DataSource.src \
147				dlg_View3D.src \
148				dlg_InsertAxis_Grid.src \
149                dlg_InsertDataLabel.src \
150                dlg_InsertLegend.src \
151                dlg_InsertTrendline.src \
152                dlg_InsertErrorBars.src \
153                dlg_InsertTitle.src \
154                dlg_ChartType.src \
155                dlg_CreationWizard.src \
156                dlg_ShapeFont.src \
157                dlg_ShapeParagraph.src
158
159SRS1NAME=$(TARGET)
160
161# --- Targets -----------------------------------------------------------------
162LOCALIZE_ME=res_DataLabel_tmpl.hrc res_LegendPosition_tmpl.hrc res_Trendline_tmpl.hrc res_ErrorBar_tmpl.hrc res_Titlesx_tmpl.hrc res_SecondaryAxisCheckBoxes_tmpl.hrc
163.INCLUDE: target.mk
164$(SRS)$/chcdialogs.srs: $(INCCOM)$/res_DataLabel.hrc
165$(SRS)$/chcdialogs.srs: $(INCCOM)$/res_LegendPosition.hrc
166$(SRS)$/chcdialogs.srs: $(INCCOM)$/res_Trendline.hrc
167$(SRS)$/chcdialogs.srs: $(INCCOM)$/res_ErrorBar.hrc
168$(SRS)$/chcdialogs.srs: $(INCCOM)$/res_Titlesx.hrc
169$(SRS)$/chcdialogs.srs: $(INCCOM)$/res_SecondaryAxisCheckBoxes.hrc
170
171#dependencies:
172
173$(SRS)$/chcdialogs.srs: \
174        Bitmaps.hrc \
175        Bitmaps_HC.hrc \
176        CommonResources.hrc \
177        ResourceIds.hrc \
178        ..$/..$/inc$/Strings.hrc \
179        TabPages.hrc \
180        dlg_CreationWizard.hrc \
181        dlg_DataSource.hrc \
182        dlg_InsertAxis_Grid.hrc \
183        dlg_InsertDataLabel.hrc \
184        dlg_InsertLegend.hrc \
185        dlg_InsertTrendline.hrc \
186        dlg_InsertErrorBars.hrc \
187        dlg_InsertTitle.hrc \
188        dlg_View3D.hrc \
189        res_Titles.hrc \
190        tp_3D_SceneAppearance.hrc \
191        tp_3D_SceneGeometry.hrc \
192        tp_3D_SceneIllumination.hrc \
193        tp_PolarOptions.hrc \
194        tp_ChartType.hrc \
195        tp_DataSource.hrc \
196        tp_Location.hrc \
197        tp_RangeChooser.hrc \
198        tp_Wizard_TitlesAndObjects.hrc
199
200#        res_DataLabel.hrc \
201#        res_LegendPosition.hrc \
202#        res_Statistic.hrc \
203
204#$(SRS)$/chcdialogs.srs: $(SOLARINCDIR)$/svx$/globlmn.hrc
205
206