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