[Libreoffice-commits] core.git: Branch 'aoo/trunk' - Module_ooo.mk postprocess/packcomponents RepositoryFixes.mk Repository.mk sc/AllLangResTarget_sc.mk sc/GoogleTest_sc.mk sc/inc sc/JunitTest_sc_complex_cellRanges.mk sc/JunitTest_sc_complex.mk sc/Library_scd.mk sc/Library_scfilt.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/prj sc/qa sc/sdi sc/source sc/test sc/util solenv/gbuild

Damjan Jovanovic damjan at apache.org
Sun Jan 15 06:10:01 UTC 2017


 Module_ooo.mk                                |    1 
 Repository.mk                                |    5 
 RepositoryFixes.mk                           |    4 
 postprocess/packcomponents/makefile.mk       |    6 
 sc/AllLangResTarget_sc.mk                    |  107 ++++
 sc/GoogleTest_sc.mk                          |   43 +
 sc/JunitTest_sc_complex.mk                   |   42 +
 sc/JunitTest_sc_complex_cellRanges.mk        |   41 +
 sc/Library_sc.mk                             |  634 +++++++++++++++++++++++++++
 sc/Library_scd.mk                            |   68 ++
 sc/Library_scfilt.mk                         |  180 +++++++
 sc/Library_scui.mk                           |  126 +++++
 sc/Library_vbaobj.mk                         |  130 +++++
 sc/Makefile                                  |   32 +
 sc/Module_sc.mk                              |   51 ++
 sc/Package_uiconfig.mk                       |   59 ++
 sc/Package_xml.mk                            |  142 ++++++
 sc/inc/makefile.mk                           |   44 -
 sc/inc/pch/precompiled_scd.cxx               |   24 +
 sc/inc/pch/precompiled_scd.hxx               |  241 ++++++++++
 sc/inc/pch/precompiled_scfilt.cxx            |   24 +
 sc/inc/pch/precompiled_scfilt.hxx            |  241 ++++++++++
 sc/inc/pch/precompiled_scui.cxx              |   24 +
 sc/inc/pch/precompiled_scui.hxx              |  241 ++++++++++
 sc/prj/build.lst                             |   58 --
 sc/prj/d.lst                                 |   37 -
 sc/prj/makefile.mk                           |   44 +
 sc/qa/complex/cellRanges/makefile.mk         |   47 --
 sc/qa/complex/sc/makefile.mk                 |   47 --
 sc/sdi/makefile.mk                           |   71 ---
 sc/source/core/data/makefile.mk              |  178 -------
 sc/source/core/src/makefile.mk               |   44 -
 sc/source/core/tool/interpr5.cxx             |    1 
 sc/source/core/tool/makefile.mk              |  163 ------
 sc/source/filter/dif/difexp.cxx              |    2 
 sc/source/filter/dif/difimp.cxx              |    2 
 sc/source/filter/dif/makefile.mk             |   53 --
 sc/source/filter/excel/colrowst.cxx          |    2 
 sc/source/filter/excel/excdoc.cxx            |    2 
 sc/source/filter/excel/excel.cxx             |    2 
 sc/source/filter/excel/excform.cxx           |    2 
 sc/source/filter/excel/excform8.cxx          |    2 
 sc/source/filter/excel/excimp8.cxx           |    2 
 sc/source/filter/excel/excrecds.cxx          |    2 
 sc/source/filter/excel/exctools.cxx          |    2 
 sc/source/filter/excel/expop2.cxx            |    2 
 sc/source/filter/excel/fontbuff.cxx          |    2 
 sc/source/filter/excel/frmbase.cxx           |    2 
 sc/source/filter/excel/impop.cxx             |    2 
 sc/source/filter/excel/makefile.mk           |  158 ------
 sc/source/filter/excel/namebuff.cxx          |    2 
 sc/source/filter/excel/read.cxx              |    2 
 sc/source/filter/excel/tokstack.cxx          |    2 
 sc/source/filter/excel/xechart.cxx           |    2 
 sc/source/filter/excel/xecontent.cxx         |    2 
 sc/source/filter/excel/xeescher.cxx          |    2 
 sc/source/filter/excel/xeformula.cxx         |    2 
 sc/source/filter/excel/xehelper.cxx          |    2 
 sc/source/filter/excel/xelink.cxx            |    2 
 sc/source/filter/excel/xename.cxx            |    2 
 sc/source/filter/excel/xepage.cxx            |    2 
 sc/source/filter/excel/xepivot.cxx           |    2 
 sc/source/filter/excel/xerecord.cxx          |    2 
 sc/source/filter/excel/xeroot.cxx            |    2 
 sc/source/filter/excel/xestream.cxx          |    2 
 sc/source/filter/excel/xestring.cxx          |    2 
 sc/source/filter/excel/xestyle.cxx           |    2 
 sc/source/filter/excel/xetable.cxx           |    2 
 sc/source/filter/excel/xeview.cxx            |    2 
 sc/source/filter/excel/xichart.cxx           |    2 
 sc/source/filter/excel/xicontent.cxx         |    2 
 sc/source/filter/excel/xiformula.cxx         |    2 
 sc/source/filter/excel/xihelper.cxx          |    2 
 sc/source/filter/excel/xilink.cxx            |    2 
 sc/source/filter/excel/xiname.cxx            |    2 
 sc/source/filter/excel/xipage.cxx            |    2 
 sc/source/filter/excel/xipivot.cxx           |    2 
 sc/source/filter/excel/xiroot.cxx            |    2 
 sc/source/filter/excel/xistream.cxx          |    2 
 sc/source/filter/excel/xistring.cxx          |    2 
 sc/source/filter/excel/xistyle.cxx           |    2 
 sc/source/filter/excel/xiview.cxx            |    2 
 sc/source/filter/excel/xladdress.cxx         |    2 
 sc/source/filter/excel/xlchart.cxx           |    2 
 sc/source/filter/excel/xlescher.cxx          |    2 
 sc/source/filter/excel/xlformula.cxx         |    2 
 sc/source/filter/excel/xlpage.cxx            |    2 
 sc/source/filter/excel/xlpivot.cxx           |    2 
 sc/source/filter/excel/xlroot.cxx            |    2 
 sc/source/filter/excel/xlstyle.cxx           |    2 
 sc/source/filter/excel/xltools.cxx           |    2 
 sc/source/filter/excel/xltracer.cxx          |    2 
 sc/source/filter/excel/xlview.cxx            |    2 
 sc/source/filter/ftools/fapihelper.cxx       |    2 
 sc/source/filter/ftools/fprogressbar.cxx     |    2 
 sc/source/filter/ftools/ftools.cxx           |    4 
 sc/source/filter/ftools/makefile.mk          |   57 --
 sc/source/filter/html/htmlexp.cxx            |    2 
 sc/source/filter/html/htmlexp2.cxx           |    2 
 sc/source/filter/html/htmlimp.cxx            |    2 
 sc/source/filter/html/htmlpars.cxx           |    2 
 sc/source/filter/html/makefile.mk            |   59 --
 sc/source/filter/lotus/expop.cxx             |    2 
 sc/source/filter/lotus/export.cxx            |    2 
 sc/source/filter/lotus/filter.cxx            |    2 
 sc/source/filter/lotus/lotattr.cxx           |    2 
 sc/source/filter/lotus/lotform.cxx           |    2 
 sc/source/filter/lotus/lotimpop.cxx          |    2 
 sc/source/filter/lotus/lotread.cxx           |    2 
 sc/source/filter/lotus/lotus.cxx             |    2 
 sc/source/filter/lotus/makefile.mk           |   66 --
 sc/source/filter/lotus/memory.cxx            |    2 
 sc/source/filter/lotus/op.cxx                |    2 
 sc/source/filter/lotus/optab.cxx             |    2 
 sc/source/filter/lotus/tool.cxx              |    2 
 sc/source/filter/qpro/biff.cxx               |    2 
 sc/source/filter/qpro/makefile.mk            |   55 --
 sc/source/filter/qpro/qpro.cxx               |    2 
 sc/source/filter/qpro/qproform.cxx           |    2 
 sc/source/filter/qpro/qprostyle.cxx          |    2 
 sc/source/filter/rtf/eeimpars.cxx            |    2 
 sc/source/filter/rtf/expbase.cxx             |    2 
 sc/source/filter/rtf/makefile.mk             |   56 --
 sc/source/filter/rtf/rtfexp.cxx              |    2 
 sc/source/filter/rtf/rtfimp.cxx              |    2 
 sc/source/filter/rtf/rtfparse.cxx            |    2 
 sc/source/filter/starcalc/makefile.mk        |   53 --
 sc/source/filter/starcalc/scflt.cxx          |    2 
 sc/source/filter/starcalc/scfobj.cxx         |    2 
 sc/source/filter/xcl97/XclExpChangeTrack.cxx |    2 
 sc/source/filter/xcl97/XclImpChangeTrack.cxx |    2 
 sc/source/filter/xcl97/makefile.mk           |   59 --
 sc/source/filter/xcl97/xcl97esc.cxx          |    2 
 sc/source/filter/xcl97/xcl97rec.cxx          |    2 
 sc/source/filter/xml/makefile.mk             |  106 ----
 sc/source/ui/Accessibility/makefile.mk       |   91 ---
 sc/source/ui/app/makefile.mk                 |   69 --
 sc/source/ui/attrdlg/attrdlg.cxx             |    2 
 sc/source/ui/attrdlg/makefile.mk             |   59 --
 sc/source/ui/attrdlg/scdlgfact.cxx           |    2 
 sc/source/ui/attrdlg/scuiexp.cxx             |    2 
 sc/source/ui/attrdlg/tabpages.cxx            |    2 
 sc/source/ui/cctrl/editfield.cxx             |    2 
 sc/source/ui/cctrl/makefile.mk               |   68 --
 sc/source/ui/dbgui/dapidata.cxx              |    2 
 sc/source/ui/dbgui/dapitype.cxx              |    2 
 sc/source/ui/dbgui/dpgroupdlg.cxx            |    2 
 sc/source/ui/dbgui/makefile.mk               |  119 -----
 sc/source/ui/dbgui/pfiltdlg.cxx              |    2 
 sc/source/ui/dbgui/pvfundlg.cxx              |    2 
 sc/source/ui/dbgui/scendlg.cxx               |    2 
 sc/source/ui/dbgui/scuiasciiopt.cxx          |    2 
 sc/source/ui/dbgui/scuiimoptdlg.cxx          |    2 
 sc/source/ui/dbgui/sortdlg.cxx               |    2 
 sc/source/ui/dbgui/subtdlg.cxx               |    2 
 sc/source/ui/dbgui/textimportoptions.cxx     |    2 
 sc/source/ui/dbgui/tpsort.cxx                |    2 
 sc/source/ui/dbgui/tpsubt.cxx                |    2 
 sc/source/ui/dbgui/validate.cxx              |    2 
 sc/source/ui/docshell/makefile.mk            |  137 -----
 sc/source/ui/docshell/tpstat.cxx             |    2 
 sc/source/ui/drawfunc/makefile.mk            |   86 ---
 sc/source/ui/formdlg/makefile.mk             |   52 --
 sc/source/ui/miscdlgs/delcldlg.cxx           |    2 
 sc/source/ui/miscdlgs/delcodlg.cxx           |    2 
 sc/source/ui/miscdlgs/filldlg.cxx            |    2 
 sc/source/ui/miscdlgs/groupdlg.cxx           |    2 
 sc/source/ui/miscdlgs/inscldlg.cxx           |    2 
 sc/source/ui/miscdlgs/inscodlg.cxx           |    2 
 sc/source/ui/miscdlgs/instbdlg.cxx           |    2 
 sc/source/ui/miscdlgs/lbseldlg.cxx           |    2 
 sc/source/ui/miscdlgs/linkarea.cxx           |    2 
 sc/source/ui/miscdlgs/makefile.mk            |  125 -----
 sc/source/ui/miscdlgs/mtrindlg.cxx           |    2 
 sc/source/ui/miscdlgs/mvtabdlg.cxx           |    2 
 sc/source/ui/miscdlgs/namecrea.cxx           |    2 
 sc/source/ui/miscdlgs/namepast.cxx           |    2 
 sc/source/ui/miscdlgs/scuiautofmt.cxx        |    2 
 sc/source/ui/miscdlgs/shtabdlg.cxx           |    2 
 sc/source/ui/miscdlgs/strindlg.cxx           |    2 
 sc/source/ui/miscdlgs/tabbgcolordlg.cxx      |    2 
 sc/source/ui/miscdlgs/textdlgs.cxx           |    2 
 sc/source/ui/namedlg/makefile.mk             |   48 --
 sc/source/ui/navipi/makefile.mk              |   54 --
 sc/source/ui/optdlg/makefile.mk              |   56 --
 sc/source/ui/optdlg/opredlin.cxx             |    2 
 sc/source/ui/optdlg/tpcalc.cxx               |    2 
 sc/source/ui/optdlg/tpprint.cxx              |    2 
 sc/source/ui/optdlg/tpusrlst.cxx             |    2 
 sc/source/ui/optdlg/tpview.cxx               |    2 
 sc/source/ui/pagedlg/hfedtdlg.cxx            |    2 
 sc/source/ui/pagedlg/makefile.mk             |   70 --
 sc/source/ui/pagedlg/scuitphfedit.cxx        |    2 
 sc/source/ui/pagedlg/tphf.cxx                |    2 
 sc/source/ui/pagedlg/tptable.cxx             |    2 
 sc/source/ui/sidebar/makefile.mk             |   56 --
 sc/source/ui/src/makefile.mk                 |   73 ---
 sc/source/ui/styleui/makefile.mk             |   54 --
 sc/source/ui/styleui/styledlg.cxx            |    2 
 sc/source/ui/undo/makefile.mk                |   82 ---
 sc/source/ui/unoobj/detreg.cxx               |    2 
 sc/source/ui/unoobj/makefile.mk              |  116 ----
 sc/source/ui/unoobj/scdetect.cxx             |    2 
 sc/source/ui/vba/makefile.mk                 |  104 ----
 sc/source/ui/vba/testvba/makefile.mk         |   60 --
 sc/source/ui/view/makefile.mk                |  168 -------
 sc/test/makefile.mk                          |   68 --
 sc/util/makefile.mk                          |  351 --------------
 sc/util/makefile.pmk                         |   28 -
 sc/util/scfilt.map                           |   26 -
 sc/util/scui.map                             |   26 -
 solenv/gbuild/AllLangResTarget.mk            |   24 -
 212 files changed, 2668 insertions(+), 3808 deletions(-)

