[Libreoffice-commits] .: Branch 'feature/gnumake2' - sc/AllLangResTarget_sc.mk sc/Library_sc.mk sc/Library_scui.mk sc/Library_vbaobj.mk sc/Makefile sc/Module_sc.mk sc/Package_uiconfig.mk sc/Package_xml.mk sc/source
Norbert Thiebaud
nthiebaud at kemper.freedesktop.org
Sun Jan 9 17:22:59 PST 2011
sc/AllLangResTarget_sc.mk | 106 ++++++
sc/Library_sc.mk | 601 +++++++++++++++++++++++++++++++++++++++
sc/Library_scui.mk | 126 ++++++++
sc/Library_vbaobj.mk | 153 +++++++++
sc/Makefile | 33 ++
sc/Module_sc.mk | 33 ++
sc/Package_uiconfig.mk | 24 +
sc/Package_xml.mk | 141 +++++++++
sc/source/core/tool/interpr5.cxx | 3
9 files changed, 1219 insertions(+), 1 deletion(-)
New commits:
commit e6b55e5826070bb5309a81c8a1fe09d3205f2782
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Sun Jan 9 19:28:59 2011 -0600
first pass a gbuild for scalc
diff --git a/sc/AllLangResTarget_sc.mk b/sc/AllLangResTarget_sc.mk
new file mode 100644
index 0000000..64fdfd4
--- /dev/null
+++ b/sc/AllLangResTarget_sc.mk
@@ -0,0 +1,106 @@
+# Version: MPL 1.1 / GPLv3+ / LGPLv3+
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+# http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# The Initial Developer of the Original Code is
+# Norbert Thiebaud <nthiebaud at gmail.com> (C) 2010, All Rights Reserved.
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+# instead of those above.
+
+
+$(eval $(call gb_AllLangResTarget_AllLangResTarget,sc))
+
+$(eval $(call gb_AllLangResTarget_add_srs,sc,\
+ sc/res \
+))
+
+$(eval $(call gb_SrsTarget_SrsTarget,sc/res))
+
+$(eval $(call gb_SrsTarget_set_include,sc/res,\
+ $$(INCLUDE) \
+ -I$(OUTDIR)/inc \
+ -I$(WORKDIR)/inc/sc \
+ -I$(SRCDIR)/sc/inc \
+ -I$(SRCDIR)/sc/source/ui/wrtsh \
+ -I$(SRCDIR)/sc/source/ui/inc \
+ -I$(SRCDIR)/sc/source/ui/navipi \
+ -I$(SRCDIR)/sc/source/ui/docshell \
+ -I$(SRCDIR)/sc/source/ui/pagedlg \
+ -I$(SRCDIR)/sc/source/ui/dbgui \
+ -I$(SRCDIR)/sc/source/ui/formdlg \
+))
+
+$(eval $(call gb_SrsTarget_add_files,sc/res,\
+ sc/source/ui/src/optdlg.src \
+ sc/source/ui/src/popup.src \
+ sc/source/ui/src/autofmt.src \
+ sc/source/ui/src/globstr.src \
+ sc/source/ui/src/optsolver.src \
+ sc/source/ui/src/datafdlg.src \
+ sc/source/ui/src/toolbox.src \
+ sc/source/ui/src/scfuncs.src \
+ sc/source/ui/src/textdlgs.src \
+ sc/source/ui/src/solvrdlg.src \
+ sc/source/ui/src/sc.src \
+ sc/source/ui/src/pseudo.src \
+ sc/source/ui/src/subtdlg.src \
+ sc/source/ui/src/crnrdlg.src \
+ sc/source/ui/src/hdrcont.src \
+ sc/source/ui/src/scerrors.src \
+ sc/source/ui/src/simpref.src \
+ sc/source/ui/src/solveroptions.src \
+ sc/source/ui/src/namedlg.src \
+ sc/source/ui/src/miscdlgs.src \
+ sc/source/ui/src/tabopdlg.src \
+ sc/source/ui/src/scstring.src \
+ sc/source/ui/src/condfrmt.src \
+ sc/source/ui/src/dbnamdlg.src \
+ sc/source/ui/src/opredlin.src \
+ sc/source/ui/src/sortdlg.src \
+ sc/source/ui/src/attrdlg.src \
+ sc/source/ui/src/filter.src \
+ sc/source/ui/cctrl/dpcontrol.src \
+ sc/source/ui/navipi/navipi.src \
+ sc/source/ui/docshell/tpstat.src \
+ sc/source/ui/pagedlg/pagedlg.src \
+ sc/source/ui/pagedlg/tphf.src \
+ sc/source/ui/pagedlg/hfedtdlg.src \
+ sc/source/ui/styleui/scstyles.src \
+ sc/source/ui/styleui/styledlg.src \
+ sc/source/ui/dbgui/asciiopt.src \
+ sc/source/ui/dbgui/pivot.src \
+ sc/source/ui/dbgui/dpgroupdlg.src \
+ sc/source/ui/dbgui/consdlg.src \
+ sc/source/ui/dbgui/pvfundlg.src \
+ sc/source/ui/dbgui/dapitype.src \
+ sc/source/ui/dbgui/imoptdlg.src \
+ sc/source/ui/dbgui/textimportoptions.src \
+ sc/source/ui/dbgui/scendlg.src \
+ sc/source/ui/dbgui/outline.src \
+ sc/source/ui/dbgui/validate.src \
+ sc/source/ui/drawfunc/drformsh.src \
+ sc/source/ui/drawfunc/objdraw.src \
+ sc/source/ui/miscdlgs/retypepassdlg.src \
+ sc/source/ui/miscdlgs/instbdlg.src \
+ sc/source/ui/miscdlgs/highred.src \
+ sc/source/ui/miscdlgs/conflictsdlg.src \
+ sc/source/ui/miscdlgs/protectiondlg.src \
+ sc/source/ui/miscdlgs/acredlin.src \
+ sc/source/ui/miscdlgs/sharedocdlg.src \
+ sc/source/ui/miscdlgs/linkarea.src \
+ sc/source/ui/formdlg/formdlgs.src \
+ sc/source/ui/formdlg/dwfunctr.src \
+ sc/source/core/src/compiler.src \
+))
diff --git a/sc/Library_sc.mk b/sc/Library_sc.mk
new file mode 100644
index 0000000..1298cd6
--- /dev/null
+++ b/sc/Library_sc.mk
@@ -0,0 +1,601 @@
+# Version: MPL 1.1 / GPLv3+ / LGPLv3+
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+# http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# The Initial Developer of the Original Code is
+# Norbert Thiebaud <nthiebaud at gmail.com> (C) 2010, All Rights Reserved.
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+# instead of those above.
+
+$(eval $(call gb_Library_Library,sc))
+
+$(eval $(call gb_Library_add_sdi_headers,sc,sc/sdi/scslots))
+
+$(eval $(call gb_Library_add_precompiled_header,sc,$(SRCDIR)/sc/inc/pch/precompiled_sc))
+
+$(eval $(call gb_Library_set_include,sc,\
+ -I$(SRCDIR)/sc/source/core/inc \
+ -I$(SRCDIR)/sc/source/filter/inc \
+ -I$(SRCDIR)/sc/source/ui/inc \
+ -I$(SRCDIR)/sc/inc/pch \
+ -I$(SRCDIR)/sc/inc \
+ -I$(WORKDIR)/SdiTarget/sc/sdi \
+ -I$(WORKDIR)/Misc/sc/ \
+ $$(INCLUDE) \
+ -I$(OUTDIR)/inc/offuh \
+ -I$(OUTDIR)/inc \
+))
+
+$(eval $(call gb_Library_set_defs,sc,\
+ $$(DEFS) \
+ -DSC_DLLIMPLEMENTATION \
+ -DSC_INFO_OSVERSION=\"$(OS)\" \
+))
+
+$(eval $(call gb_Library_add_linked_libs,sc,\
+ avmedia \
+ basegfx \
+ comphelper \
+ cppu \
+ cppuhelper \
+ drawinglayer \
+ editeng \
+ for \
+ forui \
+ i18nisolang1 \
+ sal \
+ salhelper \
+ sb \
+ sfx \
+ sot \
+ svl \
+ svt \
+ svx \
+ svxcore \
+ tk \
+ tl \
+ ucbhelper \
+ utl \
+ vcl \
+ xo \
+))
+
+$(eval $(call gb_Library_add_exception_objects,sc,\
+ sc/source/core/data/attarray \
+ sc/source/core/data/attrib \
+ sc/source/core/data/autonamecache \
+ sc/source/core/data/bcaslot \
+ sc/source/core/data/cell \
+ sc/source/core/data/cell2 \
+ sc/source/core/data/clipparam \
+ sc/source/core/data/column \
+ sc/source/core/data/column2 \
+ sc/source/core/data/column3 \
+ sc/source/core/data/compressedarray \
+ sc/source/core/data/conditio \
+ sc/source/core/data/dbdocutl \
+ sc/source/core/data/dociter \
+ sc/source/core/data/docparam \
+ sc/source/core/data/docpool \
+ sc/source/core/data/documen2 \
+ sc/source/core/data/documen3 \
+ sc/source/core/data/documen4 \
+ sc/source/core/data/documen5 \
+ sc/source/core/data/documen6 \
+ sc/source/core/data/documen7 \
+ sc/source/core/data/documen8 \
+ sc/source/core/data/documen9 \
+ sc/source/core/data/document \
+ sc/source/core/data/dpcachetable \
+ sc/source/core/data/dpdimsave \
+ sc/source/core/data/dpglobal \
+ sc/source/core/data/dpgroup \
+ sc/source/core/data/dpobject \
+ sc/source/core/data/dpoutput \
+ sc/source/core/data/dpoutputgeometry \
+ sc/source/core/data/dpsave \
+ sc/source/core/data/dpsdbtab \
+ sc/source/core/data/dpshttab \
+ sc/source/core/data/dptabdat \
+ sc/source/core/data/dptablecache \
+ sc/source/core/data/dptabres \
+ sc/source/core/data/dptabsrc \
+ sc/source/core/data/drawpage \
+ sc/source/core/data/drwlayer \
+ sc/source/core/data/fillinfo \
+ sc/source/core/data/global \
+ sc/source/core/data/global2 \
+ sc/source/core/data/globalx \
+ sc/source/core/data/markarr \
+ sc/source/core/data/markdata \
+ sc/source/core/data/olinetab \
+ sc/source/core/data/pagepar \
+ sc/source/core/data/patattr \
+ sc/source/core/data/pivot2 \
+ sc/source/core/data/poolhelp \
+ sc/source/core/data/postit \
+ sc/source/core/data/scdpoutputimpl \
+ sc/source/core/data/segmenttree \
+ sc/source/core/data/sheetevents \
+ sc/source/core/data/sortparam \
+ sc/source/core/data/stlpool \
+ sc/source/core/data/stlsheet \
+ sc/source/core/data/tabbgcolor \
+ sc/source/core/data/table1 \
+ sc/source/core/data/table2 \
+ sc/source/core/data/table3 \
+ sc/source/core/data/table4 \
+ sc/source/core/data/table5 \
+ sc/source/core/data/table6 \
+ sc/source/core/data/tabprotection \
+ sc/source/core/data/userdat \
+ sc/source/core/data/validat \
+ sc/source/core/tool/addincfg \
+ sc/source/core/tool/addincol \
+ sc/source/core/tool/addinhelpid \
+ sc/source/core/tool/addinlis \
+ sc/source/core/tool/address \
+ sc/source/core/tool/adiasync \
+ sc/source/core/tool/appoptio \
+ sc/source/core/tool/autoform \
+ sc/source/core/tool/callform \
+ sc/source/core/tool/cellform \
+ sc/source/core/tool/cellkeytranslator \
+ sc/source/core/tool/chartarr \
+ sc/source/core/tool/charthelper \
+ sc/source/core/tool/chartlis \
+ sc/source/core/tool/chartlock \
+ sc/source/core/tool/chartpos \
+ sc/source/core/tool/chgtrack \
+ sc/source/core/tool/chgviset \
+ sc/source/core/tool/collect \
+ sc/source/core/tool/compiler \
+ sc/source/core/tool/consoli \
+ sc/source/core/tool/dbcolect \
+ sc/source/core/tool/ddelink \
+ sc/source/core/tool/detdata \
+ sc/source/core/tool/detfunc \
+ sc/source/core/tool/docoptio \
+ sc/source/core/tool/doubleref \
+ sc/source/core/tool/editutil \
+ sc/source/core/tool/filtopt \
+ sc/source/core/tool/formulaparserpool \
+ sc/source/core/tool/hints \
+ sc/source/core/tool/inputopt \
+ sc/source/core/tool/interpr1 \
+ sc/source/core/tool/interpr2 \
+ sc/source/core/tool/interpr3 \
+ sc/source/core/tool/interpr4 \
+ sc/source/core/tool/interpr5 \
+ sc/source/core/tool/interpr6 \
+ sc/source/core/tool/lookupcache \
+ sc/source/core/tool/navicfg \
+ sc/source/core/tool/odffmap \
+ sc/source/core/tool/optutil \
+ sc/source/core/tool/parclass \
+ sc/source/core/tool/printopt \
+ sc/source/core/tool/prnsave \
+ sc/source/core/tool/progress \
+ sc/source/core/tool/queryparam \
+ sc/source/core/tool/rangelst \
+ sc/source/core/tool/rangenam \
+ sc/source/core/tool/rangeseq \
+ sc/source/core/tool/rangeutl \
+ sc/source/core/tool/rechead \
+ sc/source/core/tool/refdata \
+ sc/source/core/tool/reffind \
+ sc/source/core/tool/refreshtimer \
+ sc/source/core/tool/reftokenhelper \
+ sc/source/core/tool/refupdat \
+ sc/source/core/tool/scmatrix \
+ sc/source/core/tool/simplerangelist \
+ sc/source/core/tool/stringutil \
+ sc/source/core/tool/subtotal \
+ sc/source/core/tool/token \
+ sc/source/core/tool/unitconv \
+ sc/source/core/tool/userlist \
+ sc/source/core/tool/viewopti \
+ sc/source/core/tool/zforauto \
+ sc/source/filter/xml/XMLCalculationSettingsContext \
+ sc/source/filter/xml/XMLCellRangeSourceContext \
+ sc/source/filter/xml/XMLChangeTrackingExportHelper \
+ sc/source/filter/xml/XMLChangeTrackingImportHelper \
+ sc/source/filter/xml/XMLCodeNameProvider \
+ sc/source/filter/xml/XMLColumnRowGroupExport \
+ sc/source/filter/xml/XMLConsolidationContext \
+ sc/source/filter/xml/XMLConverter \
+ sc/source/filter/xml/XMLDDELinksContext \
+ sc/source/filter/xml/XMLDetectiveContext \
+ sc/source/filter/xml/XMLEmptyContext \
+ sc/source/filter/xml/XMLExportDDELinks \
+ sc/source/filter/xml/XMLExportDataPilot \
+ sc/source/filter/xml/XMLExportDatabaseRanges \
+ sc/source/filter/xml/XMLExportIterator \
+ sc/source/filter/xml/XMLExportSharedData \
+ sc/source/filter/xml/XMLStylesExportHelper \
+ sc/source/filter/xml/XMLStylesImportHelper \
+ sc/source/filter/xml/XMLTableHeaderFooterContext \
+ sc/source/filter/xml/XMLTableMasterPageExport \
+ sc/source/filter/xml/XMLTableShapeImportHelper \
+ sc/source/filter/xml/XMLTableShapeResizer \
+ sc/source/filter/xml/XMLTableShapesContext \
+ sc/source/filter/xml/XMLTableSourceContext \
+ sc/source/filter/xml/XMLTextPContext \
+ sc/source/filter/xml/XMLTrackedChangesContext \
+ sc/source/filter/xml/cachedattraccess \
+ sc/source/filter/xml/sheetdata \
+ sc/source/filter/xml/xmlannoi \
+ sc/source/filter/xml/xmlbodyi \
+ sc/source/filter/xml/xmlcelli \
+ sc/source/filter/xml/xmlcoli \
+ sc/source/filter/xml/xmlconti \
+ sc/source/filter/xml/xmlcvali \
+ sc/source/filter/xml/xmldpimp \
+ sc/source/filter/xml/xmldrani \
+ sc/source/filter/xml/xmlexprt \
+ sc/source/filter/xml/xmlexternaltabi \
+ sc/source/filter/xml/xmlfilti \
+ sc/source/filter/xml/xmlfonte \
+ sc/source/filter/xml/xmlimprt \
+ sc/source/filter/xml/xmllabri \
+ sc/source/filter/xml/xmlnexpi \
+ sc/source/filter/xml/xmlrowi \
+ sc/source/filter/xml/xmlsceni \
+ sc/source/filter/xml/xmlsorti \
+ sc/source/filter/xml/xmlstyle \
+ sc/source/filter/xml/xmlstyli \
+ sc/source/filter/xml/xmlsubti \
+ sc/source/filter/xml/xmltabi \
+ sc/source/filter/xml/xmlwrap \
+ sc/source/ui/Accessibility/AccessibilityHints \
+ sc/source/ui/Accessibility/AccessibleCell \
+ sc/source/ui/Accessibility/AccessibleCellBase \
+ sc/source/ui/Accessibility/AccessibleContextBase \
+ sc/source/ui/Accessibility/AccessibleCsvControl \
+ sc/source/ui/Accessibility/AccessibleDataPilotControl \
+ sc/source/ui/Accessibility/AccessibleDocument \
+ sc/source/ui/Accessibility/AccessibleDocumentBase \
+ sc/source/ui/Accessibility/AccessibleDocumentPagePreview \
+ sc/source/ui/Accessibility/AccessibleEditObject \
+ sc/source/ui/Accessibility/AccessibleFilterMenu \
+ sc/source/ui/Accessibility/AccessibleFilterMenuItem \
+ sc/source/ui/Accessibility/AccessibleFilterTopWindow \
+ sc/source/ui/Accessibility/AccessibleGlobal \
+ sc/source/ui/Accessibility/AccessiblePageHeader \
+ sc/source/ui/Accessibility/AccessiblePageHeaderArea \
+ sc/source/ui/Accessibility/AccessiblePreviewCell \
+ sc/source/ui/Accessibility/AccessiblePreviewHeaderCell \
+ sc/source/ui/Accessibility/AccessiblePreviewTable \
+ sc/source/ui/Accessibility/AccessibleSpreadsheet \
+ sc/source/ui/Accessibility/AccessibleTableBase \
+ sc/source/ui/Accessibility/AccessibleText \
+ sc/source/ui/Accessibility/DrawModelBroadcaster \
+ sc/source/ui/app/client \
+ sc/source/ui/app/drwtrans \
+ sc/source/ui/app/inputhdl \
+ sc/source/ui/app/inputwin \
+ sc/source/ui/app/lnktrans \
+ sc/source/ui/app/msgpool \
+ sc/source/ui/app/rfindlst \
+ sc/source/ui/app/scdll \
+ sc/source/ui/app/scmod \
+ sc/source/ui/app/scmod2 \
+ sc/source/ui/app/seltrans \
+ sc/source/ui/app/transobj \
+ sc/source/ui/app/typemap \
+ sc/source/ui/app/uiitems \
+ sc/source/ui/attrdlg/attrdlg \
+ sc/source/ui/attrdlg/condfrmt \
+ sc/source/ui/attrdlg/scabstdlg \
+ sc/source/ui/attrdlg/scdlgfact \
+ sc/source/ui/attrdlg/scuiexp \
+ sc/source/ui/attrdlg/tabpages \
+ sc/source/ui/cctrl/cbuttonw \
+ sc/source/ui/cctrl/dpcontrol \
+ sc/source/ui/cctrl/editfield \
+ sc/source/ui/cctrl/popmenu \
+ sc/source/ui/cctrl/tbinsert \
+ sc/source/ui/cctrl/tbzoomsliderctrl \
+ sc/source/ui/dbgui/asciiopt \
+ sc/source/ui/dbgui/consdlg \
+ sc/source/ui/dbgui/csvcontrol \
+ sc/source/ui/dbgui/csvgrid \
+ sc/source/ui/dbgui/csvruler \
+ sc/source/ui/dbgui/csvsplits \
+ sc/source/ui/dbgui/csvtablebox \
+ sc/source/ui/dbgui/dapidata \
+ sc/source/ui/dbgui/dapitype \
+ sc/source/ui/dbgui/dbnamdlg \
+ sc/source/ui/dbgui/dpgroupdlg \
+ sc/source/ui/dbgui/expftext \
+ sc/source/ui/dbgui/fieldwnd \
+ sc/source/ui/dbgui/filtdlg \
+ sc/source/ui/dbgui/foptmgr \
+ sc/source/ui/dbgui/imoptdlg \
+ sc/source/ui/dbgui/pfiltdlg \
+ sc/source/ui/dbgui/pvfundlg \
+ sc/source/ui/dbgui/pvlaydlg \
+ sc/source/ui/dbgui/scuiasciiopt \
+ sc/source/ui/dbgui/scuiimoptdlg \
+ sc/source/ui/dbgui/scendlg \
+ sc/source/ui/dbgui/sfiltdlg \
+ sc/source/ui/dbgui/sortdlg \
+ sc/source/ui/dbgui/subtdlg \
+ sc/source/ui/dbgui/textimportoptions \
+ sc/source/ui/dbgui/tpsort \
+ sc/source/ui/dbgui/tpsubt \
+ sc/source/ui/dbgui/validate \
+ sc/source/ui/docshell/arealink \
+ sc/source/ui/docshell/autostyl \
+ sc/source/ui/docshell/dbdocfun \
+ sc/source/ui/docshell/dbdocimp \
+ sc/source/ui/docshell/docfunc \
+ sc/source/ui/docshell/docsh \
+ sc/source/ui/docshell/docsh2 \
+ sc/source/ui/docshell/docsh3 \
+ sc/source/ui/docshell/docsh4 \
+ sc/source/ui/docshell/docsh5 \
+ sc/source/ui/docshell/docsh6 \
+ sc/source/ui/docshell/docsh7 \
+ sc/source/ui/docshell/docsh8 \
+ sc/source/ui/docshell/editable \
+ sc/source/ui/docshell/externalrefmgr \
+ sc/source/ui/docshell/hiranges \
+ sc/source/ui/docshell/impex \
+ sc/source/ui/docshell/macromgr \
+ sc/source/ui/docshell/olinefun \
+ sc/source/ui/docshell/pagedata \
+ sc/source/ui/docshell/pntlock \
+ sc/source/ui/docshell/servobj \
+ sc/source/ui/docshell/sizedev \
+ sc/source/ui/docshell/tablink \
+ sc/source/ui/docshell/tpstat \
+ sc/source/ui/drawfunc/chartsh \
+ sc/source/ui/drawfunc/drawsh \
+ sc/source/ui/drawfunc/drawsh2 \
+ sc/source/ui/drawfunc/drawsh4 \
+ sc/source/ui/drawfunc/drawsh5 \
+ sc/source/ui/drawfunc/drformsh \
+ sc/source/ui/drawfunc/drtxtob \
+ sc/source/ui/drawfunc/drtxtob1 \
+ sc/source/ui/drawfunc/drtxtob2 \
+ sc/source/ui/drawfunc/fuconarc \
+ sc/source/ui/drawfunc/fuconcustomshape \
+ sc/source/ui/drawfunc/fuconpol \
+ sc/source/ui/drawfunc/fuconrec \
+ sc/source/ui/drawfunc/fuconstr \
+ sc/source/ui/drawfunc/fuconuno \
+ sc/source/ui/drawfunc/fudraw \
+ sc/source/ui/drawfunc/fuins1 \
+ sc/source/ui/drawfunc/fuins2 \
+ sc/source/ui/drawfunc/fumark \
+ sc/source/ui/drawfunc/fupoor \
+ sc/source/ui/drawfunc/fusel \
+ sc/source/ui/drawfunc/fusel2 \
+ sc/source/ui/drawfunc/futext \
+ sc/source/ui/drawfunc/futext2 \
+ sc/source/ui/drawfunc/futext3 \
+ sc/source/ui/drawfunc/graphsh \
+ sc/source/ui/drawfunc/mediash \
+ sc/source/ui/drawfunc/oleobjsh \
+ sc/source/ui/formdlg/dwfunctr \
+ sc/source/ui/formdlg/formdata \
+ sc/source/ui/formdlg/formula \
+ sc/source/ui/formdlg/privsplt \
+ sc/source/ui/miscdlgs/acredlin \
+ sc/source/ui/miscdlgs/anyrefdg \
+ sc/source/ui/miscdlgs/autofmt \
+ sc/source/ui/miscdlgs/conflictsdlg \
+ sc/source/ui/miscdlgs/crdlg \
+ sc/source/ui/miscdlgs/crnrdlg \
+ sc/source/ui/miscdlgs/datafdlg \
+ sc/source/ui/miscdlgs/delcldlg \
+ sc/source/ui/miscdlgs/delcodlg \
+ sc/source/ui/miscdlgs/filldlg \
+ sc/source/ui/miscdlgs/groupdlg \
+ sc/source/ui/miscdlgs/highred \
+ sc/source/ui/miscdlgs/inscldlg \
+ sc/source/ui/miscdlgs/inscodlg \
+ sc/source/ui/miscdlgs/instbdlg \
+ sc/source/ui/miscdlgs/lbseldlg \
+ sc/source/ui/miscdlgs/linkarea \
+ sc/source/ui/miscdlgs/mtrindlg \
+ sc/source/ui/miscdlgs/mvtabdlg \
+ sc/source/ui/miscdlgs/namecrea \
+ sc/source/ui/miscdlgs/namepast \
+ sc/source/ui/miscdlgs/optsolver \
+ sc/source/ui/miscdlgs/protectiondlg \
+ sc/source/ui/miscdlgs/redcom \
+ sc/source/ui/miscdlgs/retypepassdlg \
+ sc/source/ui/miscdlgs/scuiautofmt \
+ sc/source/ui/miscdlgs/sharedocdlg \
+ sc/source/ui/miscdlgs/shtabdlg \
+ sc/source/ui/miscdlgs/simpref \
+ sc/source/ui/miscdlgs/solveroptions \
+ sc/source/ui/miscdlgs/solverutil \
+ sc/source/ui/miscdlgs/solvrdlg \
+ sc/source/ui/miscdlgs/strindlg \
+ sc/source/ui/miscdlgs/tabbgcolordlg \
+ sc/source/ui/miscdlgs/tabopdlg \
+ sc/source/ui/miscdlgs/textdlgs \
+ sc/source/ui/miscdlgs/warnbox \
+ sc/source/ui/namedlg/namedlg \
+ sc/source/ui/navipi/content \
+ sc/source/ui/navipi/navcitem \
+ sc/source/ui/navipi/navipi \
+ sc/source/ui/navipi/scenwnd \
+ sc/source/ui/optdlg/opredlin \
+ sc/source/ui/optdlg/tpcalc \
+ sc/source/ui/optdlg/tpcompatibility \
+ sc/source/ui/optdlg/tpformula \
+ sc/source/ui/optdlg/tpprint \
+ sc/source/ui/optdlg/tpusrlst \
+ sc/source/ui/optdlg/tpview \
+ sc/source/ui/pagedlg/areasdlg \
+ sc/source/ui/pagedlg/hfedtdlg \
+ sc/source/ui/pagedlg/scuitphfedit \
+ sc/source/ui/pagedlg/tphf \
+ sc/source/ui/pagedlg/tphfedit \
+ sc/source/ui/pagedlg/tptable \
+ sc/source/ui/styleui/styledlg \
+ sc/source/ui/undo/areasave \
+ sc/source/ui/undo/refundo \
+ sc/source/ui/undo/target \
+ sc/source/ui/undo/undobase \
+ sc/source/ui/undo/undoblk \
+ sc/source/ui/undo/undoblk2 \
+ sc/source/ui/undo/undoblk3 \
+ sc/source/ui/undo/undocell \
+ sc/source/ui/undo/undodat \
+ sc/source/ui/undo/undodraw \
+ sc/source/ui/undo/undoolk \
+ sc/source/ui/undo/undostyl \
+ sc/source/ui/undo/undotab \
+ sc/source/ui/undo/undoutil \
+ sc/source/ui/unoobj/ChartRangeSelectionListener \
+ sc/source/ui/unoobj/addruno \
+ sc/source/ui/unoobj/afmtuno \
+ sc/source/ui/unoobj/appluno \
+ sc/source/ui/unoobj/celllistsource \
+ sc/source/ui/unoobj/cellsuno \
+ sc/source/ui/unoobj/cellvaluebinding \
+ sc/source/ui/unoobj/chart2uno \
+ sc/source/ui/unoobj/chartuno \
+ sc/source/ui/unoobj/confuno \
+ sc/source/ui/unoobj/convuno \
+ sc/source/ui/unoobj/cursuno \
+ sc/source/ui/unoobj/dapiuno \
+ sc/source/ui/unoobj/datauno \
+ sc/source/ui/unoobj/defltuno \
+ sc/source/ui/unoobj/dispuno \
+ sc/source/ui/unoobj/docuno \
+ sc/source/ui/unoobj/drdefuno \
+ sc/source/ui/unoobj/editsrc \
+ sc/source/ui/unoobj/eventuno \
+ sc/source/ui/unoobj/fielduno \
+ sc/source/ui/unoobj/filtuno \
+ sc/source/ui/unoobj/fmtuno \
+ sc/source/ui/unoobj/forbiuno \
+ sc/source/ui/unoobj/funcuno \
+ sc/source/ui/unoobj/linkuno \
+ sc/source/ui/unoobj/listenercalls \
+ sc/source/ui/unoobj/miscuno \
+ sc/source/ui/unoobj/nameuno \
+ sc/source/ui/unoobj/notesuno \
+ sc/source/ui/unoobj/optuno \
+ sc/source/ui/unoobj/pageuno \
+ sc/source/ui/unoobj/servuno \
+ sc/source/ui/unoobj/shapeuno \
+ sc/source/ui/unoobj/srchuno \
+ sc/source/ui/unoobj/styleuno \
+ sc/source/ui/unoobj/targuno \
+ sc/source/ui/unoobj/textuno \
+ sc/source/ui/unoobj/tokenuno \
+ sc/source/ui/unoobj/unodoc \
+ sc/source/ui/unoobj/unoreflist \
+ sc/source/ui/unoobj/viewuno \
+ sc/source/ui/unoobj/warnpassword \
+ sc/source/ui/view/auditsh \
+ sc/source/ui/view/cellmergeoption \
+ sc/source/ui/view/cellsh \
+ sc/source/ui/view/cellsh1 \
+ sc/source/ui/view/cellsh2 \
+ sc/source/ui/view/cellsh3 \
+ sc/source/ui/view/cellsh4 \
+ sc/source/ui/view/colrowba \
+ sc/source/ui/view/dbfunc \
+ sc/source/ui/view/dbfunc2 \
+ sc/source/ui/view/dbfunc3 \
+ sc/source/ui/view/dbfunc4 \
+ sc/source/ui/view/drawutil \
+ sc/source/ui/view/drawvie2 \
+ sc/source/ui/view/drawvie3 \
+ sc/source/ui/view/drawvie4 \
+ sc/source/ui/view/drawview \
+ sc/source/ui/view/editsh \
+ sc/source/ui/view/formatsh \
+ sc/source/ui/view/galwrap \
+ sc/source/ui/view/gridmerg \
+ sc/source/ui/view/gridwin \
+ sc/source/ui/view/gridwin2 \
+ sc/source/ui/view/gridwin3 \
+ sc/source/ui/view/gridwin4 \
+ sc/source/ui/view/gridwin5 \
+ sc/source/ui/view/hdrcont \
+ sc/source/ui/view/hintwin \
+ sc/source/ui/view/imapwrap \
+ sc/source/ui/view/invmerge \
+ sc/source/ui/view/notemark \
+ sc/source/ui/view/olinewin \
+ sc/source/ui/view/olkact \
+ sc/source/ui/view/output \
+ sc/source/ui/view/output2 \
+ sc/source/ui/view/output3 \
+ sc/source/ui/view/overlayobject \
+ sc/source/ui/view/pfuncache \
+ sc/source/ui/view/pgbrksh \
+ sc/source/ui/view/pivotsh \
+ sc/source/ui/view/preview \
+ sc/source/ui/view/prevloc \
+ sc/source/ui/view/prevwsh \
+ sc/source/ui/view/prevwsh2 \
+ sc/source/ui/view/printfun \
+ sc/source/ui/view/reffact \
+ sc/source/ui/view/scextopt \
+ sc/source/ui/view/select \
+ sc/source/ui/view/selectionstate \
+ sc/source/ui/view/spelldialog \
+ sc/source/ui/view/spelleng \
+ sc/source/ui/view/tabcont \
+ sc/source/ui/view/tabsplit \
+ sc/source/ui/view/tabview \
+ sc/source/ui/view/tabview2 \
+ sc/source/ui/view/tabview3 \
+ sc/source/ui/view/tabview4 \
+ sc/source/ui/view/tabview5 \
+ sc/source/ui/view/tabvwsh \
+ sc/source/ui/view/tabvwsh2 \
+ sc/source/ui/view/tabvwsh3 \
+ sc/source/ui/view/tabvwsh4 \
+ sc/source/ui/view/tabvwsh5 \
+ sc/source/ui/view/tabvwsh8 \
+ sc/source/ui/view/tabvwsh9 \
+ sc/source/ui/view/tabvwsha \
+ sc/source/ui/view/tabvwshb \
+ sc/source/ui/view/tabvwshc \
+ sc/source/ui/view/tabvwshd \
+ sc/source/ui/view/tabvwshe \
+ sc/source/ui/view/tabvwshf \
+ sc/source/ui/view/tabvwshg \
+ sc/source/ui/view/tabvwshh \
+ sc/source/ui/view/viewdata \
+ sc/source/ui/view/viewfun2 \
+ sc/source/ui/view/viewfun3 \
+ sc/source/ui/view/viewfun4 \
+ sc/source/ui/view/viewfun5 \
+ sc/source/ui/view/viewfun6 \
+ sc/source/ui/view/viewfun7 \
+ sc/source/ui/view/viewfunc \
+ sc/source/ui/view/viewutil \
+ sc/source/ui/view/waitoff \
+))
+
+$(eval $(call gb_SdiTarget_SdiTarget,sc/sdi/scslots,sc/sdi/scalc))
+
+$(eval $(call gb_SdiTarget_set_include,sc/sdi/scslots,\
+ -I$(SRCDIR)/sc/inc \
+ -I$(SRCDIR)/sc/sdi \
+ $$(INCLUDE) \
+))
diff --git a/sc/Library_scui.mk b/sc/Library_scui.mk
new file mode 100644
index 0000000..402ea08
--- /dev/null
+++ b/sc/Library_scui.mk
@@ -0,0 +1,126 @@
+# Version: MPL 1.1 / GPLv3+ / LGPLv3+
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+# http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# The Initial Developer of the Original Code is
+# Norbert Thiebaud <nthiebaud at gmail.com> (C) 2010, All Rights Reserved.
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+# instead of those above.
+
+$(eval $(call gb_Library_Library,scui))
+
+$(eval $(call gb_Library_set_include,scui,\
+ -I$(SRCDIR)/sc/inc \
+ -I$(SRCDIR)/sc/inc/pch \
+ -I$(SRCDIR)/sc/source/core/inc \
+ -I$(SRCDIR)/sc/source/filter/inc \
+ -I$(SRCDIR)/sc/source/ui/inc \
+ -I$(WORKDIR)/SdiTarget/sc/sdi \
+ -I$(WORKDIR)/Misc/sc \
+ $$(INCLUDE) \
+ -I$(OUTDIR)/inc/sc \
+ -I$(OUTDIR)/inc/offuh \
+))
+
+$(eval $(call gb_Library_set_defs,scui,\
+ $$(DEFS) \
+))
+
+$(eval $(call gb_Library_add_linked_libs,scui,\
+ comphelper \
+ cppu \
+ editeng \
+ for \
+ forui \
+ i18nisolang1 \
+ sal \
+ sc \
+ sfx \
+ sot \
+ svl \
+ svt \
+ svx \
+ svxcore \
+ tl \
+ utl \
+ vcl \
+))
+
+$(eval $(call gb_Library_add_exception_objects,scui,\
+ sc/source/ui/attrdlg/attrdlg \
+ sc/source/ui/attrdlg/scdlgfact \
+ sc/source/ui/attrdlg/scuiexp \
+ sc/source/ui/attrdlg/tabpages \
+ sc/source/ui/cctrl/editfield \
+ sc/source/ui/dbgui/dapidata \
+ sc/source/ui/dbgui/dapitype \
+ sc/source/ui/dbgui/dpgroupdlg \
+ sc/source/ui/dbgui/pfiltdlg \
+ sc/source/ui/dbgui/pvfundlg \
+ sc/source/ui/dbgui/scendlg \
+ sc/source/ui/dbgui/scuiasciiopt \
+ sc/source/ui/dbgui/scuiimoptdlg \
+ sc/source/ui/dbgui/sortdlg \
+ sc/source/ui/dbgui/subtdlg \
+ sc/source/ui/dbgui/textimportoptions \
+ sc/source/ui/dbgui/tpsort \
+ sc/source/ui/dbgui/tpsubt \
+ sc/source/ui/dbgui/validate \
+ sc/source/ui/docshell/tpstat \
+ sc/source/ui/miscdlgs/crdlg \
+ sc/source/ui/miscdlgs/datafdlg \
+ sc/source/ui/miscdlgs/delcldlg \
+ sc/source/ui/miscdlgs/delcodlg \
+ sc/source/ui/miscdlgs/filldlg \
+ sc/source/ui/miscdlgs/groupdlg \
+ sc/source/ui/miscdlgs/inscldlg \
+ sc/source/ui/miscdlgs/inscodlg \
+ sc/source/ui/miscdlgs/instbdlg \
+ sc/source/ui/miscdlgs/lbseldlg \
+ sc/source/ui/miscdlgs/linkarea \
+ sc/source/ui/miscdlgs/mtrindlg \
+ sc/source/ui/miscdlgs/mvtabdlg \
+ sc/source/ui/miscdlgs/namecrea \
+ sc/source/ui/miscdlgs/namepast \
+ sc/source/ui/miscdlgs/scuiautofmt \
+ sc/source/ui/miscdlgs/shtabdlg \
+ sc/source/ui/miscdlgs/strindlg \
+ sc/source/ui/miscdlgs/tabbgcolordlg \
+ sc/source/ui/miscdlgs/textdlgs \
+ sc/source/ui/optdlg/opredlin \
+ sc/source/ui/optdlg/tpcalc \
+ sc/source/ui/optdlg/tpcompatibility \
+ sc/source/ui/optdlg/tpformula \
+ sc/source/ui/optdlg/tpprint \
+ sc/source/ui/optdlg/tpusrlst \
+ sc/source/ui/optdlg/tpview \
+ sc/source/ui/pagedlg/hfedtdlg \
+ sc/source/ui/pagedlg/scuitphfedit \
+ sc/source/ui/pagedlg/tphf \
+ sc/source/ui/pagedlg/tptable \
+ sc/source/ui/styleui/styledlg \
+))
+
+ifeq ($(OS),WNT)
+$(eval $(call gb_Library_add_linked_libs,scui,\
+ advapi32 \
+ kernel32 \
+ msvcrt \
+ oldnames \
+ user32 \
+ uwinapi \
+))
+endif
+# vim: set noet sw=4 ts=4:
diff --git a/sc/Library_vbaobj.mk b/sc/Library_vbaobj.mk
new file mode 100644
index 0000000..a1a5815
--- /dev/null
+++ b/sc/Library_vbaobj.mk
@@ -0,0 +1,153 @@
+# Version: MPL 1.1 / GPLv3+ / LGPLv3+
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+# http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# The Initial Developer of the Original Code is
+# Norbert Thiebaud <nthiebaud at gmail.com> (C) 2010, All Rights Reserved.
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+# instead of those above.
+
+$(eval $(call gb_Library_Library,vbaobj))
+
+$(eval $(call gb_Library_set_include,vbaobj,\
+ -I$(SRCDIR)/sc/source/core/inc \
+ -I$(SRCDIR)/sc/source/filter/inc \
+ -I$(SRCDIR)/sc/source/ui/inc \
+ -I$(SRCDIR)/sc/inc/pch \
+ -I$(SRCDIR)/sc/inc \
+ -I$(WORKDIR)/Misc/sc/ \
+ $$(INCLUDE) \
+ -I$(OUTDIR)/inc/offuh \
+ -I$(OUTDIR)/inc/ \
+))
+
+$(eval $(call gb_Library_set_defs,vbaobj,\
+ $$(DEFS) \
+ -DVBA_OOBUILD_HACK \
+))
+
+$(eval $(call gb_Library_add_linked_libs,vbaobj,\
+ comphelper \
+ cppu \
+ cppuhelper \
+ editeng \
+ for \
+ msfilter \
+ sal \
+ sb \
+ sc \
+ sfx \
+ svl \
+ svt \
+ svx \
+ svxcore \
+ tk \
+ tl \
+ utl \
+ vbahelper \
+ vcl \
+))
+
+$(eval $(call gb_Library_add_exception_objects,vbaobj,\
+ sc/source/ui/vba/excelvbahelper \
+ sc/source/ui/vba/service \
+ sc/source/ui/vba/vbaapplication \
+ sc/source/ui/vba/vbaassistant \
+ sc/source/ui/vba/vbaaxes \
+ sc/source/ui/vba/vbaaxis \
+ sc/source/ui/vba/vbaaxistitle \
+ sc/source/ui/vba/vbaborders \
+ sc/source/ui/vba/vbacharacters \
+ sc/source/ui/vba/vbachart \
+ sc/source/ui/vba/vbachartobject \
+ sc/source/ui/vba/vbachartobjects \
+ sc/source/ui/vba/vbacharts \
+ sc/source/ui/vba/vbacharttitle \
+ sc/source/ui/vba/vbacomment \
+ sc/source/ui/vba/vbacomments \
+ sc/source/ui/vba/vbacommentshape \
+ sc/source/ui/vba/vbacondition \
+ sc/source/ui/vba/vbadialog \
+ sc/source/ui/vba/vbadialogs \
+ sc/source/ui/vba/vbaeventshelper \
+ sc/source/ui/vba/vbafiledialog \
+ sc/source/ui/vba/vbafiledialogselecteditems \
+ sc/source/ui/vba/vbafilesearch \
+ sc/source/ui/vba/vbafont \
+ sc/source/ui/vba/vbaformat \
+ sc/source/ui/vba/vbaformatcondition \
+ sc/source/ui/vba/vbaformatconditions \
+ sc/source/ui/vba/vbafoundfiles \
+ sc/source/ui/vba/vbaglobals \
+ sc/source/ui/vba/vbahyperlink \
+ sc/source/ui/vba/vbahyperlinks \
+ sc/source/ui/vba/vbainterior \
+ sc/source/ui/vba/vbamenubar \
+ sc/source/ui/vba/vbamenubars \
+ sc/source/ui/vba/vbamenu \
+ sc/source/ui/vba/vbamenus \
+ sc/source/ui/vba/vbamenuitem \
+ sc/source/ui/vba/vbamenuitems \
+ sc/source/ui/vba/vbaname \
+ sc/source/ui/vba/vbanames \
+ sc/source/ui/vba/vbaoleobject \
+ sc/source/ui/vba/vbaoleobjects \
+ sc/source/ui/vba/vbaoutline \
+ sc/source/ui/vba/vbapagebreak \
+ sc/source/ui/vba/vbapagebreaks \
+ sc/source/ui/vba/vbapagesetup \
+ sc/source/ui/vba/vbapalette \
+ sc/source/ui/vba/vbapane \
+ sc/source/ui/vba/vbapivotcache \
+ sc/source/ui/vba/vbapivottable \
+ sc/source/ui/vba/vbapivottables \
+ sc/source/ui/vba/vbaquerytable \
+ sc/source/ui/vba/vbarange \
+ sc/source/ui/vba/vbaseriescollection \
+ sc/source/ui/vba/vbasheetobject \
+ sc/source/ui/vba/vbasheetobjects \
+ sc/source/ui/vba/vbastyle \
+ sc/source/ui/vba/vbastyles \
+ sc/source/ui/vba/vbatextboxshape \
+ sc/source/ui/vba/vbatextframe \
+ sc/source/ui/vba/vbavalidation \
+ sc/source/ui/vba/vbawindow \
+ sc/source/ui/vba/vbawindows \
+ sc/source/ui/vba/vbaworkbook \
+ sc/source/ui/vba/vbaworkbooks \
+ sc/source/ui/vba/vbaworksheet \
+ sc/source/ui/vba/vbaworksheets \
+ sc/source/ui/vba/vbawsfunction \
+))
+
+ifeq ($(OS),LINUX)
+$(eval $(call gb_Library_set_ldflags,vbaobj,\
+ $$(LDFLAGS) \
+ -Wl$(COMMA)-O1 \
+ -Wl$(COMMA)-z$(COMMA)noexecstack \
+))
+endif
+
+ifeq ($(OS),WNT)
+$(eval $(call gb_Library_add_linked_libs,vbaobj,\
+ advapi32 \
+ kernel32 \
+ msvcrt \
+ oldnames \
+ user32 \
+ uwinapi \
+))
+endif
+# vim: set noet sw=4 ts=4:
diff --git a/sc/Makefile b/sc/Makefile
new file mode 100644
index 0000000..de837be
--- /dev/null
+++ b/sc/Makefile
@@ -0,0 +1,33 @@
+#
+# Version: MPL 1.1 / GPLv3+ / LGPLv3+
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+# http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# The Initial Developer of the Original Code is
+# Norbert Thiebaud <nthiebaud at gmail.com> (C) 2010, All Rights Reserved.
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+# instead of those above.
+
+ifeq ($(strip $(SOLARENV)),)
+$(error No environment set!)
+endif
+
+gb_PARTIALBUILD := T
+GBUILDDIR := $(SOLARENV)/gbuild
+include $(GBUILDDIR)/gbuild.mk
+
+$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
+
+# vim: set noet sw=4 ts=4:
diff --git a/sc/Module_sc.mk b/sc/Module_sc.mk
new file mode 100644
index 0000000..3d451a1
--- /dev/null
+++ b/sc/Module_sc.mk
@@ -0,0 +1,33 @@
+#
+# Version: MPL 1.1 / GPLv3+ / LGPLv3+
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+# http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# The Initial Developer of the Original Code is
+# Norbert Thiebaud <nthiebaud at gmail.com> (C) 2010, All Rights Reserved.
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+# instead of those above.
+
+$(eval $(call gb_Module_Module,sc))
+
+$(eval $(call gb_Module_add_targets,sc,\
+ AllLangResTarget_sc \
+ Library_sc \
+ Library_scui \
+ Library_vbaobj \
+ Package_uiconfig \
+ Package_xml \
+))
+
diff --git a/sc/Package_uiconfig.mk b/sc/Package_uiconfig.mk
new file mode 100644
index 0000000..2421be4
--- /dev/null
+++ b/sc/Package_uiconfig.mk
@@ -0,0 +1,24 @@
+# Version: MPL 1.1 / GPLv3+ / LGPLv3+
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+# http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# The Initial Developer of the Original Code is
+# Norbert Thiebaud <nthiebaud at gmail.com> (C) 2010, All Rights Reserved.
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+# instead of those above.
+
+$(eval $(call gb_Package_Package,sc_uiconfig,$(SRCDIR)/sc/uiconfig))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/menubar/menubar.xml,scalc/menubar/menubar.xml))
+
diff --git a/sc/Package_xml.mk b/sc/Package_xml.mk
new file mode 100644
index 0000000..a33ccbd
--- /dev/null
+++ b/sc/Package_xml.mk
@@ -0,0 +1,141 @@
+# Version: MPL 1.1 / GPLv3+ / LGPLv3+
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+# http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# The Initial Developer of the Original Code is
+# Norbert Thiebaud <nthiebaud at gmail.com> (C) 2010, All Rights Reserved.
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+# instead of those above.
+
+
+$(eval $(call gb_Package_Package,sc_xml,$(SRCDIR)/sc/xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/AccessibleEditableTextPara_HeaderFooter.xml,AccessibleEditableTextPara_HeaderFooter.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/AccessibleEditableTextPara_PreviewCell.xml,AccessibleEditableTextPara_PreviewCell.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/AccessibleEditableTextPara_PreviewNote.xml,AccessibleEditableTextPara_PreviewNote.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAccessibleCell.xml,ScAccessibleCell.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAccessibleCsvCell.xml,ScAccessibleCsvCell.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAccessibleCsvGrid.xml,ScAccessibleCsvGrid.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAccessibleCsvRuler.xml,ScAccessibleCsvRuler.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAccessibleDocument.xml,ScAccessibleDocument.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAccessibleDocumentPagePreview.xml,ScAccessibleDocumentPagePreview.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAccessiblePageHeader.xml,ScAccessiblePageHeader.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAccessiblePageHeaderArea.xml,ScAccessiblePageHeaderArea.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAccessiblePreviewCell.xml,ScAccessiblePreviewCell.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAccessiblePreviewHeaderCell.xml,ScAccessiblePreviewHeaderCell.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAccessiblePreviewTable.xml,ScAccessiblePreviewTable.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAccessibleSpreadsheet.xml,ScAccessibleSpreadsheet.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAnnotationObj.xml,ScAnnotationObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAnnotationShapeObj.xml,ScAnnotationShapeObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAnnotationsObj.xml,ScAnnotationsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAreaLinkObj.xml,ScAreaLinkObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAreaLinksObj.xml,ScAreaLinksObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAutoFormatFieldObj.xml,ScAutoFormatFieldObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAutoFormatObj.xml,ScAutoFormatObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAutoFormatsObj.xml,ScAutoFormatsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScCellCursorObj.xml,ScCellCursorObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScCellFieldObj.xml,ScCellFieldObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScCellFieldsObj.xml,ScCellFieldsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScCellFormatsEnumeration.xml,ScCellFormatsEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScCellFormatsObj.xml,ScCellFormatsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScCellObj.xml,ScCellObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScCellRangeObj.xml,ScCellRangeObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScCellRangesObj.xml,ScCellRangesObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScCellSearchObj.xml,ScCellSearchObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScCellTextCursor.xml,ScCellTextCursor.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScCellsEnumeration.xml,ScCellsEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScCellsObj.xml,ScCellsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScChartObj.xml,ScChartObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScChartsObj.xml,ScChartsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScConsolidationDescriptor.xml,ScConsolidationDescriptor.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDDELinkObj.xml,ScDDELinkObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDDELinksObj.xml,ScDDELinksObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDataPilotFieldGroupItemObj.xml,ScDataPilotFieldGroupItemObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDataPilotFieldGroupObj.xml,ScDataPilotFieldGroupObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDataPilotFieldGroupsObj.xml,ScDataPilotFieldGroupsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDataPilotFieldObj.xml,ScDataPilotFieldObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDataPilotFieldsObj.xml,ScDataPilotFieldsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDataPilotItemObj.xml,ScDataPilotItemObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDataPilotItemsObj.xml,ScDataPilotItemsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDataPilotTableObj.xml,ScDataPilotTableObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDataPilotTablesObj.xml,ScDataPilotTablesObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDatabaseRangeObj.xml,ScDatabaseRangeObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDatabaseRangesObj.xml,ScDatabaseRangesObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDocumentConfiguration.xml,ScDocumentConfiguration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDrawPageObj.xml,ScDrawPageObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDrawPagesObj.xml,ScDrawPagesObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScFilterDescriptorBase.xml,ScFilterDescriptorBase.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScFunctionListObj.xml,ScFunctionListObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScHeaderFieldObj.xml,ScHeaderFieldObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScHeaderFieldsObj.xml,ScHeaderFieldsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScHeaderFooterContentObj.xml,ScHeaderFooterContentObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScHeaderFooterTextCursor.xml,ScHeaderFooterTextCursor.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScHeaderFooterTextObj.xml,ScHeaderFooterTextObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_CellAnnotationsEnumeration.xml,ScIndexEnumeration_CellAnnotationsEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_CellAreaLinksEnumeration.xml,ScIndexEnumeration_CellAreaLinksEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_DDELinksEnumeration.xml,ScIndexEnumeration_DDELinksEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_DataPilotFieldsEnumeration.xml,ScIndexEnumeration_DataPilotFieldsEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_DataPilotItemsEnumeration.xml,ScIndexEnumeration_DataPilotItemsEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_DataPilotTablesEnumeration.xml,ScIndexEnumeration_DataPilotTablesEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_DatabaseRangesEnumeration.xml,ScIndexEnumeration_DatabaseRangesEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_FunctionDescriptionEnumeration.xml,ScIndexEnumeration_FunctionDescriptionEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_LabelRangesEnumeration.xml,ScIndexEnumeration_LabelRangesEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_NamedRangesEnumeration.xml,ScIndexEnumeration_NamedRangesEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_ScenariosEnumeration.xml,ScIndexEnumeration_ScenariosEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_SheetCellRangesEnumeration.xml,ScIndexEnumeration_SheetCellRangesEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_SheetLinksEnumeration.xml,ScIndexEnumeration_SheetLinksEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_SpreadsheetViewPanesEnumeration.xml,ScIndexEnumeration_SpreadsheetViewPanesEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_SpreadsheetsEnumeration.xml,ScIndexEnumeration_SpreadsheetsEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_SubTotalFieldsEnumeration.xml,ScIndexEnumeration_SubTotalFieldsEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_TableAutoFormatEnumeration.xml,ScIndexEnumeration_TableAutoFormatEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_TableChartsEnumeration.xml,ScIndexEnumeration_TableChartsEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_TableColumnsEnumeration.xml,ScIndexEnumeration_TableColumnsEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_TableConditionalEntryEnumeration.xml,ScIndexEnumeration_TableConditionalEntryEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_TableRowsEnumeration.xml,ScIndexEnumeration_TableRowsEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScIndexEnumeration_TextFieldEnumeration.xml,ScIndexEnumeration_TextFieldEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScLabelRangeObj.xml,ScLabelRangeObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScLabelRangesObj.xml,ScLabelRangesObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScModelObj.xml,ScModelObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScNamedRangeObj.xml,ScNamedRangeObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScNamedRangesObj.xml,ScNamedRangesObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScPageObj.xml,ScPageObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScRecentFunctionsObj.xml,ScRecentFunctionsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScScenariosObj.xml,ScScenariosObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScShapeObj.xml,ScShapeObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScSheetLinkObj.xml,ScSheetLinkObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScSheetLinksObj.xml,ScSheetLinksObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScSpreadsheetSettings.xml,ScSpreadsheetSettings.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScSpreadsheetSettingsObj.xml,ScSpreadsheetSettingsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScStyleFamiliesObj.xml,ScStyleFamiliesObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScStyleFamilyObj.xml,ScStyleFamilyObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScStyleObj.xml,ScStyleObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScSubTotalDescriptorBase.xml,ScSubTotalDescriptorBase.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScSubTotalFieldObj.xml,ScSubTotalFieldObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScTabViewObj.xml,ScTabViewObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScTableColumnObj.xml,ScTableColumnObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScTableColumnsObj.xml,ScTableColumnsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScTableConditionalEntry.xml,ScTableConditionalEntry.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScTableConditionalFormat.xml,ScTableConditionalFormat.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScTableRowObj.xml,ScTableRowObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScTableRowsObj.xml,ScTableRowsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScTableSheetObj.xml,ScTableSheetObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScTableSheetsObj.xml,ScTableSheetsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScTableValidationObj.xml,ScTableValidationObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScUniqueCellFormatsEnumeration.xml,ScUniqueCellFormatsEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScUniqueCellFormatsObj.xml,ScUniqueCellFormatsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScViewPaneObj.xml,ScViewPaneObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScXMLExport.xml,ScXMLExport.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScXMLImport.xml,ScXMLImport.xml))
+
+
diff --git a/sc/source/core/tool/interpr5.cxx b/sc/source/core/tool/interpr5.cxx
index 0ca178f..99e65cf 100644
--- a/sc/source/core/tool/interpr5.cxx
+++ b/sc/source/core/tool/interpr5.cxx
@@ -52,8 +52,9 @@
#include "scmatrix.hxx"
#include "globstr.hrc"
#include "cellkeytranslator.hxx"
+#ifndef SC_INFO_OSVERSION
#include "osversiondef.hxx"
-
+#endif
#include <string.h>
#include <math.h>
#include <vector>
More information about the Libreoffice-commits
mailing list