xref: /trunk/main/oovbaapi/ttt.diff (revision b63233d8)
1diff --git a/oovbaapi/Makefile b/oovbaapi/Makefile
2new file mode 100644
3--- /dev/null
4+++ b/oovbaapi/Makefile
5@@ -0,0 +1,38 @@
6+###############################################################
7#
8#  Licensed to the Apache Software Foundation (ASF) under one
9#  or more contributor license agreements.  See the NOTICE file
10#  distributed with this work for additional information
11#  regarding copyright ownership.  The ASF licenses this file
12#  to you under the Apache License, Version 2.0 (the
13#  "License"); you may not use this file except in compliance
14#  with the License.  You may obtain a copy of the License at
15#
16#    http://www.apache.org/licenses/LICENSE-2.0
17#
18#  Unless required by applicable law or agreed to in writing,
19#  software distributed under the License is distributed on an
20#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
21#  KIND, either express or implied.  See the License for the
22#  specific language governing permissions and limitations
23#  under the License.
24#
25###############################################################
26
27
28+
29+ifeq ($(strip $(SOLARENV)),)
30+$(error No environment set!)
31+endif
32+
33+gb_PARTIALBUILD := T
34+GBUILDDIR := $(SOLARENV)/gbuild
35+include $(GBUILDDIR)/gbuild.mk
36+
37+$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
38+
39+# vim: set noet sw=4 ts=4:
40diff --git a/oovbaapi/Module_oovbaapi.mk b/oovbaapi/Module_oovbaapi.mk
41new file mode 100644
42--- /dev/null
43+++ b/oovbaapi/Module_oovbaapi.mk
44@@ -0,0 +1,37 @@
45+#*************************************************************************
46+#
47+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
48+#
49+# Copyright 2000, 2010 Oracle and/or its affiliates.
50+#
51+# OpenOffice.org - a multi-platform office productivity suite
52+#
53+# This file is part of OpenOffice.org.
54+#
55+# OpenOffice.org is free software: you can redistribute it and/or modify
56+# it under the terms of the GNU Lesser General Public License version 3
57+# only, as published by the Free Software Foundation.
58+#
59+# OpenOffice.org is distributed in the hope that it will be useful,
60+# but WITHOUT ANY WARRANTY; without even the implied warranty of
61+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
62+# GNU Lesser General Public License version 3 for more details
63+# (a copy is included in the LICENSE file that accompanied this code).
64+#
65+# You should have received a copy of the GNU Lesser General Public License
66+# version 3 along with OpenOffice.org.  If not, see
67+# <http://www.openoffice.org/license.html>
68+# for a copy of the LGPLv3 License.
69+#
70+#*************************************************************************
71+
72+
73+$(eval $(call gb_Module_Module,oovbaapi))
74+
75+$(eval $(call gb_Module_add_targets,oovbaapi,\
76+	UnoApi_oovbaapi \
77+	Package_oovbaapi_inc \
78+	Package_oovbaapi_idl \
79+))
80+
81+# vim: set noet sw=4 ts=4:
82diff --git a/oovbaapi/Package_oovbaapi_idl.mk b/oovbaapi/Package_oovbaapi_idl.mk
83new file mode 100644
84--- /dev/null
85+++ b/oovbaapi/Package_oovbaapi_idl.mk
86@@ -0,0 +1,29 @@
87+#*************************************************************************
88+#
89+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90+#
91+# Copyright 2000, 2010 Oracle and/or its affiliates.
92+#
93+# OpenOffice.org - a multi-platform office productivity suite
94+#
95+# This file is part of OpenOffice.org.
96+#
97+# OpenOffice.org is free software: you can redistribute it and/or modify
98+# it under the terms of the GNU Lesser General Public License version 3
99+# only, as published by the Free Software Foundation.
100+#
101+# OpenOffice.org is distributed in the hope that it will be useful,
102+# but WITHOUT ANY WARRANTY; without even the implied warranty of
103+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
104+# GNU Lesser General Public License version 3 for more details
105+# (a copy is included in the LICENSE file that accompanied this code).
106+#
107+# You should have received a copy of the GNU Lesser General Public License
108+# version 3 along with OpenOffice.org.	If not, see
109+# <http://www.openoffice.org/license.html>
110+# for a copy of the LGPLv3 License.
111+#
112+#*************************************************************************
113+
114+$(eval $(call gb_UnoApiTarget_autopackage_idl,oovbaapi))
115+
116diff --git a/oovbaapi/Package_oovbaapi_inc.mk b/oovbaapi/Package_oovbaapi_inc.mk
117new file mode 100644
118--- /dev/null
119+++ b/oovbaapi/Package_oovbaapi_inc.mk
120@@ -0,0 +1,29 @@
121+#*************************************************************************
122+#
123+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
124+#
125+# Copyright 2000, 2010 Oracle and/or its affiliates.
126+#
127+# OpenOffice.org - a multi-platform office productivity suite
128+#
129+# This file is part of OpenOffice.org.
130+#
131+# OpenOffice.org is free software: you can redistribute it and/or modify
132+# it under the terms of the GNU Lesser General Public License version 3
133+# only, as published by the Free Software Foundation.
134+#
135+# OpenOffice.org is distributed in the hope that it will be useful,
136+# but WITHOUT ANY WARRANTY; without even the implied warranty of
137+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
138+# GNU Lesser General Public License version 3 for more details
139+# (a copy is included in the LICENSE file that accompanied this code).
140+#
141+# You should have received a copy of the GNU Lesser General Public License
142+# version 3 along with OpenOffice.org.	If not, see
143+# <http://www.openoffice.org/license.html>
144+# for a copy of the LGPLv3 License.
145+#
146+#*************************************************************************
147+
148+$(eval $(call gb_UnoApiTarget_autopackage_inc,oovbaapi))
149+
150diff --git a/oovbaapi/UnoApi_oovbaapi.mk b/oovbaapi/UnoApi_oovbaapi.mk
151new file mode 100644
152--- /dev/null
153+++ b/oovbaapi/UnoApi_oovbaapi.mk
154@@ -0,0 +1,207 @@
155+#*************************************************************************
156+#
157+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
158+#
159+# Copyright 2000, 2010 Oracle and/or its affiliates.
160+#
161+# OpenOffice.org - a multi-platform office productivity suite
162+#
163+# This file is part of OpenOffice.org.
164+#
165+# OpenOffice.org is free software: you can redistribute it and/or modify
166+# it under the terms of the GNU Lesser General Public License version 3
167+# only, as published by the Free Software Foundation.
168+#
169+# OpenOffice.org is distributed in the hope that it will be useful,
170+# but WITHOUT ANY WARRANTY; without even the implied warranty of
171+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
172+# GNU Lesser General Public License version 3 for more details
173+# (a copy is included in the LICENSE file that accompanied this code).
174+#
175+# You should have received a copy of the GNU Lesser General Public License
176+# version 3 along with OpenOffice.org.	If not, see
177+# <http://www.openoffice.org/license.html>
178+# for a copy of the LGPLv3 License.
179+#
180+#*************************************************************************
181+
182+$(eval $(call gb_UnoApiTarget_UnoApiTarget,oovbaapi))
183+
184+$(eval $(call gb_UnoApiTarget_add_rdbfiles,oovbaapi,\
185+    udkapi \
186+    offapi \
187+))
188+
189+$(eval $(call gb_UnoApiTarget_set_include,oovbaapi,\
190+	$$(INCLUDE) \
191+	-I$(OUTDIR)/idl \
192+))
193+
194+#$(eval $(call gb_UnoApiTarget_set_defs,oovbaapi,\
195+#))
196+
197+$(eval $(call gb_UnoApiTarget_add_idlfiles,oovbaapi,\
198+	oovbaapi/ooo/vba/ControlProvider.idl \
199+	oovbaapi/ooo/vba/XWindowBase.idl \
200+	oovbaapi/ooo/vba/XCommandBars.idl \
201+	oovbaapi/ooo/vba/msforms/XPages.idl \
202+	oovbaapi/ooo/vba/msforms/XTextFrame.idl \
203+	oovbaapi/ooo/vba/msforms/XControl.idl \
204+	oovbaapi/ooo/vba/msforms/XToggleButton.idl \
205+	oovbaapi/ooo/vba/msforms/XButton.idl \
206+	oovbaapi/ooo/vba/msforms/XRadioButton.idl \
207+	oovbaapi/ooo/vba/msforms/XGroupBox.idl \
208+	oovbaapi/ooo/vba/msforms/XShapeRange.idl \
209+	oovbaapi/ooo/vba/msforms/XScrollBar.idl \
210+	oovbaapi/ooo/vba/msforms/XListBox.idl \
211+	oovbaapi/ooo/vba/msforms/XShapes.idl \
212+	oovbaapi/ooo/vba/msforms/XTextBox.idl \
213+	oovbaapi/ooo/vba/msforms/XSpinButton.idl \
214+	oovbaapi/ooo/vba/msforms/XLineFormat.idl \
215+	oovbaapi/ooo/vba/msforms/XFillFormat.idl \
216+	oovbaapi/ooo/vba/msforms/XTextBoxShape.idl \
217+	oovbaapi/ooo/vba/msforms/XMultiPage.idl \
218+	oovbaapi/ooo/vba/msforms/XProgressBar.idl \
219+	oovbaapi/ooo/vba/msforms/XLabel.idl \
220+	oovbaapi/ooo/vba/msforms/XUserForm.idl \
221+	oovbaapi/ooo/vba/msforms/XControls.idl \
222+	oovbaapi/ooo/vba/msforms/XImage.idl \
223+	oovbaapi/ooo/vba/msforms/MSFormReturnTypes.idl \
224+	oovbaapi/ooo/vba/msforms/XShape.idl \
225+	oovbaapi/ooo/vba/msforms/XComboBox.idl \
226+	oovbaapi/ooo/vba/msforms/XColorFormat.idl \
227+	oovbaapi/ooo/vba/msforms/XPictureFormat.idl \
228+	oovbaapi/ooo/vba/XDialogBase.idl \
229+	oovbaapi/ooo/vba/word/XTable.idl \
230+	oovbaapi/ooo/vba/word/XTables.idl \
231+	oovbaapi/ooo/vba/word/XWindow.idl \
232+	oovbaapi/ooo/vba/word/XBorder.idl \
233+	oovbaapi/ooo/vba/word/XWrapFormat.idl \
234+	oovbaapi/ooo/vba/word/XDialogs.idl \
235+	oovbaapi/ooo/vba/word/XAddins.idl \
236+	oovbaapi/ooo/vba/word/XDialog.idl \
237+	oovbaapi/ooo/vba/word/XBookmarks.idl \
238+	oovbaapi/ooo/vba/word/XSelection.idl \
239+	oovbaapi/ooo/vba/word/XAddin.idl \
240+	oovbaapi/ooo/vba/word/XApplication.idl \
241+	oovbaapi/ooo/vba/word/XSections.idl \
242+	oovbaapi/ooo/vba/word/XParagraph.idl \
243+	oovbaapi/ooo/vba/word/XHeaderFooter.idl \
244+	oovbaapi/ooo/vba/word/XTemplate.idl \
245+	oovbaapi/ooo/vba/word/XRange.idl \
246+	oovbaapi/ooo/vba/word/XReplacement.idl \
247+	oovbaapi/ooo/vba/word/XPageSetup.idl \
248+	oovbaapi/ooo/vba/word/XBookmark.idl \
249+	oovbaapi/ooo/vba/word/XBorders.idl \
250+	oovbaapi/ooo/vba/word/XField.idl \
251+	oovbaapi/ooo/vba/word/XAutoTextEntry.idl \
252+	oovbaapi/ooo/vba/word/XStyle.idl \
253+	oovbaapi/ooo/vba/word/XFields.idl \
254+	oovbaapi/ooo/vba/word/XDocuments.idl \
255+	oovbaapi/ooo/vba/word/XVariable.idl \
256+	oovbaapi/ooo/vba/word/XOptions.idl \
257+	oovbaapi/ooo/vba/word/XView.idl \
258+	oovbaapi/ooo/vba/word/XAutoTextEntries.idl \
259+	oovbaapi/ooo/vba/word/XFont.idl \
260+	oovbaapi/ooo/vba/word/XFind.idl \
261+	oovbaapi/ooo/vba/word/XSection.idl \
262+	oovbaapi/ooo/vba/word/XSystem.idl \
263+	oovbaapi/ooo/vba/word/XStyles.idl \
264+	oovbaapi/ooo/vba/word/XPanes.idl \
265+	oovbaapi/ooo/vba/word/XPane.idl \
266+	oovbaapi/ooo/vba/word/XParagraphs.idl \
267+	oovbaapi/ooo/vba/word/XVariables.idl \
268+	oovbaapi/ooo/vba/word/XParagraphFormat.idl \
269+	oovbaapi/ooo/vba/word/XDocument.idl \
270+	oovbaapi/ooo/vba/word/XGlobals.idl \
271+	oovbaapi/ooo/vba/XPropValue.idl \
272+	oovbaapi/ooo/vba/XCommandBarControl.idl \
273+	oovbaapi/ooo/vba/XCommandBarButton.idl \
274+	oovbaapi/ooo/vba/XVBAToOOEventDescGen.idl \
275+	oovbaapi/ooo/vba/XCommandBarPopup.idl \
276+	oovbaapi/ooo/vba/XApplicationBase.idl \
277+	oovbaapi/ooo/vba/XErrObject.idl \
278+	oovbaapi/ooo/vba/XCommandBar.idl \
279+	oovbaapi/ooo/vba/excel/SheetObject.idl \
280+	oovbaapi/ooo/vba/excel/Range.idl \
281+	oovbaapi/ooo/vba/excel/XTextFrame.idl \
282+	oovbaapi/ooo/vba/excel/XOLEObject.idl \
283+	oovbaapi/ooo/vba/excel/XWindow.idl \
284+	oovbaapi/ooo/vba/excel/XWorkbook.idl \
285+	oovbaapi/ooo/vba/excel/XInterior.idl \
286+	oovbaapi/ooo/vba/excel/XBorder.idl \
287+	oovbaapi/ooo/vba/excel/XHPageBreaks.idl \
288+	oovbaapi/ooo/vba/excel/SheetObjects.idl \
289+	oovbaapi/ooo/vba/excel/XSeries.idl \
290+	oovbaapi/ooo/vba/excel/XComment.idl \
291+	oovbaapi/ooo/vba/excel/XDialogs.idl \
292+	oovbaapi/ooo/vba/excel/XVPageBreak.idl \
293+	oovbaapi/ooo/vba/excel/XVPageBreaks.idl \
294+	oovbaapi/ooo/vba/excel/XWorkbooks.idl \
295+	oovbaapi/ooo/vba/excel/Hyperlink.idl \
296+	oovbaapi/ooo/vba/excel/XDialog.idl \
297+	oovbaapi/ooo/vba/excel/XName.idl \
298+	oovbaapi/ooo/vba/excel/XChartObject.idl \
299+	oovbaapi/ooo/vba/excel/XCharts.idl \
300+	oovbaapi/ooo/vba/excel/TextFrame.idl \
301+	oovbaapi/ooo/vba/excel/XOLEObjects.idl \
302+	oovbaapi/ooo/vba/excel/XDataLabels.idl \
303+	oovbaapi/ooo/vba/excel/XFormatConditions.idl \
304+	oovbaapi/ooo/vba/excel/XPageBreak.idl \
305+	oovbaapi/ooo/vba/excel/Worksheet.idl \
306+	oovbaapi/ooo/vba/excel/XChartObjects.idl \
307+	oovbaapi/ooo/vba/excel/XApplication.idl \
308+	oovbaapi/ooo/vba/excel/XCharacters.idl \
309+	oovbaapi/ooo/vba/excel/XOutline.idl \
310+	oovbaapi/ooo/vba/excel/XChartTitle.idl \
311+	oovbaapi/ooo/vba/excel/XWorksheets.idl \
312+	oovbaapi/ooo/vba/excel/XChart.idl \
313+	oovbaapi/ooo/vba/excel/XlBuildInDialog.idl \
314+	oovbaapi/ooo/vba/excel/XHPageBreak.idl \
315+	oovbaapi/ooo/vba/excel/XHyperlinks.idl \
316+	oovbaapi/ooo/vba/excel/XComments.idl \
317+	oovbaapi/ooo/vba/excel/XRange.idl \
318+	oovbaapi/ooo/vba/excel/Globals.idl \
319+	oovbaapi/ooo/vba/excel/XWindows.idl \
320+	oovbaapi/ooo/vba/excel/XWorksheet.idl \
321+	oovbaapi/ooo/vba/excel/XPageSetup.idl \
322+	oovbaapi/ooo/vba/excel/XPivotTables.idl \
323+	oovbaapi/ooo/vba/excel/XBorders.idl \
324+	oovbaapi/ooo/vba/excel/XWorksheetFunction.idl \
325+	oovbaapi/ooo/vba/excel/XStyle.idl \
326+	oovbaapi/ooo/vba/excel/XPivotCache.idl \
327+	oovbaapi/ooo/vba/excel/Window.idl \
328+	oovbaapi/ooo/vba/excel/XPivotTable.idl \
329+	oovbaapi/ooo/vba/excel/XNames.idl \
330+	oovbaapi/ooo/vba/excel/XFormatCondition.idl \
331+	oovbaapi/ooo/vba/excel/XFont.idl \
332+	oovbaapi/ooo/vba/excel/Workbook.idl \
333+	oovbaapi/ooo/vba/excel/XValidation.idl \
334+	oovbaapi/ooo/vba/excel/XHyperlink.idl \
335+	oovbaapi/ooo/vba/excel/XAxisTitle.idl \
336+	oovbaapi/ooo/vba/excel/XFormat.idl \
337+	oovbaapi/ooo/vba/excel/XStyles.idl \
338+	oovbaapi/ooo/vba/excel/XDataLabel.idl \
339+	oovbaapi/ooo/vba/excel/XAxes.idl \
340+	oovbaapi/ooo/vba/excel/XSeriesCollection.idl \
341+	oovbaapi/ooo/vba/excel/XPane.idl \
342+	oovbaapi/ooo/vba/excel/XTitle.idl \
343+	oovbaapi/ooo/vba/excel/XAxis.idl \
344+	oovbaapi/ooo/vba/excel/XGlobals.idl \
345+	oovbaapi/ooo/vba/XDocumentsBase.idl \
346+	oovbaapi/ooo/vba/XDialogsBase.idl \
347+	oovbaapi/ooo/vba/XDocumentProperties.idl \
348+	oovbaapi/ooo/vba/XGlobalsBase.idl \
349+	oovbaapi/ooo/vba/XCommandBarControls.idl \
350+	oovbaapi/ooo/vba/XCollection.idl \
351+	oovbaapi/ooo/vba/XPageSetupBase.idl \
352+	oovbaapi/ooo/vba/XDocumentProperty.idl \
353+	oovbaapi/ooo/vba/XAssistant.idl \
354+	oovbaapi/ooo/vba/XControlProvider.idl \
355+	oovbaapi/ooo/vba/XDocumentBase.idl \
356+	oovbaapi/ooo/vba/XFontBase.idl \
357+	oovbaapi/ooo/vba/XHelperInterface.idl \
358+))
359+
360+
361+# vim: set noet sw=4 ts=4:
362diff --git a/oovbaapi/prj/makefile.mk b/oovbaapi/prj/makefile.mk
363new file mode 100644
364--- /dev/null
365+++ b/oovbaapi/prj/makefile.mk
366@@ -0,0 +1,40 @@
367+#*************************************************************************
368+#
369+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
370+#
371+# Copyright 2000, 2010 Oracle and/or its affiliates.
372+#
373+# OpenOffice.org - a multi-platform office productivity suite
374+#
375+# This file is part of OpenOffice.org.
376+#
377+# OpenOffice.org is free software: you can redistribute it and/or modify
378+# it under the terms of the GNU Lesser General Public License version 3
379+# only, as published by the Free Software Foundation.
380+#
381+# OpenOffice.org is distributed in the hope that it will be useful,
382+# but WITHOUT ANY WARRANTY; without even the implied warranty of
383+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
384+# GNU Lesser General Public License version 3 for more details
385+# (a copy is included in the LICENSE file that accompanied this code).
386+#
387+# You should have received a copy of the GNU Lesser General Public License
388+# version 3 along with OpenOffice.org.  If not, see
389+# <http://www.openoffice.org/license.html>
390+# for a copy of the LGPLv3 License.
391+#
392+#*************************************************************************
393+
394+PRJ=..
395+TARGET=prj
396+
397+.INCLUDE : settings.mk
398+
399+.IF "$(VERBOSE)"!=""
400+VERBOSEFLAG :=
401+.ELSE
402+VERBOSEFLAG := -s
403+.ENDIF
404+
405+all:
406+	cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET)
407