New commits:
commit 688ff6910e211b4af93d67a63ab8f4d2331efca7
Author: Damjan Jovanovic <damjan at apache.org>
Date:   Sun Jan 15 05:42:59 2017 +0000

    Port main/sc to gbuild.
    
    Also add the ability to add extra image directories to resources,
    which is needed by main/sc.
    
    Patch by: me

diff --git a/Module_ooo.mk b/Module_ooo.mk
index 32419a1..dce43be 100644
--- a/Module_ooo.mk
+++ b/Module_ooo.mk
@@ -62,6 +62,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
     reportdesign \
     remotebridges \
     sax \
+    sc \
     sccomp \
     sd \
     sfx2 \
diff --git a/Repository.mk b/Repository.mk
index fd256ba..c324272 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -105,6 +105,10 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
     rptxml \
     sax \
     sb \
+    sc \
+    scd \
+    scfilt \
+    scui \
     sdbc \
     sdbt \
     sfx \
@@ -218,6 +222,7 @@ $(eval $(call gb_Helper_register_libraries,UNOLIBS_OOO, \
     ucpgvfs1 \
     ucptdoc1 \
     uuresolver \
+    vbaobj \
     writerfilter_debug \
 ))
 
diff --git a/RepositoryFixes.mk b/RepositoryFixes.mk
index a59ab76..70195f3 100644
--- a/RepositoryFixes.mk
+++ b/RepositoryFixes.mk
@@ -172,6 +172,10 @@ gb_Library_DLLFILENAMES := $(patsubst z:z%,z:zlib%,$(gb_Library_DLLFILENAMES))
 
 endif # ifneq ($(USE_MINGW),)
 
+else  # ifeq ($(OS),WNT)
+
+gb_Library_FILENAMES := $(patsubst vbaobj:vbaobj.uno%,vbaobj:libvbaobj.uno%,$(gb_Library_FILENAMES))
+
 endif # ifeq ($(OS),WNT)
 
 ifeq ($(OS),OS2)
diff --git a/postprocess/packcomponents/makefile.mk b/postprocess/packcomponents/makefile.mk
index a444660..7f8c36d 100644
--- a/postprocess/packcomponents/makefile.mk
+++ b/postprocess/packcomponents/makefile.mk
@@ -99,6 +99,9 @@ my_components = \
     component/remotebridges/source/unourl_resolver/uuresolver \
     component/sax/source/expatwrap/expwrap \
     component/sax/source/fastparser/fastsax \
+    component/sc/util/sc \
+    component/sc/util/scd \
+    component/sc/util/vbaobj \
     component/sd/util/sd \
     component/sd/util/sdd \
     component/sfx2/util/sfx \
@@ -173,8 +176,6 @@ my_components = \
     pythonscript \
     res \
     sb \
-    sc \
-    scd \
     scn \
     scriptframe \
     sdbc2 \
@@ -188,7 +189,6 @@ my_components = \
     updatefeed \
     updchk \
     vbaevents \
-    vbaobj \
     xmlfa \
     xmlfd \
     xmx \
diff --git a/sc/AllLangResTarget_sc.mk b/sc/AllLangResTarget_sc.mk
new file mode 100644
index 0000000..333a1d9
--- /dev/null
+++ b/sc/AllLangResTarget_sc.mk
@@ -0,0 +1,107 @@
+#**************************************************************
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+#**************************************************************
+
+
+
+$(eval $(call gb_AllLangResTarget_AllLangResTarget,sc))
+
+$(eval $(call gb_AllLangResTarget_set_imagelocations,sc,\
+	sc/res/imglst/apptbx \
+	sc/res/imglst/dbgui \
+	sc/res/imglst/navipi \
+))
+
+$(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$(SRCDIR)/sc/inc \
+	-I$(SRCDIR)/sc/source/ui/inc \
+))
+
+# add src files here (complete path relative to repository root)
+$(eval $(call gb_SrsTarget_add_files,sc/res,\
+	sc/source/ui/miscdlgs/instbdlg.src \
+	sc/source/ui/miscdlgs/acredlin.src \
+	sc/source/ui/miscdlgs/highred.src \
+	sc/source/ui/miscdlgs/linkarea.src \
+	sc/source/ui/miscdlgs/conflictsdlg.src \
+	sc/source/ui/miscdlgs/sharedocdlg.src \
+	sc/source/ui/miscdlgs/protectiondlg.src \
+	sc/source/ui/miscdlgs/retypepassdlg.src \
+	sc/source/ui/docshell/tpstat.src \
+	sc/source/ui/src/sc.src \
+	sc/source/ui/src/pseudo.src \
+	sc/source/ui/src/popup.src \
+	sc/source/ui/src/toolbox.src \
+	sc/source/ui/src/scstring.src \
+	sc/source/ui/src/attrdlg.src \
+	sc/source/ui/src/sortdlg.src \
+	sc/source/ui/src/filter.src \
+	sc/source/ui/src/namedlg.src \
+	sc/source/ui/src/dbnamdlg.src \
+	sc/source/ui/src/subtdlg.src \
+	sc/source/ui/src/miscdlgs.src \
+	sc/source/ui/src/autofmt.src \
+	sc/source/ui/src/solvrdlg.src \
+	sc/source/ui/src/optsolver.src \
+	sc/source/ui/src/solveroptions.src \
+	sc/source/ui/src/tabopdlg.src \
+	sc/source/ui/src/hdrcont.src \
+	sc/source/ui/src/globstr.src \
+	sc/source/ui/src/optdlg.src \
+	sc/source/ui/src/scerrors.src \
+	sc/source/ui/src/textdlgs.src \
+	sc/source/ui/src/scfuncs.src \
+	sc/source/ui/src/crnrdlg.src \
+	sc/source/ui/src/condfrmt.src \
+	sc/source/ui/src/opredlin.src \
+	sc/source/ui/src/simpref.src \
+	sc/source/ui/dbgui/textimportoptions.src \
+	sc/source/ui/dbgui/pivot.src \
+	sc/source/ui/dbgui/pvfundlg.src \
+	sc/source/ui/dbgui/dpgroupdlg.src \
+	sc/source/ui/dbgui/dapitype.src \
+	sc/source/ui/dbgui/consdlg.src \
+	sc/source/ui/dbgui/scendlg.src \
+	sc/source/ui/dbgui/imoptdlg.src \
+	sc/source/ui/dbgui/validate.src \
+	sc/source/ui/dbgui/asciiopt.src \
+	sc/source/ui/dbgui/outline.src \
+	sc/source/ui/drawfunc/objdraw.src \
+	sc/source/ui/drawfunc/drformsh.src \
+	sc/source/ui/sidebar/AlignmentPropertyPanel.src \
+	sc/source/ui/sidebar/CellAppearancePropertyPanel.src \
+	sc/source/ui/sidebar/NumberFormatPropertyPanel.src \
+	sc/source/core/src/compiler.src \
+	sc/source/ui/styleui/scstyles.src \
+	sc/source/ui/styleui/styledlg.src \
+	sc/source/ui/formdlg/dwfunctr.src \
+	sc/source/ui/pagedlg/pagedlg.src \
+	sc/source/ui/pagedlg/hfedtdlg.src \
+	sc/source/ui/pagedlg/tphf.src \
+	sc/source/ui/navipi/navipi.src \
+	sc/source/ui/cctrl/dpcontrol.src \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/sc/util/scui.map b/sc/GoogleTest_sc.mk
similarity index 67%
rename from sc/util/scui.map
rename to sc/GoogleTest_sc.mk
index 04a8ee5..7ce603d 100644
--- a/sc/util/scui.map
+++ b/sc/GoogleTest_sc.mk
@@ -1,5 +1,5 @@
 ###############################################################
-#
+#  
 #  Licensed to the Apache Software Foundation (ASF) under one
 #  or more contributor license agreements.  See the NOTICE file
 #  distributed with this work for additional information
@@ -7,20 +7,37 @@
 #  to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
-#
+#  
 #  Unless required by applicable law or agreed to in writing,
 #  software distributed under the License is distributed on an
 #  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 #  KIND, either express or implied.  See the License for the
 #  specific language governing permissions and limitations
 #  under the License.
-#
+#  
 ###############################################################
-UDK_3_0_0 {
-    global:
-    CreateDialogFactory;
-    local:
-        *;
-};
+
+
+$(eval $(call gb_GoogleTest_GoogleTest,sc_stringutil))
+
+$(eval $(call gb_GoogleTest_add_exception_objects,sc_stringutil, \
+	sc/test/main \
+	sc/test/stringutiltests \
+))
+
+$(eval $(call gb_GoogleTest_set_include,sc_stringutil,\
+        $$(INCLUDE) \
+	-I$(SRCDIR)/sc/inc \
+	-I$(SRCDIR)/sc/inc/pch \
+))
+
+$(eval $(call gb_GoogleTest_add_linked_libs,sc_stringutil, \
+	sal \
+	sc \
+	stl \
+	$(gb_STDLIBS) \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/sc/qa/complex/sc/makefile.mk b/sc/JunitTest_sc_complex.mk
similarity index 68%
rename from sc/qa/complex/sc/makefile.mk
rename to sc/JunitTest_sc_complex.mk
index 8c44064..f946a3a 100644
--- a/sc/qa/complex/sc/makefile.mk
+++ b/sc/JunitTest_sc_complex.mk
@@ -21,27 +21,22 @@
 
 
 
-.IF "$(OOO_SUBSEQUENT_TESTS)" == ""
-nothing .PHONY:
-.ELSE
+$(eval $(call gb_JunitTest_JunitTest,sc_complex,SRCDIR))
 
-PRJ = ../../..
-PRJNAME = sc
-TARGET = qa_complex_sc
+$(eval $(call gb_JunitTest_add_jars,sc_complex,\
+	$(OUTDIR)/bin/OOoRunner.jar \
+	$(OUTDIR)/bin/ridl.jar \
+	$(OUTDIR)/bin/test.jar \
+	$(OUTDIR)/bin/unoil.jar \
+	$(OUTDIR)/bin/jurt.jar \
+))
 
-.IF "$(OOO_JUNIT_JAR)" != ""
-PACKAGE = complex/sc
-JAVATESTFILES = \
-    CalcRTL.java
-JAVAFILES = $(JAVATESTFILES)
-JARFILES = OOoRunner.jar ridl.jar test.jar unoil.jar jurt.jar
-EXTRAJARFILES = $(OOO_JUNIT_JAR)
-.END
+$(eval $(call gb_JunitTest_add_sourcefiles,sc_complex,\
+	sc/qa/complex/sc/CalcCRTL \
+))
 
-.INCLUDE: settings.mk
-.INCLUDE: target.mk
-.INCLUDE: installationtest.mk
+$(eval $(call gb_JunitTest_add_classes,sc_complex,\
+	complex.sc.CalcRTL \
+))
 
-ALLTAR : javatest
-
-.END
+# vim: set noet sw=4 ts=4:
diff --git a/sc/qa/complex/cellRanges/makefile.mk b/sc/JunitTest_sc_complex_cellRanges.mk
similarity index 65%
rename from sc/qa/complex/cellRanges/makefile.mk
rename to sc/JunitTest_sc_complex_cellRanges.mk
index 697c3eb..7d4b3af 100644
--- a/sc/qa/complex/cellRanges/makefile.mk
+++ b/sc/JunitTest_sc_complex_cellRanges.mk
@@ -21,27 +21,21 @@
 
 
 
-.IF "$(OOO_SUBSEQUENT_TESTS)" == ""
-nothing .PHONY:
-.ELSE
+$(eval $(call gb_JunitTest_JunitTest,sc_complex_cellRanges,SRCDIR))
 
-PRJ = ../../..
-PRJNAME = sc
-TARGET = qa_complex_cellRanges
+$(eval $(call gb_JunitTest_add_jars,sc_complex_cellRanges,\
+	$(OUTDIR)/bin/OOoRunner.jar \
+	$(OUTDIR)/bin/ridl.jar \
+	$(OUTDIR)/bin/test.jar \
+	$(OUTDIR)/bin/unoil.jar \
+))
 
-.IF "$(OOO_JUNIT_JAR)" != ""
-PACKAGE = complex/cellRanges
-JAVATESTFILES = \
-    CheckXCellRangesQuery.java
-JAVAFILES = $(JAVATESTFILES)
-JARFILES = OOoRunner.jar ridl.jar test.jar unoil.jar
-EXTRAJARFILES = $(OOO_JUNIT_JAR)
-.END
+$(eval $(call gb_JunitTest_add_sourcefiles,sc_complex_cellRanges,\
+	sc/qa/complex/cellRanges/CheckXCellRangesQuery \
+))
 
-.INCLUDE: settings.mk
-.INCLUDE: target.mk
-.INCLUDE: installationtest.mk
+$(eval $(call gb_JunitTest_add_classes,sc_complex_cellRanges,\
+	complex.cellRanges.CheckXCellRangesQuery \
+))
 
-ALLTAR : javatest
-
-.END
+# vim: set noet sw=4 ts=4:
diff --git a/sc/Library_sc.mk b/sc/Library_sc.mk
new file mode 100644
index 0000000..90f784d
--- /dev/null
+++ b/sc/Library_sc.mk
@@ -0,0 +1,634 @@
+#**************************************************************
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+#**************************************************************
+
+
+
+$(eval $(call gb_Library_Library,sc))
+
+$(eval $(call gb_Library_add_precompiled_header,sc,$(SRCDIR)/sc/inc/pch/precompiled_sc))
+
+$(eval $(call gb_Library_add_sdi_headers,sc,sc/sdi/scslots))
+
+$(eval $(call gb_Library_set_componentfile,sc,sc/util/sc))
+
+$(eval $(call gb_Library_set_include,sc,\
+        $$(INCLUDE) \
+	-I$(SRCDIR)/sc/inc \
+	-I$(SRCDIR)/sc/inc/pch \
+	-I$(SRCDIR)/sc/source/ui/inc \
+	-I$(SRCDIR)/sc/source/core/inc \
+	-I$(SRCDIR)/sc/source/filter/inc \
+	-I$(WORKDIR)/SdiTarget/sc/sdi \
+))
+
+$(eval $(call gb_Library_add_defs,sc,\
+	-DSC_DLLIMPLEMENTATION \
+	-DSC_INFO_OSVERSION="\"$(OS)\"" \
+))
+
+$(eval $(call gb_Library_add_api,sc,\
+	offapi \
+	udkapi \
+))
+
+$(eval $(call gb_Library_add_linked_libs,sc,\
+	avmedia \
+	basegfx \
+	comphelper \
+	cppuhelper \
+	cppu \
+	drawinglayer \
+	editeng \
+	for \
+	forui \
+	i18nisolang1 \
+	ootk \
+	sal \
+	sb \
+	sfx \
+	sot \
+	stl \
+	svl \
+	svt \
+	svx \
+	svxcore \
+	tl \
+	ucbhelper \
+	utl \
+	vbahelper \
+	vcl \
+	vos3 \
+	xo \
+	$(gb_STDLIBS) \
+))
+
+# FIXME:
+#	icudt \
+#	icuin \
+
+$(call gb_Library_use_externals,sc,\
+	icule \
+	icuuc \
+)
+
+$(eval $(call gb_Library_add_exception_objects,sc,\
+	sc/source/ui/app/scmod \
+	sc/source/ui/app/scmod2 \
+	sc/source/ui/app/scdll \
+	sc/source/ui/app/typemap \
+	sc/source/ui/app/transobj \
+	sc/source/ui/app/drwtrans \
+	sc/source/ui/app/lnktrans \
+	sc/source/ui/app/seltrans \
+	sc/source/ui/app/inputhdl \
+	sc/source/ui/app/inputwin \
+	sc/source/ui/app/rfindlst \
+	sc/source/ui/app/uiitems \
+	sc/source/ui/app/msgpool \
+	sc/source/ui/app/client \
+	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/externalrefmgr \
+	sc/source/ui/docshell/tablink \
+	sc/source/ui/docshell/arealink \
+	sc/source/ui/docshell/dbdocfun \
+	sc/source/ui/docshell/dbdocimp \
+	sc/source/ui/docshell/impex \
+	sc/source/ui/docshell/docfunc \
+	sc/source/ui/docshell/olinefun \
+	sc/source/ui/docshell/servobj \
+	sc/source/ui/docshell/autostyl \
+	sc/source/ui/docshell/pagedata \
+	sc/source/ui/docshell/hiranges \
+	sc/source/ui/docshell/pntlock \
+	sc/source/ui/docshell/sizedev \
+	sc/source/ui/docshell/editable \
+	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/viewfunc \
+	sc/source/ui/view/viewfun3 \
+	sc/source/ui/view/viewfun5 \
+	sc/source/ui/view/viewfun6 \
+	sc/source/ui/view/viewfun7 \
+	sc/source/ui/view/dbfunc \
+	sc/source/ui/view/dbfunc3 \
+	sc/source/ui/view/dbfunc4 \
+	sc/source/ui/view/tabvwsh \
+	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/printfun \
+	sc/source/ui/view/pfuncache \
+	sc/source/ui/view/preview \
+	sc/source/ui/view/prevwsh \
+	sc/source/ui/view/prevwsh2 \
+	sc/source/ui/view/prevloc \
+	sc/source/ui/view/editsh \
+	sc/source/ui/view/pivotsh \
+	sc/source/ui/view/auditsh \
+	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/drawvie2 \
+	sc/source/ui/view/drawvie3 \
+	sc/source/ui/view/drawvie4 \
+	sc/source/ui/view/drawutil \
+	sc/source/ui/view/output \
+	sc/source/ui/view/output2 \
+	sc/source/ui/view/output3 \
+	sc/source/ui/view/gridmerg \
+	sc/source/ui/view/invmerge \
+	sc/source/ui/view/select \
+	sc/source/ui/view/olinewin \
+	sc/source/ui/view/hintwin \
+	sc/source/ui/view/notemark \
+	sc/source/ui/view/tabcont \
+	sc/source/ui/view/tabsplit \
+	sc/source/ui/view/viewutil \
+	sc/source/ui/view/hdrcont \
+	sc/source/ui/view/colrowba \
+	sc/source/ui/view/olkact \
+	sc/source/ui/view/imapwrap \
+	sc/source/ui/view/reffact \
+	sc/source/ui/view/selectionstate \
+	sc/source/ui/view/spelleng \
+	sc/source/ui/view/spelldialog \
+	sc/source/ui/view/waitoff \
+	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/formatsh \
+	sc/source/ui/view/pgbrksh \
+	sc/source/ui/view/viewdata \
+	sc/source/ui/view/scextopt \
+	sc/source/ui/undo/target \
+	sc/source/ui/undo/refundo \
+	sc/source/ui/undo/areasave \
+	sc/source/ui/undo/undobase \
+	sc/source/ui/undo/undoutil \
+	sc/source/ui/undo/undocell \
+	sc/source/ui/undo/undostyl \
+	sc/source/ui/undo/undoolk \
+	sc/source/ui/undo/undoblk \
+	sc/source/ui/undo/undoblk2 \
+	sc/source/ui/undo/undoblk3 \
+	sc/source/ui/undo/undodat \
+	sc/source/ui/undo/undodraw \
+	sc/source/ui/undo/undotab \
+	sc/source/ui/attrdlg/condfrmt \
+	sc/source/ui/attrdlg/scabstdlg \
+	sc/source/ui/namedlg/namedlg \
+	sc/source/ui/miscdlgs/autofmt \
+	sc/source/ui/miscdlgs/solvrdlg \
+	sc/source/ui/miscdlgs/optsolver \
+	sc/source/ui/miscdlgs/solveroptions \
+	sc/source/ui/miscdlgs/solverutil \
+	sc/source/ui/miscdlgs/tabopdlg \
+	sc/source/ui/miscdlgs/anyrefdg \
+	sc/source/ui/miscdlgs/crnrdlg \
+	sc/source/ui/miscdlgs/acredlin \
+	sc/source/ui/miscdlgs/highred \
+	sc/source/ui/miscdlgs/simpref \
+	sc/source/ui/miscdlgs/redcom \
+	sc/source/ui/miscdlgs/warnbox \
+	sc/source/ui/miscdlgs/conflictsdlg \
+	sc/source/ui/miscdlgs/sharedocdlg \
+	sc/source/ui/miscdlgs/protectiondlg \
+	sc/source/ui/miscdlgs/retypepassdlg \
+	sc/source/ui/formdlg/formula \
+	sc/source/ui/formdlg/formdata \
+	sc/source/ui/formdlg/privsplt \
+	sc/source/ui/formdlg/dwfunctr \
+	sc/source/ui/cctrl/popmenu \
+	sc/source/ui/cctrl/tbinsert \
+	sc/source/ui/cctrl/cbuttonw \
+	sc/source/ui/cctrl/dpcontrol \
+	sc/source/ui/cctrl/tbzoomsliderctrl \
+	sc/source/ui/dbgui/filtdlg \
+	sc/source/ui/dbgui/sfiltdlg \
+	sc/source/ui/dbgui/foptmgr \
+	sc/source/ui/dbgui/dbnamdlg \
+	sc/source/ui/dbgui/expftext \
+	sc/source/ui/dbgui/fieldwnd \
+	sc/source/ui/dbgui/pvlaydlg \
+	sc/source/ui/dbgui/consdlg \
+	sc/source/ui/dbgui/imoptdlg \
+	sc/source/ui/dbgui/csvsplits \
+	sc/source/ui/dbgui/csvcontrol \
+	sc/source/ui/dbgui/csvruler \
+	sc/source/ui/dbgui/csvgrid \
+	sc/source/ui/dbgui/csvtablebox \
+	sc/source/ui/dbgui/asciiopt \
+	sc/source/ui/pagedlg/areasdlg \
+	sc/source/ui/pagedlg/tphfedit \
+	sc/source/ui/drawfunc/fupoor \
+	sc/source/ui/drawfunc/fumark \
+	sc/source/ui/drawfunc/fudraw \
+	sc/source/ui/drawfunc/fusel2 \
+	sc/source/ui/drawfunc/fuconstr \
+	sc/source/ui/drawfunc/fuconrec \
+	sc/source/ui/drawfunc/fuconarc \
+	sc/source/ui/drawfunc/fuconuno \
+	sc/source/ui/drawfunc/fuconpol \
+	sc/source/ui/drawfunc/fuconcustomshape \
+	sc/source/ui/drawfunc/fuins1 \
+	sc/source/ui/drawfunc/fuins2 \
+	sc/source/ui/drawfunc/futext \
+	sc/source/ui/drawfunc/futext2 \
+	sc/source/ui/drawfunc/futext3 \
+	sc/source/ui/drawfunc/drawsh \
+	sc/source/ui/drawfunc/drawsh2 \
+	sc/source/ui/drawfunc/drawsh4 \
+	sc/source/ui/drawfunc/drawsh5 \
+	sc/source/ui/drawfunc/drtxtob \
+	sc/source/ui/drawfunc/drtxtob1 \
+	sc/source/ui/drawfunc/drtxtob2 \
+	sc/source/ui/drawfunc/drformsh \
+	sc/source/ui/drawfunc/oleobjsh \
+	sc/source/ui/drawfunc/chartsh \
+	sc/source/ui/drawfunc/graphsh \
+	sc/source/ui/drawfunc/mediash \
+	sc/source/ui/sidebar/ScPanelFactory \
+	sc/source/ui/sidebar/AlignmentPropertyPanel \
+	sc/source/ui/sidebar/CellLineStyleControl \
+	sc/source/ui/sidebar/CellLineStylePopup \
+	sc/source/ui/sidebar/CellLineStyleValueSet \
+	sc/source/ui/sidebar/CellBorderUpdater \
+	sc/source/ui/sidebar/CellAppearancePropertyPanel \
+	sc/source/ui/sidebar/CellBorderStyleControl \
+	sc/source/ui/sidebar/CellBorderStylePopup \
+	sc/source/ui/sidebar/NumberFormatPropertyPanel \
+	sc/source/ui/navipi/navipi \
+	sc/source/ui/navipi/navcitem \
+	sc/source/ui/navipi/scenwnd \
+	sc/source/ui/navipi/content \
+	sc/source/ui/unoobj/docuno \
+	sc/source/ui/unoobj/servuno \
+	sc/source/ui/unoobj/defltuno \
+	sc/source/ui/unoobj/drdefuno \
+	sc/source/ui/unoobj/tokenuno \
+	sc/source/ui/unoobj/textuno \
+	sc/source/ui/unoobj/notesuno \
+	sc/source/ui/unoobj/cursuno \
+	sc/source/ui/unoobj/srchuno \
+	sc/source/ui/unoobj/fielduno \
+	sc/source/ui/unoobj/miscuno \
+	sc/source/ui/unoobj/optuno \
+	sc/source/ui/unoobj/appluno \
+	sc/source/ui/unoobj/funcuno \
+	sc/source/ui/unoobj/nameuno \
+	sc/source/ui/unoobj/viewuno \
+	sc/source/ui/unoobj/dispuno \
+	sc/source/ui/unoobj/datauno \
+	sc/source/ui/unoobj/dapiuno \
+	sc/source/ui/unoobj/chartuno \
+	sc/source/ui/unoobj/shapeuno \
+	sc/source/ui/unoobj/pageuno \
+	sc/source/ui/unoobj/forbiuno \
+	sc/source/ui/unoobj/styleuno \
+	sc/source/ui/unoobj/afmtuno \
+	sc/source/ui/unoobj/fmtuno \
+	sc/source/ui/unoobj/linkuno \
+	sc/source/ui/unoobj/targuno \
+	sc/source/ui/unoobj/convuno \
+	sc/source/ui/unoobj/editsrc \
+	sc/source/ui/unoobj/unoguard \
+	sc/source/ui/unoobj/confuno \
+	sc/source/ui/unoobj/filtuno \
+	sc/source/ui/unoobj/unodoc \
+	sc/source/ui/unoobj/addruno \
+	sc/source/ui/unoobj/eventuno \
+	sc/source/ui/unoobj/listenercalls \
+	sc/source/ui/unoobj/cellvaluebinding \
+	sc/source/ui/unoobj/celllistsource \
+	sc/source/ui/unoobj/warnpassword \
+	sc/source/ui/unoobj/unoreflist \
+	sc/source/ui/unoobj/ChartRangeSelectionListener \
+	sc/source/core/data/attarray \
+	sc/source/core/data/attrib \
+	sc/source/core/data/autonamecache \
+	sc/source/core/data/bcaslot \
+	sc/source/core/data/cell2 \
+	sc/source/core/data/clipparam \
+	sc/source/core/data/column \
+	sc/source/core/data/compressedarray \
+	sc/source/core/data/dbdocutl \
+	sc/source/core/data/dociter \
+	sc/source/core/data/docpool \
+	sc/source/core/data/documen2 \
+	sc/source/core/data/documen3 \
+	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/dptabres \
+	sc/source/core/data/dptabsrc \
+	sc/source/core/data/dptablecache \
+	sc/source/core/data/scdpoutputimpl \
+	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/sheetevents \
+	sc/source/core/data/segmenttree \
+	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/table5 \
+	sc/source/core/data/table6 \
+	sc/source/core/data/tabprotection \
+	sc/source/core/data/userdat \
+	sc/source/core/data/postit \
+	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/charthelper \
+	sc/source/core/tool/chartpos \
+	sc/source/core/tool/chartlis \
+	sc/source/core/tool/chartlock \
+	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/interpr3 \
+	sc/source/core/tool/interpr5 \
+	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/stringutil \
+	sc/source/core/tool/unitconv \
+	sc/source/core/tool/userlist \
+	sc/source/core/tool/viewopti \
+	sc/source/core/tool/zforauto \
+	sc/source/filter/xml/sheetdata \
+	sc/source/filter/xml/xmlwrap \
+	sc/source/filter/xml/xmlimprt \
+	sc/source/filter/xml/xmlexprt \
+	sc/source/filter/xml/xmlbodyi \
+	sc/source/filter/xml/xmltabi \
+	sc/source/filter/xml/xmlexternaltabi \
+	sc/source/filter/xml/xmlrowi \
+	sc/source/filter/xml/xmlcelli \
+	sc/source/filter/xml/xmlconti \
+	sc/source/filter/xml/xmlcoli \
+	sc/source/filter/xml/xmlsubti \
+	sc/source/filter/xml/xmlnexpi \
+	sc/source/filter/xml/xmldrani \
+	sc/source/filter/xml/xmlfilti \
+	sc/source/filter/xml/xmlsorti \
+	sc/source/filter/xml/xmlstyle \
+	sc/source/filter/xml/xmlstyli \
+	sc/source/filter/xml/xmldpimp \
+	sc/source/filter/xml/xmlannoi \
+	sc/source/filter/xml/xmlsceni \
+	sc/source/filter/xml/XMLTableMasterPageExport \
+	sc/source/filter/xml/xmllabri \
+	sc/source/filter/xml/XMLTableHeaderFooterContext \
+	sc/source/filter/xml/XMLDetectiveContext \
+	sc/source/filter/xml/XMLCellRangeSourceContext \
+	sc/source/filter/xml/XMLConsolidationContext \
+	sc/source/filter/xml/XMLConverter \
+	sc/source/filter/xml/XMLExportIterator \
+	sc/source/filter/xml/XMLColumnRowGroupExport \
+	sc/source/filter/xml/XMLStylesExportHelper \
+	sc/source/filter/xml/XMLStylesImportHelper \
+	sc/source/filter/xml/XMLExportDataPilot \
+	sc/source/filter/xml/XMLExportDatabaseRanges \
+	sc/source/filter/xml/XMLTableShapeImportHelper \
+	sc/source/filter/xml/XMLTableShapesContext \
+	sc/source/filter/xml/XMLExportDDELinks \
+	sc/source/filter/xml/XMLDDELinksContext \
+	sc/source/filter/xml/XMLCalculationSettingsContext \
+	sc/source/filter/xml/XMLTableSourceContext \
+	sc/source/filter/xml/XMLTextPContext \
+	sc/source/filter/xml/XMLTableShapeResizer \
+	sc/source/filter/xml/XMLChangeTrackingExportHelper \
+	sc/source/filter/xml/xmlfonte \
+	sc/source/filter/xml/XMLChangeTrackingImportHelper \
+	sc/source/filter/xml/XMLTrackedChangesContext \
+	sc/source/filter/xml/XMLExportSharedData \
+	sc/source/filter/xml/XMLEmptyContext \
+	sc/source/filter/xml/XMLCodeNameProvider \
+	sc/source/ui/Accessibility/AccessibleContextBase \
+	sc/source/ui/Accessibility/AccessibleTableBase \
+	sc/source/ui/Accessibility/AccessibleDocument \
+	sc/source/ui/Accessibility/AccessibleGlobal \
+	sc/source/ui/Accessibility/AccessibleSpreadsheet \
+	sc/source/ui/Accessibility/AccessibleCell \
+	sc/source/ui/Accessibility/AccessibilityHints \
+	sc/source/ui/Accessibility/AccessibleDocumentBase \
+	sc/source/ui/Accessibility/AccessibleCellBase \
+	sc/source/ui/Accessibility/AccessibleDocumentPagePreview \
+	sc/source/ui/Accessibility/AccessibleFilterMenu \
+	sc/source/ui/Accessibility/AccessibleFilterMenuItem \
+	sc/source/ui/Accessibility/AccessibleFilterTopWindow \
+	sc/source/ui/Accessibility/AccessiblePreviewTable \
+	sc/source/ui/Accessibility/AccessiblePreviewCell \
+	sc/source/ui/Accessibility/AccessiblePreviewHeaderCell \
+	sc/source/ui/Accessibility/AccessiblePageHeader \
+	sc/source/ui/Accessibility/AccessibleText \
+	sc/source/ui/Accessibility/AccessiblePageHeaderArea \
+	sc/source/ui/Accessibility/DrawModelBroadcaster \
+	sc/source/ui/Accessibility/AccessibleEditObject \
+	sc/source/ui/Accessibility/AccessibleDataPilotControl \
+	sc/source/ui/Accessibility/AccessibleCsvControl \
+))
+
+$(eval $(call gb_Library_add_cxxobjects,sc,\
+	sc/source/ui/view/drawview \
+	sc/source/ui/view/dbfunc2 \
+	sc/source/ui/view/tabvwsh2 \
+	sc/source/ui/drawfunc/fusel \
+	sc/source/filter/xml/xmlcvali \
+	, $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
+))
+
+ifeq ($(OS)$(COM)$(CPUNAME),LINUXGCCPOWERPC)
+$(eval $(call gb_Library_add_cxxobjects,sc,\
+	sc/source/core/tool/subtotal \
+	, $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
+))
+else
+$(eval $(call gb_Library_add_exception_objects,sc,\
+	sc/source/core/tool/subtotal \
+))
+endif
+
+ifeq ($(OS)$(COM)$(CPUNAME),LINUXGCCSPARC)
+$(eval $(call gb_Library_add_cxxobjects,sc,\
+	sc/source/ui/view/viewfun4 \
+	sc/source/ui/view/viewfun2 \
+	sc/source/ui/unoobj/cellsuno \
+	sc/source/core/data/column2 \
+	sc/source/core/data/column3 \
+	sc/source/core/data/table3 \
+	sc/source/core/data/table4 \
+	sc/source/core/data/documen4 \
+	sc/source/core/data/conditio \
+	sc/source/core/data/validat \
+	sc/source/core/data/cell \
+	sc/source/core/tool/interpr2 \
+	sc/source/core/tool/interpr4 \
+	sc/source/core/tool/token \
+	sc/source/core/tool/chartarr \
+	, $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
+))
+else
+$(eval $(call gb_Library_add_exception_objects,sc,\
+	sc/source/ui/view/viewfun4 \
+	sc/source/ui/view/viewfun2 \
+	sc/source/ui/unoobj/cellsuno \
+	sc/source/core/data/column2 \
+	sc/source/core/data/column3 \
+	sc/source/core/data/table3 \
+	sc/source/core/data/table4 \
+	sc/source/core/data/documen4 \
+	sc/source/core/data/conditio \
+	sc/source/core/data/validat \
+	sc/source/core/data/cell \
+	sc/source/core/tool/interpr2 \
+	sc/source/core/tool/interpr4 \
+	sc/source/core/tool/token \
+	sc/source/core/tool/chartarr \
+))
+endif
+
+ifeq ($(GUI),OS2)
+$(eval $(call gb_Library_add_cxxobjects,sc,\
+	sc/source/core/tool/interpr6 \
+	, $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
+))
+else
+$(eval $(call gb_Library_add_exception_objects,sc,\
+	sc/source/core/tool/interpr6 \
+))
+endif
+
+# Work around bug in gcc 4.2 / 4.3, see
+# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35182
+ifeq ($(COM),GCC)
+$(eval $(call gb_Library_add_cxxobjects,sc,\
+	sc/source/ui/unoobj/chart2uno \
+	, $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
+))
+else
+$(eval $(call gb_Library_add_exception_objects,sc,\
+	sc/source/ui/unoobj/chart2uno \
+))
+endif
+
+
+$(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 \
+	-I$(SRCDIR)/sc/source/ui/inc \
+	-I$(OUTDIR)/inc \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/sc/source/filter/html/makefile.mk b/sc/Library_scd.mk
similarity index 53%
rename from sc/source/filter/html/makefile.mk
rename to sc/Library_scd.mk
index 19931fc..f46bd2b 100644
--- a/sc/source/filter/html/makefile.mk
+++ b/sc/Library_scd.mk
@@ -21,39 +21,48 @@
 
 
 
-PRJ=..$/..$/..
+$(eval $(call gb_Library_Library,scd))
 
-PRJNAME=sc
-TARGET=html
+$(eval $(call gb_Library_add_precompiled_header,scd,$(SRCDIR)/sc/inc/pch/precompiled_scd))
 
-AUTOSEG=true
+$(eval $(call gb_Library_set_componentfile,scd,sc/util/scd))
 
-PROJECTPCH4DLL=TRUE
-PROJECTPCH=filt_pch
-PROJECTPCHSOURCE=..\pch\filt_pch
-ENABLE_EXCEPTIONS=TRUE
+$(eval $(call gb_Library_set_include,scd,\
+        $$(INCLUDE) \
+	-I$(SRCDIR)/sc/inc \
+	-I$(SRCDIR)/sc/inc/pch \
+	-I$(SRCDIR)/sc/source/ui/inc \
+	-I$(SRCDIR)/sc/source/core/inc \
+	-I$(SRCDIR)/sc/source/filter/inc \
+))
 
-# --- Settings -----------------------------------------------------
+$(eval $(call gb_Library_add_defs,scd,\
+	-DSC_DLLIMPLEMENTATION \
+))
 
-.INCLUDE :  $(PRJ)$/util$/makefile.pmk
+$(eval $(call gb_Library_add_api,scd,\
+	offapi \
+	udkapi \
+))
 
-.INCLUDE :  scpre.mk
-.INCLUDE :  settings.mk
-.INCLUDE :  sc.mk
+$(eval $(call gb_Library_add_linked_libs,scd,\
+	cppu \
+	cppuhelper \
+	sal \
+	sfx \
+	sot \
+	stl \
+	svl \
+	svt \
+	tl \
+	ucbhelper \
+	vcl \
+	$(gb_STDLIBS) \
+))
 
-# --- Files --------------------------------------------------------
-
-SLOFILES =						\
-        $(SLO)$/htmlexp.obj		\
-        $(SLO)$/htmlexp2.obj	\
-        $(SLO)$/htmlimp.obj		\
-        $(SLO)$/htmlpars.obj
-
-EXCEPTIONSFILES =				\
-        $(SLO)$/htmlexp.obj		\
-        $(SLO)$/htmlpars.obj
-
-# --- Targets -------------------------------------------------------
-
-.INCLUDE :  target.mk
+$(eval $(call gb_Library_add_exception_objects,scd,\
+	sc/source/ui/unoobj/scdetect \
+	sc/source/ui/unoobj/detreg \
+))
 
+# vim: set noet sw=4 ts=4:
diff --git a/sc/Library_scfilt.mk b/sc/Library_scfilt.mk
new file mode 100644
index 0000000..de82e71
--- /dev/null
+++ b/sc/Library_scfilt.mk
@@ -0,0 +1,180 @@
+#**************************************************************
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+#**************************************************************
+
+
+
+$(eval $(call gb_Library_Library,scfilt))
+
+$(eval $(call gb_Library_add_precompiled_header,scfilt,$(SRCDIR)/sc/inc/pch/precompiled_scfilt))
+
+$(eval $(call gb_Library_set_include,scfilt,\
+        $$(INCLUDE) \
+	-I$(SRCDIR)/sc/inc \
+	-I$(SRCDIR)/sc/inc/pch \
+	-I$(SRCDIR)/sc/source/ui/inc \
+	-I$(SRCDIR)/sc/source/core/inc \
+	-I$(SRCDIR)/sc/source/filter/inc \
+))
+
+$(eval $(call gb_Library_add_defs,scfilt,\
+	-DSC_DLLIMPLEMENTATION \
+))
+
+$(eval $(call gb_Library_add_api,scfilt,\
+	offapi \
+	udkapi \
+))
+
+$(eval $(call gb_Library_add_linked_libs,scfilt,\
+	basegfx \
+	comphelper \
+	cppu \
+	cppuhelper \
+	drawinglayer \
+	editeng \
+	for \
+	msfilter \
+	ootk \
+	oox \
+	sal \
+	sax \
+	sb \
+	sc \
+	sfx \
+	sot \
+	stl \
+	svl \
+	svt \
+	svx \
+	svxcore \
+	tl \
+	utl \
+	vcl \
+	vos3 \
+	$(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Library_add_exception_objects,scfilt,\
+	sc/source/filter/ftools/fapihelper \
+	sc/source/filter/ftools/fprogressbar \
+	sc/source/filter/ftools/ftools \
+	sc/source/filter/excel/colrowst \
+	sc/source/filter/excel/excdoc \
+	sc/source/filter/excel/excel \
+	sc/source/filter/excel/excform \
+	sc/source/filter/excel/excform8 \
+	sc/source/filter/excel/excimp8 \
+	sc/source/filter/excel/excrecds \
+	sc/source/filter/excel/exctools \
+	sc/source/filter/excel/expop2 \
+	sc/source/filter/excel/fontbuff \
+	sc/source/filter/excel/frmbase \
+	sc/source/filter/excel/impop \
+	sc/source/filter/excel/namebuff \
+	sc/source/filter/excel/read \
+	sc/source/filter/excel/tokstack \
+	sc/source/filter/excel/xechart \
+	sc/source/filter/excel/xecontent \
+	sc/source/filter/excel/xeescher \
+	sc/source/filter/excel/xeformula \
+	sc/source/filter/excel/xehelper \
+	sc/source/filter/excel/xelink \
+	sc/source/filter/excel/xename \
+	sc/source/filter/excel/xepage \
+	sc/source/filter/excel/xepivot \
+	sc/source/filter/excel/xerecord \
+	sc/source/filter/excel/xeroot \
+	sc/source/filter/excel/xestream \
+	sc/source/filter/excel/xestring \
+	sc/source/filter/excel/xestyle \
+	sc/source/filter/excel/xetable \
+	sc/source/filter/excel/xeview \
+	sc/source/filter/excel/xichart \
+	sc/source/filter/excel/xicontent \
+	sc/source/filter/excel/xiformula \
+	sc/source/filter/excel/xihelper \
+	sc/source/filter/excel/xilink \
+	sc/source/filter/excel/xiname \
+	sc/source/filter/excel/xipage \
+	sc/source/filter/excel/xipivot \
+	sc/source/filter/excel/xiroot \
+	sc/source/filter/excel/xistream \
+	sc/source/filter/excel/xistring \
+	sc/source/filter/excel/xistyle \
+	sc/source/filter/excel/xiview \
+	sc/source/filter/excel/xladdress \
+	sc/source/filter/excel/xlchart \
+	sc/source/filter/excel/xlescher \
+	sc/source/filter/excel/xlformula \
+	sc/source/filter/excel/xlpage \
+	sc/source/filter/excel/xlpivot \
+	sc/source/filter/excel/xlroot \
+	sc/source/filter/excel/xlstyle \
+	sc/source/filter/excel/xltools \
+	sc/source/filter/excel/xltracer \
+	sc/source/filter/excel/xlview \
+	sc/source/filter/xcl97/xcl97esc \
+	sc/source/filter/xcl97/xcl97rec \
+	sc/source/filter/xcl97/XclImpChangeTrack \
+	sc/source/filter/xcl97/XclExpChangeTrack \
+	sc/source/filter/lotus/filter \
+	sc/source/filter/lotus/lotus \
+	sc/source/filter/lotus/lotimpop \
+	sc/source/filter/lotus/lotread \
+	sc/source/filter/lotus/lotform \
+	sc/source/filter/lotus/memory \
+	sc/source/filter/lotus/op \
+	sc/source/filter/lotus/optab \
+	sc/source/filter/lotus/tool \
+	sc/source/filter/lotus/expop \
+	sc/source/filter/lotus/export \
+	sc/source/filter/lotus/lotattr \
+	sc/source/filter/qpro/qpro \
+	sc/source/filter/qpro/qproform \
+	sc/source/filter/qpro/qprostyle \
+	sc/source/filter/qpro/biff \
+	sc/source/filter/dif/difimp \
+	sc/source/filter/dif/difexp \
+	sc/source/filter/html/htmlexp \
+	sc/source/filter/html/htmlexp2 \
+	sc/source/filter/html/htmlimp \
+	sc/source/filter/html/htmlpars \
+	sc/source/filter/rtf/eeimpars \
+	sc/source/filter/rtf/expbase \
+	sc/source/filter/rtf/rtfexp \
+	sc/source/filter/rtf/rtfimp \
+	sc/source/filter/rtf/rtfparse \
+	sc/source/filter/starcalc/scflt \
+	sc/source/filter/starcalc/scfobj \
+))
+
+ifeq ($(OS)$(COM)$(CPUNAME),LINUXGCCSPARC)
+$(eval $(call gb_Library_add_cxxobjects,scfilt,\
+	sc/source/filter/excel/xiescher \
+	, $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
+))
+else
+$(eval $(call gb_Library_add_exception_objects,scfilt,\
+	sc/source/filter/excel/xiescher \
+))
+endif
+
+# vim: set noet sw=4 ts=4:
diff --git a/sc/Library_scui.mk b/sc/Library_scui.mk
new file mode 100644
index 0000000..4a18c82
--- /dev/null
+++ b/sc/Library_scui.mk
@@ -0,0 +1,126 @@
+#**************************************************************
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+#**************************************************************
+
+
+
+$(eval $(call gb_Library_Library,scui))
+
+$(eval $(call gb_Library_add_precompiled_header,scui,$(SRCDIR)/sc/inc/pch/precompiled_scui))
+
+$(eval $(call gb_Library_set_include,scui,\
+        $$(INCLUDE) \
+	-I$(SRCDIR)/sc/inc \
+	-I$(SRCDIR)/sc/inc/pch \
+	-I$(SRCDIR)/sc/source/ui/inc \
+	-I$(SRCDIR)/sc/source/core/inc \
+	-I$(SRCDIR)/sc/source/filter/inc \
+))
+
+$(eval $(call gb_Library_add_defs,scui,\
+	-DSC_DLLIMPLEMENTATION \
+))
+
+$(eval $(call gb_Library_add_api,scui,\
+	offapi \
+	udkapi \
+))
+
+$(eval $(call gb_Library_add_linked_libs,scui,\
+	comphelper \
+	cppu \
+	editeng \
+	for \
+	forui \
+	i18nisolang1 \
+	sal \
+	sc \
+	sfx \
+	sot \
+	stl \
+	svl \
+	svt \
+	svx \
+	svxcore \
+	tl \
+	utl \
+	vcl \
+	$(gb_STDLIBS) \
+))
+
+ifeq ($(ENABLE_LAYOUT),TRUE)
+$(eval $(call gb_Library_add_linked_libs,scui,\
+	ootk \
+))
+endif
+
+$(eval $(call gb_Library_add_exception_objects,scui,\
+	sc/source/ui/styleui/styledlg \
+	sc/source/ui/optdlg/tpusrlst \
+	sc/source/ui/optdlg/tpview \
+	sc/source/ui/optdlg/tpcalc \
+	sc/source/ui/optdlg/tpprint \
+	sc/source/ui/optdlg/opredlin \
+	sc/source/ui/attrdlg/scuiexp \
+	sc/source/ui/attrdlg/scdlgfact \
+	sc/source/ui/dbgui/tpsubt \
+	sc/source/ui/pagedlg/tptable \
+	sc/source/ui/docshell/tpstat \
+	sc/source/ui/attrdlg/tabpages \
+	sc/source/ui/dbgui/tpsort \
+	sc/source/ui/dbgui/sortdlg \
+	sc/source/ui/dbgui/validate \
+	sc/source/ui/miscdlgs/textdlgs \
+	sc/source/ui/dbgui/subtdlg \
+	sc/source/ui/pagedlg/tphf \
+	sc/source/ui/pagedlg/scuitphfedit \
+	sc/source/ui/pagedlg/hfedtdlg \
+	sc/source/ui/attrdlg/attrdlg \
+	sc/source/ui/dbgui/scuiimoptdlg \
+	sc/source/ui/miscdlgs/strindlg \
+	sc/source/ui/miscdlgs/tabbgcolordlg \
+	sc/source/ui/miscdlgs/shtabdlg \
+	sc/source/ui/dbgui/scendlg \
+	sc/source/ui/dbgui/pvfundlg \
+	sc/source/ui/dbgui/pfiltdlg \
+	sc/source/ui/miscdlgs/namepast \
+	sc/source/ui/miscdlgs/namecrea \
+	sc/source/ui/miscdlgs/mvtabdlg \
+	sc/source/ui/miscdlgs/mtrindlg \
+	sc/source/ui/miscdlgs/linkarea \
+	sc/source/ui/miscdlgs/lbseldlg \
+	sc/source/ui/miscdlgs/instbdlg \
+	sc/source/ui/miscdlgs/inscodlg \
+	sc/source/ui/miscdlgs/inscldlg \
+	sc/source/ui/miscdlgs/groupdlg \
+	sc/source/ui/miscdlgs/filldlg \
+	sc/source/ui/miscdlgs/delcodlg \
+	sc/source/ui/miscdlgs/delcldlg \
+	sc/source/ui/dbgui/dapitype \
+	sc/source/ui/dbgui/dapidata \
+	sc/source/ui/miscdlgs/crdlg \
+	sc/source/ui/dbgui/scuiasciiopt \
+	sc/source/ui/dbgui/textimportoptions \
+	sc/source/ui/miscdlgs/scuiautofmt \
+	sc/source/ui/dbgui/dpgroupdlg \
+	sc/source/ui/cctrl/editfield \
+))
+
+# 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..0049ab9
--- /dev/null
+++ b/sc/Library_vbaobj.mk
@@ -0,0 +1,130 @@
+#**************************************************************
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+#**************************************************************
+
+
+
+$(eval $(call gb_Library_Library,vbaobj))
+
+$(eval $(call gb_Library_set_componentfile,vbaobj,sc/util/vbaobj))
+
+$(eval $(call gb_Library_set_include,vbaobj,\
+        $$(INCLUDE) \
+	-I$(SRCDIR)/sc/inc \
+	-I$(SRCDIR)/sc/inc/pch \
+	-I$(SRCDIR)/sc/source/ui/inc \
+	-I$(SRCDIR)/sc/source/core/inc \
+	-I$(SRCDIR)/sc/source/filter/inc \
+))
+
+$(eval $(call gb_Library_add_defs,vbaobj,\
+	-DSC_DLLIMPLEMENTATION \
+))
+
+$(eval $(call gb_Library_add_api,vbaobj,\
+	offapi \
+	oovbaapi \
+	udkapi \
+))
+
+$(eval $(call gb_Library_add_linked_libs,vbaobj,\
+	comphelper \
+	cppu \
+	cppuhelper \
+	editeng \
+	for \
+	msfilter \
+	ootk \
+	sal \
+	sb \
+	sc \
+	sfx \
+	stl \
+	svl \
+	svt \
+	svxcore \
+	tl \
+	utl \
+	vbahelper \
+	vcl \
+	$(gb_STDLIBS) \
+))
+
+$(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/vbacondition \
+	sc/source/ui/vba/vbadialog \
+	sc/source/ui/vba/vbadialogs \
+	sc/source/ui/vba/vbaeventshelper \
+	sc/source/ui/vba/vbafont \
+	sc/source/ui/vba/vbaformat \
+	sc/source/ui/vba/vbaformatcondition \
+	sc/source/ui/vba/vbaformatconditions \
+	sc/source/ui/vba/vbaglobals \
+	sc/source/ui/vba/vbahyperlink \
+	sc/source/ui/vba/vbahyperlinks \
+	sc/source/ui/vba/vbainterior \
+	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/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 \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/sc/util/makefile.pmk b/sc/Makefile
similarity index 76%
rename from sc/util/makefile.pmk
rename to sc/Makefile
index c4a4b1e..c1d144c 100644
--- a/sc/util/makefile.pmk
+++ b/sc/Makefile
@@ -19,10 +19,14 @@
 #  
 #**************************************************************
 
+ifeq ($(strip $(SOLARENV)),)
+$(error No environment set!)
+endif
 
-INCPRE+=$(SOLARINCDIR)$/offuh
+gb_PARTIALBUILD := T
+GBUILDDIR := $(SOLARENV)/gbuild
+include $(GBUILDDIR)/gbuild.mk
 
-# define SC_DLLIMPLEMENTATION (see @ scdllapi.h)
-CDEFS += -DSC_DLLIMPLEMENTATION
+$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
 
-VISIBILITY_HIDDEN=TRUE
+# vim: set noet sw=4 ts=4:
diff --git a/sc/inc/makefile.mk b/sc/Module_sc.mk
similarity index 65%
rename from sc/inc/makefile.mk
rename to sc/Module_sc.mk
index 85ce5a9..a6bdfb6 100644
--- a/sc/inc/makefile.mk
+++ b/sc/Module_sc.mk
@@ -20,25 +20,32 @@
 #**************************************************************
 
 
-PRJ=..
-
-PRJNAME=sc
-TARGET=inc
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE :  settings.mk
-.INCLUDE :  $(PRJ)$/util$/makefile.pmk
-
-# --- Files --------------------------------------------------------
-# --- Targets -------------------------------------------------------
-
-.INCLUDE :  target.mk
-
-.IF "$(ENABLE_PCH)"!=""
-ALLTAR : \
-    $(SLO)$/precompiled.pch \
-    $(SLO)$/precompiled_ex.pch
-    
-.ENDIF			# "$(ENABLE_PCH)"!=""
 
+$(eval $(call gb_Module_Module,sc))
+
+$(eval $(call gb_Module_add_targets,sc,\
+	AllLangResTarget_sc \
+	Library_sc \
+	Library_scd \
+	Library_scfilt \
+	Library_scui \
+	Library_vbaobj \
+	Package_uiconfig \
+	Package_xml \
+))
+
+ifeq ($(ENABLE_UNIT_TESTS),YES)
+$(eval $(call gb_Module_add_targets,sc,\
+	GoogleTest_sc \
+))
+endif
+
+ifneq ($(OOO_JUNIT_JAR),)
+$(eval $(call gb_Module_add_subsequentcheck_targets,sc,\
+	JunitTest_sc_complex \
+	JunitTest_sc_complex_cellRanges \
+))
+endif
+
+
+# vim: set noet sw=4 ts=4:
diff --git a/sc/Package_uiconfig.mk b/sc/Package_uiconfig.mk
new file mode 100644
index 0000000..42b63a7a
--- /dev/null
+++ b/sc/Package_uiconfig.mk
@@ -0,0 +1,59 @@
+###############################################################
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+###############################################################
+
+
+
+$(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))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/graffilterbar.xml,scalc/toolbar/graffilterbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/textobjectbar.xml,scalc/toolbar/textobjectbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/fullscreenbar.xml,scalc/toolbar/fullscreenbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/arrowshapes.xml,scalc/toolbar/arrowshapes.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/previewbar.xml,scalc/toolbar/previewbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/formsfilterbar.xml,scalc/toolbar/formsfilterbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/drawobjectbar.xml,scalc/toolbar/drawobjectbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/formatobjectbar.xml,scalc/toolbar/formatobjectbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/symbolshapes.xml,scalc/toolbar/symbolshapes.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/mediaobjectbar.xml,scalc/toolbar/mediaobjectbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/formsnavigationbar.xml,scalc/toolbar/formsnavigationbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/starshapes.xml,scalc/toolbar/starshapes.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/insertcellsbar.xml,scalc/toolbar/insertcellsbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/graphicobjectbar.xml,scalc/toolbar/graphicobjectbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/formtextobjectbar.xml,scalc/toolbar/formtextobjectbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/formcontrols.xml,scalc/toolbar/formcontrols.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/formdesign.xml,scalc/toolbar/formdesign.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/fontworkshapetype.xml,scalc/toolbar/fontworkshapetype.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/colorbar.xml,scalc/toolbar/colorbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/standardbar.xml,scalc/toolbar/standardbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/toolbar.xml,scalc/toolbar/toolbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/alignmentbar.xml,scalc/toolbar/alignmentbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/extrusionobjectbar.xml,scalc/toolbar/extrusionobjectbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/findbar.xml,scalc/toolbar/findbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/insertbar.xml,scalc/toolbar/insertbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/flowchartshapes.xml,scalc/toolbar/flowchartshapes.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/viewerbar.xml,scalc/toolbar/viewerbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/drawbar.xml,scalc/toolbar/drawbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/basicshapes.xml,scalc/toolbar/basicshapes.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/fontworkobjectbar.xml,scalc/toolbar/fontworkobjectbar.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/moreformcontrols.xml,scalc/toolbar/moreformcontrols.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/toolbar/calloutshapes.xml,scalc/toolbar/calloutshapes.xml))
+$(eval $(call gb_Package_add_file,sc_uiconfig,xml/uiconfig/modules/scalc/statusbar/statusbar.xml,scalc/statusbar/statusbar.xml))
diff --git a/sc/Package_xml.mk b/sc/Package_xml.mk
new file mode 100644
index 0000000..5c3106c
--- /dev/null
+++ b/sc/Package_xml.mk
@@ -0,0 +1,142 @@
+###############################################################
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+###############################################################
+
+
+
+$(eval $(call gb_Package_Package,sc_xml,$(SRCDIR)/sc/xml))
+
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScXMLImport.xml,ScXMLImport.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAccessiblePageHeaderArea.xml,ScAccessiblePageHeaderArea.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/ScCellObj.xml,ScCellObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScModelObj.xml,ScModelObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScCellFieldObj.xml,ScCellFieldObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAreaLinkObj.xml,ScAreaLinkObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDocumentConfiguration.xml,ScDocumentConfiguration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScShapeObj.xml,ScShapeObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScScenariosObj.xml,ScScenariosObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScSheetLinkObj.xml,ScSheetLinkObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAccessibleDocument.xml,ScAccessibleDocument.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/AccessibleEditableTextPara_HeaderFooter.xml,AccessibleEditableTextPara_HeaderFooter.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAutoFormatObj.xml,ScAutoFormatObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDataPilotItemObj.xml,ScDataPilotItemObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScSubTotalFieldObj.xml,ScSubTotalFieldObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScHeaderFieldsObj.xml,ScHeaderFieldsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScConsolidationDescriptor.xml,ScConsolidationDescriptor.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScTableRowsObj.xml,ScTableRowsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDrawPageObj.xml,ScDrawPageObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScSubTotalDescriptorBase.xml,ScSubTotalDescriptorBase.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/ScAccessiblePreviewHeaderCell.xml,ScAccessiblePreviewHeaderCell.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/ScAccessiblePreviewCell.xml,ScAccessiblePreviewCell.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScFilterDescriptorBase.xml,ScFilterDescriptorBase.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAccessibleDocumentPagePreview.xml,ScAccessibleDocumentPagePreview.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAccessibleCsvGrid.xml,ScAccessibleCsvGrid.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScTabViewObj.xml,ScTabViewObj.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/ScNamedRangeObj.xml,ScNamedRangeObj.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/ScChartObj.xml,ScChartObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDDELinkObj.xml,ScDDELinkObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScTableColumnsObj.xml,ScTableColumnsObj.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/ScCellFieldsObj.xml,ScCellFieldsObj.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/ScTableConditionalEntry.xml,ScTableConditionalEntry.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAccessibleCsvCell.xml,ScAccessibleCsvCell.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDataPilotFieldGroupObj.xml,ScDataPilotFieldGroupObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScHeaderFooterContentObj.xml,ScHeaderFooterContentObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAccessiblePreviewTable.xml,ScAccessiblePreviewTable.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAreaLinksObj.xml,ScAreaLinksObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScTableSheetsObj.xml,ScTableSheetsObj.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/ScCellSearchObj.xml,ScCellSearchObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScNamedRangesObj.xml,ScNamedRangesObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScSpreadsheetSettingsObj.xml,ScSpreadsheetSettingsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScViewPaneObj.xml,ScViewPaneObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScCellsEnumeration.xml,ScCellsEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScUniqueCellFormatsObj.xml,ScUniqueCellFormatsObj.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/ScCellFormatsEnumeration.xml,ScCellFormatsEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScHeaderFooterTextObj.xml,ScHeaderFooterTextObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScTableColumnObj.xml,ScTableColumnObj.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_TextFieldEnumeration.xml,ScIndexEnumeration_TextFieldEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScStyleFamiliesObj.xml,ScStyleFamiliesObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAnnotationObj.xml,ScAnnotationObj.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/ScAccessiblePageHeader.xml,ScAccessiblePageHeader.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAccessibleCell.xml,ScAccessibleCell.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/ScStyleFamilyObj.xml,ScStyleFamilyObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScLabelRangeObj.xml,ScLabelRangeObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDataPilotTableObj.xml,ScDataPilotTableObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDataPilotFieldGroupsObj.xml,ScDataPilotFieldGroupsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDatabaseRangesObj.xml,ScDatabaseRangesObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScCellRangesObj.xml,ScCellRangesObj.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/ScDDELinksObj.xml,ScDDELinksObj.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/ScHeaderFieldObj.xml,ScHeaderFieldObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScChartsObj.xml,ScChartsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScCellTextCursor.xml,ScCellTextCursor.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDataPilotFieldObj.xml,ScDataPilotFieldObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScHeaderFooterTextCursor.xml,ScHeaderFooterTextCursor.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScSpreadsheetSettings.xml,ScSpreadsheetSettings.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScCellCursorObj.xml,ScCellCursorObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScStyleObj.xml,ScStyleObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAccessibleSpreadsheet.xml,ScAccessibleSpreadsheet.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDataPilotItemsObj.xml,ScDataPilotItemsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScCellRangeObj.xml,ScCellRangeObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScXMLExport.xml,ScXMLExport.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDataPilotFieldsObj.xml,ScDataPilotFieldsObj.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/ScDataPilotFieldGroupItemObj.xml,ScDataPilotFieldGroupItemObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDataPilotTablesObj.xml,ScDataPilotTablesObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDrawPagesObj.xml,ScDrawPagesObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScPageObj.xml,ScPageObj.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_TableColumnsEnumeration.xml,ScIndexEnumeration_TableColumnsEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScDatabaseRangeObj.xml,ScDatabaseRangeObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScTableSheetObj.xml,ScTableSheetObj.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_DataPilotTablesEnumeration.xml,ScIndexEnumeration_DataPilotTablesEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScTableConditionalFormat.xml,ScTableConditionalFormat.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScFunctionListObj.xml,ScFunctionListObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAnnotationShapeObj.xml,ScAnnotationShapeObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScTableRowObj.xml,ScTableRowObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScUniqueCellFormatsEnumeration.xml,ScUniqueCellFormatsEnumeration.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScCellFormatsObj.xml,ScCellFormatsObj.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/ScAutoFormatsObj.xml,ScAutoFormatsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScLabelRangesObj.xml,ScLabelRangesObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScTableValidationObj.xml,ScTableValidationObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScAutoFormatFieldObj.xml,ScAutoFormatFieldObj.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/ScAccessibleCsvRuler.xml,ScAccessibleCsvRuler.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/ScAnnotationsObj.xml,ScAnnotationsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScSheetLinksObj.xml,ScSheetLinksObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScCellsObj.xml,ScCellsObj.xml))
+$(eval $(call gb_Package_add_file,sc_xml,xml/ScRecentFunctionsObj.xml,ScRecentFunctionsObj.xml))
+
diff --git a/sc/inc/pch/precompiled_scd.cxx b/sc/inc/pch/precompiled_scd.cxx
new file mode 100644
index 0000000..a1f185f
--- /dev/null
+++ b/sc/inc/pch/precompiled_scd.cxx
@@ -0,0 +1,24 @@
+/**************************************************************
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ *************************************************************/
+
+
+
+#include "precompiled_scd.hxx"
diff --git a/sc/inc/pch/precompiled_scd.hxx b/sc/inc/pch/precompiled_scd.hxx
new file mode 100644
index 0000000..3ac930f
--- /dev/null
+++ b/sc/inc/pch/precompiled_scd.hxx
@@ -0,0 +1,241 @@
+/**************************************************************
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ *************************************************************/
+
+
+
+// MARKER(update_precomp.py): Generated on 2006-07-11 15:52:42.937361
+
+#ifdef PRECOMPILED_HEADERS
+#include <sal/config.h>
+#include "scitems.hxx"
+
+#include <algorithm>
+#include <assert.h>
+#include <deque>
+#include <stdarg.h>
+#include <stddef.h>
+#include <stdio.h>
+#include <string.h>
+#include <iosfwd>
+#include <limits.h>
+#include <limits>
+#include <list>
+#include <math.h>
+#include <memory>
+#include <new>
+#include <cfloat>
+
+#include <boost/bind.hpp>
+
+#include <basegfx/polygon/b2dpolygon.hxx>
+#include <basegfx/polygon/b3dpolygon.hxx>
+#include <basegfx/polygon/b3dpolypolygon.hxx>
+#include <com/sun/star/uno/Any.h>
+#include <com/sun/star/uno/Any.hxx>
+#include <com/sun/star/uno/Reference.h>
+#include <com/sun/star/uno/Sequence.h>
+#include <com/sun/star/uno/Sequence.hxx>
+#include <com/sun/star/uno/Type.hxx>
+#include <cppu/macros.hxx>
+#include <cppuhelper/weakref.hxx>
+#include <cstddef>
+#include <cwchar>
+#include <float.h>
+#include <functional>
+#include <com/sun/star/awt/Point.hdl>
+#include <com/sun/star/awt/Point.hpp>
+#include <com/sun/star/awt/Size.hdl>
+#include <com/sun/star/awt/Size.hpp>
+#include <com/sun/star/beans/PropertyVetoException.hdl>
+#include <com/sun/star/beans/PropertyVetoException.hpp>
+#include <com/sun/star/container/ElementExistException.hdl>
+#include <com/sun/star/container/ElementExistException.hpp>
+#include <com/sun/star/container/NoSuchElementException.hpp>
+#include <com/sun/star/container/XElementAccess.hdl>
+#include <com/sun/star/container/XElementAccess.hpp>
+#include <com/sun/star/container/XNameAccess.hpp>
+#include <com/sun/star/datatransfer/DataFlavor.hdl>
+#include <com/sun/star/datatransfer/dnd/DragGestureEvent.hpp>
+#include <com/sun/star/datatransfer/dnd/DragSourceDragEvent.hdl>
+#include <com/sun/star/datatransfer/dnd/DragSourceDragEvent.hpp>
+#include <com/sun/star/datatransfer/dnd/DragSourceDropEvent.hdl>
+#include <com/sun/star/datatransfer/dnd/DragSourceEvent.hpp>
+#include <com/sun/star/datatransfer/dnd/DropTargetDragEnterEvent.hdl>
+#include <com/sun/star/datatransfer/dnd/DropTargetDragEnterEvent.hpp>
+#include <com/sun/star/datatransfer/dnd/DropTargetDragEvent.hdl>
+#include <com/sun/star/datatransfer/dnd/DropTargetDragEvent.hpp>
+#include <com/sun/star/datatransfer/dnd/DropTargetDropEvent.hpp>
+#include <com/sun/star/datatransfer/dnd/DropTargetEvent.hdl>
+#include <com/sun/star/datatransfer/dnd/DropTargetEvent.hpp>
+#include <com/sun/star/datatransfer/dnd/XDragGestureListener.hdl>
+#include <com/sun/star/datatransfer/dnd/XDragGestureListener.hpp>
+#include <com/sun/star/datatransfer/dnd/XDragSource.hdl>
+#include <com/sun/star/datatransfer/dnd/XDragSource.hpp>
+#include <com/sun/star/datatransfer/dnd/XDragSourceContext.hdl>
+#include <com/sun/star/datatransfer/dnd/XDragSourceContext.hpp>
+#include <com/sun/star/datatransfer/dnd/XDragSourceListener.hdl>
+#include <com/sun/star/datatransfer/dnd/XDragSourceListener.hpp>
+#include <com/sun/star/datatransfer/dnd/XDropTargetDragContext.hpp>
+#include <com/sun/star/datatransfer/dnd/XDropTargetListener.hdl>
+#include <com/sun/star/datatransfer/dnd/XDropTargetListener.hpp>
+#include <com/sun/star/datatransfer/UnsupportedFlavorException.hdl>
+#include <com/sun/star/datatransfer/XTransferable.hpp>
+#include <com/sun/star/drawing/XShape.hpp>
+#include <com/sun/star/embed/InvalidStorageException.hpp>
+#include <com/sun/star/embed/StorageWrappedTargetException.hdl>
+#include <com/sun/star/embed/StorageWrappedTargetException.hpp>
+#include <com/sun/star/embed/XStorage.hdl>
+#include <com/sun/star/embed/XStorage.hpp>
+#include <com/sun/star/io/BufferSizeExceededException.hpp>
+#include <com/sun/star/io/IOException.hdl>
+#include <com/sun/star/io/NotConnectedException.hdl>
+#include <com/sun/star/io/NotConnectedException.hpp>
+#include <com/sun/star/io/XInputStream.hdl>
+#include <com/sun/star/io/XInputStream.hpp>
+#include <com/sun/star/io/XOutputStream.hdl>
+#include <com/sun/star/io/XOutputStream.hpp>
+#include <com/sun/star/io/XStream.hdl>
+#include <com/sun/star/lang/EventObject.hdl>
+#include <com/sun/star/lang/IllegalArgumentException.hpp>
+#include <com/sun/star/lang/WrappedTargetException.hdl>
+#include <com/sun/star/lang/WrappedTargetException.hpp>
+#include <com/sun/star/lang/XComponent.hpp>
+#include <com/sun/star/lang/XEventListener.hpp>
+#include <com/sun/star/packages/NoEncryptionException.hdl>
+#include <com/sun/star/packages/NoEncryptionException.hpp>
+#include <com/sun/star/packages/WrongPasswordException.hdl>
+#include <com/sun/star/packages/WrongPasswordException.hpp>
+#include <com/sun/star/uno/Exception.hdl>
+#include <com/sun/star/uno/Exception.hpp>
+#include <com/sun/star/uno/RuntimeException.hdl>
+#include <com/sun/star/uno/RuntimeException.hpp>
+#include <com/sun/star/uno/XAdapter.hdl>
+#include <com/sun/star/uno/XAdapter.hpp>
+#include <com/sun/star/uno/XInterface.hdl>
+#include <com/sun/star/uno/XReference.hdl>
+#include <com/sun/star/uno/XReference.hpp>
+#include <com/sun/star/uno/XWeak.hpp>
+#include <osl/endian.h>
+#include <osl/interlck.h>
+#include <osl/mutex.hxx>
+#include <rtl/alloc.h>
+#include <rtl/string.h>
+#include <rtl/ustrbuf.h>
+#include <rtl/ustring.h>
+#include <sal/mathconf.h>
+#include <sal/types.h>
+#include <sot/exchange.hxx>
+#include <sot/factory.hxx>
+#include <sot/storage.hxx>
+#include <svl/brdcst.hxx>
+#include <svl/cenumitm.hxx>
+#include <svl/cintitem.hxx>
+#include <unotools/fltrcfg.hxx>
+#include <svl/intitem.hxx>
+#include <svl/listener.hxx>
+#include <svl/lstner.hxx>
+#include <unotools/pathoptions.hxx>
+#include <svl/solar.hrc>
+#include <unotools/useroptions.hxx>
+#include <editeng/editobj.hxx>
+#include <editeng/eeitem.hxx>
+#include <svx/fmglob.hxx>
+#include <editeng/outlobj.hxx>
+#include <svx/sdangitm.hxx>
+#include <svx/sderitm.hxx>
+#include <svx/sdmetitm.hxx>
+#include <svx/sdooitm.hxx>
+#include <svx/sdprcitm.hxx>
+#include <svx/sdrmasterpagedescriptor.hxx>
+#include <svx/sdrpageuser.hxx>
+#include <svx/sdtaitm.hxx>
+#include <svx/svdglue.hxx>
+#include <svx/svdlayer.hxx>
+#include <svx/svdoattr.hxx>
+#include <svx/svdobj.hxx>
+#include <svx/svdpage.hxx>
+#include <svx/svdpool.hxx>
+#include <svx/svdtrans.hxx>
+#include <svx/svdtypes.hxx>
+#include <svx/unoapi.hxx>
+#include <svx/volume3d.hxx>
+#include <svx/xcolit.hxx>
+#include <svx/xenum.hxx>
+#include <svx/xfillit0.hxx>
+#include <svx/xflasit.hxx>
+#include <svx/xlineit0.hxx>
+#include <svx/xlnasit.hxx>
+#include <svx/xtextit0.hxx>
+#include <tools/date.hxx>
+#include <tools/datetime.hxx>
+#include <tools/errcode.hxx>
+#include <tools/errinf.hxx>
+#include <tools/gen.hxx>
+#include <tools/globname.hxx>
+#include <tools/list.hxx>
+#include <tools/rc.hxx>
+#include <tools/rtti.hxx>
+#include <tools/solar.h>
+#include <tools/string.hxx>
+#include <tools/toolsdllapi.h>
+#include <tools/weakbase.h>
+#include <tools/weakbase.hxx>
+#include <typeinfo>
+#include <typelib/typeclass.h>
+#include <typelib/typedescription.h>
+#include <typelib/uik.h>
+#include <uno/any2.h>
+#include <uno/lbnames.h>
+#include <uno/sequence2.h>
+#include <unotools/ucbstreamhelper.hxx>
+
+#include <vcl/apptypes.hxx>
+#include <vcl/bitmap.hxx>
+#include <vcl/bitmapex.hxx>
+#include <vcl/dllapi.h>
+#include <vcl/dndhelp.hxx>
+#include <vcl/edit.hxx>
+#include <vcl/field.hxx>
+#include <tools/fldunit.hxx>
+#include <vcl/gdimtf.hxx>
+#include <vcl/inputctx.hxx>
+#include <vcl/jobset.hxx>
+#include <vcl/mapmod.hxx>
+#include <vcl/menu.hxx>
+#include <vcl/pointr.hxx>
+#include <vcl/print.hxx>
+#include <vcl/prntypes.hxx>
+#include <vcl/ptrstyle.hxx>
+#include <vcl/region.hxx>
+#include <vcl/salnativewidgets.hxx>
+#include <vcl/spinfld.hxx>
+#include <vcl/sv.h>
+#include <vcl/svapp.hxx>
+#include <vcl/vclevent.hxx>
+#include <vcl/window.hxx>
+#include <tools/wintypes.hxx>
+#include <vos/macros.hxx>
+#include <vos/object.hxx>
+#include <vos/types.hxx>
+#include <wchar.h>
+
+#endif
+
diff --git a/sc/inc/pch/precompiled_scfilt.cxx b/sc/inc/pch/precompiled_scfilt.cxx
new file mode 100644
index 0000000..dd5cd37
--- /dev/null
+++ b/sc/inc/pch/precompiled_scfilt.cxx
@@ -0,0 +1,24 @@
+/**************************************************************
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ *************************************************************/
+
+
+
+#include "precompiled_scfilt.hxx"
diff --git a/sc/inc/pch/precompiled_scfilt.hxx b/sc/inc/pch/precompiled_scfilt.hxx
new file mode 100644
index 0000000..3ac930f
--- /dev/null
+++ b/sc/inc/pch/precompiled_scfilt.hxx
@@ -0,0 +1,241 @@
+/**************************************************************
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ *************************************************************/
+
+
+
+// MARKER(update_precomp.py): Generated on 2006-07-11 15:52:42.937361
+
+#ifdef PRECOMPILED_HEADERS
+#include <sal/config.h>
+#include "scitems.hxx"
+
+#include <algorithm>
+#include <assert.h>
+#include <deque>
+#include <stdarg.h>
+#include <stddef.h>
+#include <stdio.h>
+#include <string.h>
+#include <iosfwd>
+#include <limits.h>
+#include <limits>
+#include <list>
+#include <math.h>
+#include <memory>
+#include <new>
+#include <cfloat>
+
+#include <boost/bind.hpp>
+
+#include <basegfx/polygon/b2dpolygon.hxx>
+#include <basegfx/polygon/b3dpolygon.hxx>
+#include <basegfx/polygon/b3dpolypolygon.hxx>
+#include <com/sun/star/uno/Any.h>
+#include <com/sun/star/uno/Any.hxx>
+#include <com/sun/star/uno/Reference.h>
+#include <com/sun/star/uno/Sequence.h>
+#include <com/sun/star/uno/Sequence.hxx>
+#include <com/sun/star/uno/Type.hxx>
+#include <cppu/macros.hxx>
+#include <cppuhelper/weakref.hxx>
+#include <cstddef>
+#include <cwchar>
+#include <float.h>
+#include <functional>
+#include <com/sun/star/awt/Point.hdl>
+#include <com/sun/star/awt/Point.hpp>
+#include <com/sun/star/awt/Size.hdl>
+#include <com/sun/star/awt/Size.hpp>
+#include <com/sun/star/beans/PropertyVetoException.hdl>
+#include <com/sun/star/beans/PropertyVetoException.hpp>
+#include <com/sun/star/container/ElementExistException.hdl>
+#include <com/sun/star/container/ElementExistException.hpp>
+#include <com/sun/star/container/NoSuchElementException.hpp>
+#include <com/sun/star/container/XElementAccess.hdl>
+#include <com/sun/star/container/XElementAccess.hpp>
+#include <com/sun/star/container/XNameAccess.hpp>
+#include <com/sun/star/datatransfer/DataFlavor.hdl>
+#include <com/sun/star/datatransfer/dnd/DragGestureEvent.hpp>
+#include <com/sun/star/datatransfer/dnd/DragSourceDragEvent.hdl>
+#include <com/sun/star/datatransfer/dnd/DragSourceDragEvent.hpp>
+#include <com/sun/star/datatransfer/dnd/DragSourceDropEvent.hdl>
+#include <com/sun/star/datatransfer/dnd/DragSourceEvent.hpp>
+#include <com/sun/star/datatransfer/dnd/DropTargetDragEnterEvent.hdl>
+#include <com/sun/star/datatransfer/dnd/DropTargetDragEnterEvent.hpp>
+#include <com/sun/star/datatransfer/dnd/DropTargetDragEvent.hdl>
+#include <com/sun/star/datatransfer/dnd/DropTargetDragEvent.hpp>
+#include <com/sun/star/datatransfer/dnd/DropTargetDropEvent.hpp>
+#include <com/sun/star/datatransfer/dnd/DropTargetEvent.hdl>
+#include <com/sun/star/datatransfer/dnd/DropTargetEvent.hpp>
+#include <com/sun/star/datatransfer/dnd/XDragGestureListener.hdl>
+#include <com/sun/star/datatransfer/dnd/XDragGestureListener.hpp>
+#include <com/sun/star/datatransfer/dnd/XDragSource.hdl>
+#include <com/sun/star/datatransfer/dnd/XDragSource.hpp>
+#include <com/sun/star/datatransfer/dnd/XDragSourceContext.hdl>
+#include <com/sun/star/datatransfer/dnd/XDragSourceContext.hpp>
+#include <com/sun/star/datatransfer/dnd/XDragSourceListener.hdl>
+#include <com/sun/star/datatransfer/dnd/XDragSourceListener.hpp>
+#include <com/sun/star/datatransfer/dnd/XDropTargetDragContext.hpp>
+#include <com/sun/star/datatransfer/dnd/XDropTargetListener.hdl>
+#include <com/sun/star/datatransfer/dnd/XDropTargetListener.hpp>
+#include <com/sun/star/datatransfer/UnsupportedFlavorException.hdl>
+#include <com/sun/star/datatransfer/XTransferable.hpp>
+#include <com/sun/star/drawing/XShape.hpp>
+#include <com/sun/star/embed/InvalidStorageException.hpp>
+#include <com/sun/star/embed/StorageWrappedTargetException.hdl>
+#include <com/sun/star/embed/StorageWrappedTargetException.hpp>
+#include <com/sun/star/embed/XStorage.hdl>
+#include <com/sun/star/embed/XStorage.hpp>
+#include <com/sun/star/io/BufferSizeExceededException.hpp>
+#include <com/sun/star/io/IOException.hdl>
+#include <com/sun/star/io/NotConnectedException.hdl>
+#include <com/sun/star/io/NotConnectedException.hpp>
+#include <com/sun/star/io/XInputStream.hdl>
+#include <com/sun/star/io/XInputStream.hpp>
+#include <com/sun/star/io/XOutputStream.hdl>
+#include <com/sun/star/io/XOutputStream.hpp>
+#include <com/sun/star/io/XStream.hdl>
+#include <com/sun/star/lang/EventObject.hdl>
+#include <com/sun/star/lang/IllegalArgumentException.hpp>
+#include <com/sun/star/lang/WrappedTargetException.hdl>
+#include <com/sun/star/lang/WrappedTargetException.hpp>
+#include <com/sun/star/lang/XComponent.hpp>
+#include <com/sun/star/lang/XEventListener.hpp>
+#include <com/sun/star/packages/NoEncryptionException.hdl>
+#include <com/sun/star/packages/NoEncryptionException.hpp>
+#include <com/sun/star/packages/WrongPasswordException.hdl>
+#include <com/sun/star/packages/WrongPasswordException.hpp>
+#include <com/sun/star/uno/Exception.hdl>
+#include <com/sun/star/uno/Exception.hpp>
+#include <com/sun/star/uno/RuntimeException.hdl>
+#include <com/sun/star/uno/RuntimeException.hpp>
+#include <com/sun/star/uno/XAdapter.hdl>
+#include <com/sun/star/uno/XAdapter.hpp>
+#include <com/sun/star/uno/XInterface.hdl>
+#include <com/sun/star/uno/XReference.hdl>
+#include <com/sun/star/uno/XReference.hpp>
+#include <com/sun/star/uno/XWeak.hpp>
+#include <osl/endian.h>
+#include <osl/interlck.h>
+#include <osl/mutex.hxx>
+#include <rtl/alloc.h>
+#include <rtl/string.h>
+#include <rtl/ustrbuf.h>
+#include <rtl/ustring.h>
+#include <sal/mathconf.h>
+#include <sal/types.h>
+#include <sot/exchange.hxx>
+#include <sot/factory.hxx>
+#include <sot/storage.hxx>
+#include <svl/brdcst.hxx>
+#include <svl/cenumitm.hxx>
+#include <svl/cintitem.hxx>
+#include <unotools/fltrcfg.hxx>
+#include <svl/intitem.hxx>
+#include <svl/listener.hxx>
+#include <svl/lstner.hxx>
+#include <unotools/pathoptions.hxx>
+#include <svl/solar.hrc>
+#include <unotools/useroptions.hxx>
+#include <editeng/editobj.hxx>
+#include <editeng/eeitem.hxx>
+#include <svx/fmglob.hxx>
+#include <editeng/outlobj.hxx>
+#include <svx/sdangitm.hxx>
+#include <svx/sderitm.hxx>
+#include <svx/sdmetitm.hxx>
+#include <svx/sdooitm.hxx>
+#include <svx/sdprcitm.hxx>
+#include <svx/sdrmasterpagedescriptor.hxx>
+#include <svx/sdrpageuser.hxx>
+#include <svx/sdtaitm.hxx>
+#include <svx/svdglue.hxx>
+#include <svx/svdlayer.hxx>
+#include <svx/svdoattr.hxx>
+#include <svx/svdobj.hxx>
+#include <svx/svdpage.hxx>
+#include <svx/svdpool.hxx>
+#include <svx/svdtrans.hxx>
+#include <svx/svdtypes.hxx>
+#include <svx/unoapi.hxx>
+#include <svx/volume3d.hxx>
+#include <svx/xcolit.hxx>
+#include <svx/xenum.hxx>
+#include <svx/xfillit0.hxx>
+#include <svx/xflasit.hxx>
+#include <svx/xlineit0.hxx>
+#include <svx/xlnasit.hxx>
+#include <svx/xtextit0.hxx>
+#include <tools/date.hxx>
+#include <tools/datetime.hxx>
+#include <tools/errcode.hxx>
+#include <tools/errinf.hxx>
+#include <tools/gen.hxx>
+#include <tools/globname.hxx>
+#include <tools/list.hxx>
+#include <tools/rc.hxx>
+#include <tools/rtti.hxx>
+#include <tools/solar.h>
+#include <tools/string.hxx>
+#include <tools/toolsdllapi.h>
+#include <tools/weakbase.h>
+#include <tools/weakbase.hxx>
+#include <typeinfo>
+#include <typelib/typeclass.h>
+#include <typelib/typedescription.h>
+#include <typelib/uik.h>
+#include <uno/any2.h>
+#include <uno/lbnames.h>
+#include <uno/sequence2.h>
+#include <unotools/ucbstreamhelper.hxx>
+
+#include <vcl/apptypes.hxx>
+#include <vcl/bitmap.hxx>
+#include <vcl/bitmapex.hxx>
+#include <vcl/dllapi.h>
+#include <vcl/dndhelp.hxx>
+#include <vcl/edit.hxx>
+#include <vcl/field.hxx>
+#include <tools/fldunit.hxx>
+#include <vcl/gdimtf.hxx>
+#include <vcl/inputctx.hxx>
+#include <vcl/jobset.hxx>
+#include <vcl/mapmod.hxx>
+#include <vcl/menu.hxx>
+#include <vcl/pointr.hxx>
+#include <vcl/print.hxx>
+#include <vcl/prntypes.hxx>
+#include <vcl/ptrstyle.hxx>
+#include <vcl/region.hxx>
+#include <vcl/salnativewidgets.hxx>
+#include <vcl/spinfld.hxx>
+#include <vcl/sv.h>
+#include <vcl/svapp.hxx>
+#include <vcl/vclevent.hxx>
+#include <vcl/window.hxx>
+#include <tools/wintypes.hxx>
+#include <vos/macros.hxx>
+#include <vos/object.hxx>
+#include <vos/types.hxx>
+#include <wchar.h>
+
+#endif
+
diff --git a/sc/inc/pch/precompiled_scui.cxx b/sc/inc/pch/precompiled_scui.cxx
new file mode 100644
index 0000000..c8cc334
--- /dev/null
+++ b/sc/inc/pch/precompiled_scui.cxx
@@ -0,0 +1,24 @@
+/**************************************************************
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ *************************************************************/
+
+
+
+#include "precompiled_scui.hxx"
diff --git a/sc/inc/pch/precompiled_scui.hxx b/sc/inc/pch/precompiled_scui.hxx
new file mode 100644
index 0000000..3ac930f
--- /dev/null
+++ b/sc/inc/pch/precompiled_scui.hxx
@@ -0,0 +1,241 @@
+/**************************************************************
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ *************************************************************/
+
+
+
+// MARKER(update_precomp.py): Generated on 2006-07-11 15:52:42.937361
+
+#ifdef PRECOMPILED_HEADERS
+#include <sal/config.h>
+#include "scitems.hxx"
+
+#include <algorithm>
+#include <assert.h>
+#include <deque>
+#include <stdarg.h>
+#include <stddef.h>
+#include <stdio.h>
+#include <string.h>
+#include <iosfwd>
+#include <limits.h>
+#include <limits>
+#include <list>
+#include <math.h>
+#include <memory>
+#include <new>
+#include <cfloat>
+
+#include <boost/bind.hpp>
+
+#include <basegfx/polygon/b2dpolygon.hxx>
+#include <basegfx/polygon/b3dpolygon.hxx>
+#include <basegfx/polygon/b3dpolypolygon.hxx>
+#include <com/sun/star/uno/Any.h>
+#include <com/sun/star/uno/Any.hxx>
+#include <com/sun/star/uno/Reference.h>
+#include <com/sun/star/uno/Sequence.h>
+#include <com/sun/star/uno/Sequence.hxx>
+#include <com/sun/star/uno/Type.hxx>
+#include <cppu/macros.hxx>
+#include <cppuhelper/weakref.hxx>
+#include <cstddef>
+#include <cwchar>
+#include <float.h>
+#include <functional>
+#include <com/sun/star/awt/Point.hdl>
+#include <com/sun/star/awt/Point.hpp>
+#include <com/sun/star/awt/Size.hdl>
+#include <com/sun/star/awt/Size.hpp>
+#include <com/sun/star/beans/PropertyVetoException.hdl>
+#include <com/sun/star/beans/PropertyVetoException.hpp>
+#include <com/sun/star/container/ElementExistException.hdl>
+#include <com/sun/star/container/ElementExistException.hpp>
+#include <com/sun/star/container/NoSuchElementException.hpp>
+#include <com/sun/star/container/XElementAccess.hdl>
+#include <com/sun/star/container/XElementAccess.hpp>
+#include <com/sun/star/container/XNameAccess.hpp>
+#include <com/sun/star/datatransfer/DataFlavor.hdl>
+#include <com/sun/star/datatransfer/dnd/DragGestureEvent.hpp>
+#include <com/sun/star/datatransfer/dnd/DragSourceDragEvent.hdl>
+#include <com/sun/star/datatransfer/dnd/DragSourceDragEvent.hpp>
+#include <com/sun/star/datatransfer/dnd/DragSourceDropEvent.hdl>
+#include <com/sun/star/datatransfer/dnd/DragSourceEvent.hpp>
+#include <com/sun/star/datatransfer/dnd/DropTargetDragEnterEvent.hdl>
+#include <com/sun/star/datatransfer/dnd/DropTargetDragEnterEvent.hpp>
+#include <com/sun/star/datatransfer/dnd/DropTargetDragEvent.hdl>
+#include <com/sun/star/datatransfer/dnd/DropTargetDragEvent.hpp>
+#include <com/sun/star/datatransfer/dnd/DropTargetDropEvent.hpp>
+#include <com/sun/star/datatransfer/dnd/DropTargetEvent.hdl>
+#include <com/sun/star/datatransfer/dnd/DropTargetEvent.hpp>
+#include <com/sun/star/datatransfer/dnd/XDragGestureListener.hdl>
+#include <com/sun/star/datatransfer/dnd/XDragGestureListener.hpp>
+#include <com/sun/star/datatransfer/dnd/XDragSource.hdl>
+#include <com/sun/star/datatransfer/dnd/XDragSource.hpp>
+#include <com/sun/star/datatransfer/dnd/XDragSourceContext.hdl>
+#include <com/sun/star/datatransfer/dnd/XDragSourceContext.hpp>
+#include <com/sun/star/datatransfer/dnd/XDragSourceListener.hdl>
+#include <com/sun/star/datatransfer/dnd/XDragSourceListener.hpp>
+#include <com/sun/star/datatransfer/dnd/XDropTargetDragContext.hpp>
+#include <com/sun/star/datatransfer/dnd/XDropTargetListener.hdl>
+#include <com/sun/star/datatransfer/dnd/XDropTargetListener.hpp>
+#include <com/sun/star/datatransfer/UnsupportedFlavorException.hdl>
+#include <com/sun/star/datatransfer/XTransferable.hpp>
+#include <com/sun/star/drawing/XShape.hpp>
+#include <com/sun/star/embed/InvalidStorageException.hpp>
+#include <com/sun/star/embed/StorageWrappedTargetException.hdl>
+#include <com/sun/star/embed/StorageWrappedTargetException.hpp>
+#include <com/sun/star/embed/XStorage.hdl>
+#include <com/sun/star/embed/XStorage.hpp>
+#include <com/sun/star/io/BufferSizeExceededException.hpp>
+#include <com/sun/star/io/IOException.hdl>
+#include <com/sun/star/io/NotConnectedException.hdl>
+#include <com/sun/star/io/NotConnectedException.hpp>
+#include <com/sun/star/io/XInputStream.hdl>
+#include <com/sun/star/io/XInputStream.hpp>
+#include <com/sun/star/io/XOutputStream.hdl>
+#include <com/sun/star/io/XOutputStream.hpp>
+#include <com/sun/star/io/XStream.hdl>
+#include <com/sun/star/lang/EventObject.hdl>
+#include <com/sun/star/lang/IllegalArgumentException.hpp>
+#include <com/sun/star/lang/WrappedTargetException.hdl>
+#include <com/sun/star/lang/WrappedTargetException.hpp>
+#include <com/sun/star/lang/XComponent.hpp>
+#include <com/sun/star/lang/XEventListener.hpp>
+#include <com/sun/star/packages/NoEncryptionException.hdl>
+#include <com/sun/star/packages/NoEncryptionException.hpp>
+#include <com/sun/star/packages/WrongPasswordException.hdl>
+#include <com/sun/star/packages/WrongPasswordException.hpp>
+#include <com/sun/star/uno/Exception.hdl>
+#include <com/sun/star/uno/Exception.hpp>
+#include <com/sun/star/uno/RuntimeException.hdl>
+#include <com/sun/star/uno/RuntimeException.hpp>
+#include <com/sun/star/uno/XAdapter.hdl>
+#include <com/sun/star/uno/XAdapter.hpp>
+#include <com/sun/star/uno/XInterface.hdl>
+#include <com/sun/star/uno/XReference.hdl>
+#include <com/sun/star/uno/XReference.hpp>
+#include <com/sun/star/uno/XWeak.hpp>
+#include <osl/endian.h>
+#include <osl/interlck.h>
+#include <osl/mutex.hxx>
+#include <rtl/alloc.h>
+#include <rtl/string.h>
+#include <rtl/ustrbuf.h>
+#include <rtl/ustring.h>
+#include <sal/mathconf.h>
+#include <sal/types.h>
+#include <sot/exchange.hxx>
+#include <sot/factory.hxx>
+#include <sot/storage.hxx>
+#include <svl/brdcst.hxx>
+#include <svl/cenumitm.hxx>
+#include <svl/cintitem.hxx>
+#include <unotools/fltrcfg.hxx>
+#include <svl/intitem.hxx>
+#include <svl/listener.hxx>
+#include <svl/lstner.hxx>
+#include <unotools/pathoptions.hxx>
+#include <svl/solar.hrc>
+#include <unotools/useroptions.hxx>
+#include <editeng/editobj.hxx>
+#include <editeng/eeitem.hxx>
+#include <svx/fmglob.hxx>
+#include <editeng/outlobj.hxx>
+#include <svx/sdangitm.hxx>
+#include <svx/sderitm.hxx>
+#include <svx/sdmetitm.hxx>
+#include <svx/sdooitm.hxx>
+#include <svx/sdprcitm.hxx>
+#include <svx/sdrmasterpagedescriptor.hxx>
+#include <svx/sdrpageuser.hxx>
+#include <svx/sdtaitm.hxx>
+#include <svx/svdglue.hxx>
+#include <svx/svdlayer.hxx>
+#include <svx/svdoattr.hxx>
+#include <svx/svdobj.hxx>
+#include <svx/svdpage.hxx>
+#include <svx/svdpool.hxx>
+#include <svx/svdtrans.hxx>
+#include <svx/svdtypes.hxx>
+#include <svx/unoapi.hxx>
+#include <svx/volume3d.hxx>
+#include <svx/xcolit.hxx>
+#include <svx/xenum.hxx>
+#include <svx/xfillit0.hxx>
+#include <svx/xflasit.hxx>
+#include <svx/xlineit0.hxx>
+#include <svx/xlnasit.hxx>
+#include <svx/xtextit0.hxx>
+#include <tools/date.hxx>
+#include <tools/datetime.hxx>
+#include <tools/errcode.hxx>
+#include <tools/errinf.hxx>
+#include <tools/gen.hxx>
+#include <tools/globname.hxx>
+#include <tools/list.hxx>
+#include <tools/rc.hxx>
+#include <tools/rtti.hxx>
+#include <tools/solar.h>
+#include <tools/string.hxx>
+#include <tools/toolsdllapi.h>
+#include <tools/weakbase.h>
+#include <tools/weakbase.hxx>
+#include <typeinfo>
+#include <typelib/typeclass.h>
+#include <typelib/typedescription.h>
+#include <typelib/uik.h>
+#include <uno/any2.h>
+#include <uno/lbnames.h>
+#include <uno/sequence2.h>
+#include <unotools/ucbstreamhelper.hxx>
+
+#include <vcl/apptypes.hxx>
+#include <vcl/bitmap.hxx>
+#include <vcl/bitmapex.hxx>
+#include <vcl/dllapi.h>
+#include <vcl/dndhelp.hxx>
+#include <vcl/edit.hxx>
+#include <vcl/field.hxx>
+#include <tools/fldunit.hxx>
+#include <vcl/gdimtf.hxx>
+#include <vcl/inputctx.hxx>
+#include <vcl/jobset.hxx>
+#include <vcl/mapmod.hxx>
+#include <vcl/menu.hxx>
+#include <vcl/pointr.hxx>
+#include <vcl/print.hxx>
+#include <vcl/prntypes.hxx>
+#include <vcl/ptrstyle.hxx>
+#include <vcl/region.hxx>
+#include <vcl/salnativewidgets.hxx>
+#include <vcl/spinfld.hxx>
+#include <vcl/sv.h>
+#include <vcl/svapp.hxx>
+#include <vcl/vclevent.hxx>
+#include <vcl/window.hxx>
+#include <tools/wintypes.hxx>
+#include <vos/macros.hxx>
+#include <vos/object.hxx>
+#include <vos/types.hxx>
+#include <wchar.h>
+
+#endif
+
diff --git a/sc/prj/build.lst b/sc/prj/build.lst
index 4d898ca..7160573 100644
--- a/sc/prj/build.lst
+++ b/sc/prj/build.lst
@@ -1,58 +1,2 @@
 sc      sc      :       filter L10N:l10n vbahelper oovbaapi svx uui stoc BOOST:boost formula MDDS:mdds oox LIBXSLT:libxslt NULL
-sc	sc							usr1	-	all	sc_mkout NULL
-sc	sc\inc							nmake	-	all	sc_inc NULL
-sc	sc\prj							get	-	all	sc_prj NULL
-sc	sc\res							get	-	all	sc_res NULL
-sc	sc\res\imglst\inputwin					get	-	all	sc_resiw NULL
-sc	sc\res\imglst\navipi					get	-	all	sc_resna NULL
-sc	sc\res\imglst\apptbx					get	-	all	sc_resap NULL
-sc	sc\source\ui\inc					get	-	all	sc_uiinc NULL
-sc	sc\source\filter\inc					get	-	all	sc_fiinc NULL
-sc	sc\addin\inc						get	-	all	sc_adinc NULL
-sc	sc\sdi							nmake	-	all	sc_sdi sc_inc NULL
-sc	sc\source\core\data					nmake	-	all	sc_data sc_sdi sc_inc NULL
-sc	sc\source\core\src					nmake	-	all	sc_cosrc sc_sdi sc_inc NULL
-sc	sc\source\core\tool					nmake	-	all	sc_tool sc_sdi sc_inc NULL
-sc	sc\source\ui\Accessibility				nmake	-	all	sc_acc sc_sdi sc_inc NULL
-sc	sc\source\ui\app					nmake	-	all	sc_app sc_sdi sc_inc NULL
-sc	sc\source\ui\attrdlg					nmake	-	all	sc_attr sc_sdi sc_inc NULL
-sc	sc\source\ui\cctrl					nmake	-	all	sc_cctrl sc_sdi sc_inc NULL
-sc	sc\source\ui\dbgui					nmake	-	all	sc_dbgui sc_sdi sc_inc NULL
-sc	sc\source\ui\docshell					nmake	-	all	sc_docsh sc_sdi sc_inc NULL
-sc	sc\source\ui\drawfunc					nmake	-	all	sc_drfnc sc_sdi sc_inc NULL
-sc	sc\source\ui\formdlg					nmake	-	all	sc_form sc_sdi sc_inc NULL
-sc	sc\source\ui\miscdlgs					nmake	-	all	sc_misc sc_sdi sc_inc NULL
-sc	sc\source\ui\namedlg					nmake	-	all	sc_name sc_sdi sc_inc NULL
-sc	sc\source\ui\navipi					nmake	-	all	sc_nvipi sc_sdi sc_inc NULL
-sc	sc\source\ui\optdlg					nmake	-	all	sc_opt sc_sdi sc_inc NULL
-sc	sc\source\ui\pagedlg					nmake	-	all	sc_page sc_sdi sc_inc NULL
-sc	sc\source\ui\sidebar					nmake	-	all	sc_sidebar sc_sdi sc_inc NULL

... etc. - the rest is truncated


More information about the Libreoffice-commits mailing list