office-gobmx/sc/Library_sc.mk
2012-07-02 14:43:34 +01:00

567 lines
18 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Initial Developer of the Original Code is
# Norbert Thiebaud <nthiebaud@gmail.com> (C) 2010, All Rights Reserved.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Library_Library,sc))
$(eval $(call gb_Library_add_sdi_headers,sc,sc/sdi/scslots))
$(eval $(call gb_Library_set_componentfile,sc,sc/util/sc))
$(eval $(call gb_Library_set_include,sc,\
-I$(SRCDIR)/sc/source/core/inc \
-I$(SRCDIR)/sc/source/filter/inc \
-I$(SRCDIR)/sc/source/ui/inc \
-I$(SRCDIR)/sc/inc \
-I$(WORKDIR)/SdiTarget/sc/sdi \
$$(INCLUDE) \
))
$(eval $(call gb_Library_add_defs,sc,\
-DSC_DLLIMPLEMENTATION \
-DSC_INFO_OSVERSION=\"$(OS)\" \
))
$(eval $(call gb_Library_use_sdk_api,sc))
$(eval $(call gb_Library_use_libraries,sc,\
avmedia \
basegfx \
comphelper \
cppu \
cppuhelper \
drawinglayer \
editeng \
for \
forui \
i18nisolang1 \
sal \
salhelper \
sax \
sb \
sfx \
sot \
svl \
svt \
svx \
svxcore \
tk \
tl \
ucbhelper \
utl \
vbahelper \
vcl \
xo \
$(gb_STDLIBS) \
))
$(eval $(call gb_Library_add_exception_objects,sc,\
sc/source/core/data/attarray \
sc/source/core/data/attrib \
sc/source/core/data/autonamecache \
sc/source/core/data/bcaslot \
sc/source/core/data/cell \
sc/source/core/data/cell2 \
sc/source/core/data/clipparam \
sc/source/core/data/column \
sc/source/core/data/column2 \
sc/source/core/data/column3 \
sc/source/core/data/compressedarray \
sc/source/core/data/colorscale \
sc/source/core/data/conditio \
sc/source/core/data/dbdocutl \
sc/source/core/data/dociter \
sc/source/core/data/docparam \
sc/source/core/data/docpool \
sc/source/core/data/documen2 \
sc/source/core/data/documen3 \
sc/source/core/data/documen4 \
sc/source/core/data/documen5 \
sc/source/core/data/documen6 \
sc/source/core/data/documen7 \
sc/source/core/data/documen8 \
sc/source/core/data/documen9 \
sc/source/core/data/document \
sc/source/core/data/dpcachetable \
sc/source/core/data/dpdimsave \
sc/source/core/data/dpgroup \
sc/source/core/data/dpitemdata \
sc/source/core/data/dpnumgroupinfo \
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/dpcache \
sc/source/core/data/dptabres \
sc/source/core/data/dptabsrc \
sc/source/core/data/dputil \
sc/source/core/data/drawpage \
sc/source/core/data/drwlayer \
sc/source/core/data/fillinfo \
sc/source/core/data/funcdesc \
sc/source/core/data/global \
sc/source/core/data/global2 \
sc/source/core/data/globalx \
sc/source/core/data/markarr \
sc/source/core/data/markdata \
sc/source/core/data/olinetab \
sc/source/core/data/pagepar \
sc/source/core/data/patattr \
sc/source/core/data/pivot2 \
sc/source/core/data/poolhelp \
sc/source/core/data/postit \
sc/source/core/data/segmenttree \
sc/source/core/data/sheetevents \
sc/source/core/data/sortparam \
sc/source/core/data/stlpool \
sc/source/core/data/stlsheet \
sc/source/core/data/subtotalparam \
sc/source/core/data/tabbgcolor \
sc/source/core/data/table1 \
sc/source/core/data/table2 \
sc/source/core/data/table3 \
sc/source/core/data/table4 \
sc/source/core/data/table5 \
sc/source/core/data/table6 \
sc/source/core/data/tabprotection \
sc/source/core/data/userdat \
sc/source/core/data/validat \
sc/source/core/tool/addincfg \
sc/source/core/tool/addincol \
sc/source/core/tool/addinhelpid \
sc/source/core/tool/addinlis \
sc/source/core/tool/address \
sc/source/core/tool/adiasync \
sc/source/core/tool/appoptio \
sc/source/core/tool/autoform \
sc/source/core/tool/calcconfig \
sc/source/core/tool/callform \
sc/source/core/tool/cellform \
sc/source/core/tool/cellkeytranslator \
sc/source/core/tool/chartarr \
sc/source/core/tool/charthelper \
sc/source/core/tool/chartlis \
sc/source/core/tool/chartlock \
sc/source/core/tool/chartpos \
sc/source/core/tool/chgtrack \
sc/source/core/tool/chgviset \
sc/source/core/tool/compiler \
sc/source/core/tool/consoli \
sc/source/core/tool/dbdata \
sc/source/core/tool/ddelink \
sc/source/core/tool/defaultsoptions \
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/formulaopt \
sc/source/core/tool/formulaparserpool \
sc/source/core/tool/formularesult \
sc/source/core/tool/hints \
sc/source/core/tool/inputopt \
sc/source/core/tool/interpr1 \
sc/source/core/tool/interpr2 \
sc/source/core/tool/interpr3 \
sc/source/core/tool/interpr4 \
sc/source/core/tool/interpr5 \
sc/source/core/tool/interpr6 \
sc/source/core/tool/interpr7 \
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/queryentry \
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/recursionhelper \
sc/source/core/tool/refdata \
sc/source/core/tool/reffind \
sc/source/core/tool/refreshtimer \
sc/source/core/tool/reftokenhelper \
sc/source/core/tool/refupdat \
sc/source/core/tool/scmatrix \
sc/source/core/tool/simplerangelist \
sc/source/core/tool/stringutil \
sc/source/core/tool/subtotal \
sc/source/core/tool/token \
sc/source/core/tool/typedstrdata \
sc/source/core/tool/unitconv \
sc/source/core/tool/userlist \
sc/source/core/tool/viewopti \
sc/source/core/tool/zforauto \
sc/source/filter/xml/XMLCalculationSettingsContext \
sc/source/filter/xml/XMLCellRangeSourceContext \
sc/source/filter/xml/XMLChangeTrackingExportHelper \
sc/source/filter/xml/XMLChangeTrackingImportHelper \
sc/source/filter/xml/XMLCodeNameProvider \
sc/source/filter/xml/XMLColumnRowGroupExport \
sc/source/filter/xml/XMLConsolidationContext \
sc/source/filter/xml/XMLConverter \
sc/source/filter/xml/XMLDDELinksContext \
sc/source/filter/xml/XMLDetectiveContext \
sc/source/filter/xml/XMLEmptyContext \
sc/source/filter/xml/XMLExportDDELinks \
sc/source/filter/xml/XMLExportDataPilot \
sc/source/filter/xml/XMLExportDatabaseRanges \
sc/source/filter/xml/XMLExportIterator \
sc/source/filter/xml/XMLExportSharedData \
sc/source/filter/xml/XMLStylesExportHelper \
sc/source/filter/xml/XMLStylesImportHelper \
sc/source/filter/xml/XMLTableHeaderFooterContext \
sc/source/filter/xml/XMLTableMasterPageExport \
sc/source/filter/xml/XMLTableShapeImportHelper \
sc/source/filter/xml/XMLTableShapeResizer \
sc/source/filter/xml/XMLTableShapesContext \
sc/source/filter/xml/XMLTableSourceContext \
sc/source/filter/xml/XMLTextPContext \
sc/source/filter/xml/XMLTrackedChangesContext \
sc/source/filter/xml/cachedattraccess \
sc/source/filter/xml/sheetdata \
sc/source/filter/xml/xmlannoi \
sc/source/filter/xml/xmlbodyi \
sc/source/filter/xml/xmlcelli \
sc/source/filter/xml/xmlcoli \
sc/source/filter/xml/xmlcondformat \
sc/source/filter/xml/xmlconti \
sc/source/filter/xml/xmlcvali \
sc/source/filter/xml/xmldpimp \
sc/source/filter/xml/xmldrani \
sc/source/filter/xml/xmlexprt \
sc/source/filter/xml/xmlexternaltabi \
sc/source/filter/xml/xmlfilti \
sc/source/filter/xml/xmlfonte \
sc/source/filter/xml/xmlimprt \
sc/source/filter/xml/xmllabri \
sc/source/filter/xml/xmlnexpi \
sc/source/filter/xml/xmlrowi \
sc/source/filter/xml/xmlsceni \
sc/source/filter/xml/xmlsorti \
sc/source/filter/xml/xmlstyle \
sc/source/filter/xml/xmlstyli \
sc/source/filter/xml/xmlsubti \
sc/source/filter/xml/xmltabi \
sc/source/filter/xml/xmlwrap \
sc/source/ui/Accessibility/AccessibilityHints \
sc/source/ui/Accessibility/AccessibleCell \
sc/source/ui/Accessibility/AccessibleCellBase \
sc/source/ui/Accessibility/AccessibleContextBase \
sc/source/ui/Accessibility/AccessibleCsvControl \
sc/source/ui/Accessibility/AccessibleDataPilotControl \
sc/source/ui/Accessibility/AccessibleDocument \
sc/source/ui/Accessibility/AccessibleDocumentBase \
sc/source/ui/Accessibility/AccessibleDocumentPagePreview \
sc/source/ui/Accessibility/AccessibleEditObject \
sc/source/ui/Accessibility/AccessibleFilterMenu \
sc/source/ui/Accessibility/AccessibleFilterMenuItem \
sc/source/ui/Accessibility/AccessibleFilterTopWindow \
sc/source/ui/Accessibility/AccessibleGlobal \
sc/source/ui/Accessibility/AccessiblePageHeader \
sc/source/ui/Accessibility/AccessiblePageHeaderArea \
sc/source/ui/Accessibility/AccessiblePreviewCell \
sc/source/ui/Accessibility/AccessiblePreviewHeaderCell \
sc/source/ui/Accessibility/AccessiblePreviewTable \
sc/source/ui/Accessibility/AccessibleSpreadsheet \
sc/source/ui/Accessibility/AccessibleTableBase \
sc/source/ui/Accessibility/AccessibleText \
sc/source/ui/Accessibility/DrawModelBroadcaster \
sc/source/ui/app/client \
sc/source/ui/app/drwtrans \
sc/source/ui/app/inputhdl \
sc/source/ui/app/inputwin \
sc/source/ui/app/lnktrans \
sc/source/ui/app/msgpool \
sc/source/ui/app/rfindlst \
sc/source/ui/app/scdll \
sc/source/ui/app/scmod \
sc/source/ui/app/scmod2 \
sc/source/ui/app/seltrans \
sc/source/ui/app/transobj \
sc/source/ui/app/typemap \
sc/source/ui/app/uiitems \
sc/source/ui/attrdlg/scabstdlg \
sc/source/ui/cctrl/cbuttonw \
sc/source/ui/cctrl/checklistmenu \
sc/source/ui/cctrl/dpcontrol \
sc/source/ui/cctrl/popmenu \
sc/source/ui/cctrl/tbinsert \
sc/source/ui/cctrl/tbzoomsliderctrl \
sc/source/ui/dbgui/asciiopt \
sc/source/ui/dbgui/consdlg \
sc/source/ui/dbgui/csvcontrol \
sc/source/ui/dbgui/csvgrid \
sc/source/ui/dbgui/csvruler \
sc/source/ui/dbgui/csvsplits \
sc/source/ui/dbgui/csvtablebox \
sc/source/ui/dbgui/dbnamdlg \
sc/source/ui/dbgui/expftext \
sc/source/ui/dbgui/fieldwnd \
sc/source/ui/dbgui/filtdlg \
sc/source/ui/dbgui/foptmgr \
sc/source/ui/dbgui/imoptdlg \
sc/source/ui/dbgui/pvlaydlg \
sc/source/ui/dbgui/sfiltdlg \
sc/source/ui/docshell/arealink \
sc/source/ui/docshell/autostyl \
sc/source/ui/docshell/dbdocfun \
sc/source/ui/docshell/dbdocimp \
sc/source/ui/docshell/docfunc \
sc/source/ui/docshell/docsh \
sc/source/ui/docshell/docsh2 \
sc/source/ui/docshell/docsh3 \
sc/source/ui/docshell/docsh4 \
sc/source/ui/docshell/docsh5 \
sc/source/ui/docshell/docsh6 \
sc/source/ui/docshell/docsh7 \
sc/source/ui/docshell/docsh8 \
sc/source/ui/docshell/editable \
sc/source/ui/docshell/externalrefmgr \
sc/source/ui/docshell/impex \
sc/source/ui/docshell/macromgr \
sc/source/ui/docshell/olinefun \
sc/source/ui/docshell/pagedata \
sc/source/ui/docshell/pntlock \
sc/source/ui/docshell/servobj \
sc/source/ui/docshell/sizedev \
sc/source/ui/docshell/tablink \
sc/source/ui/drawfunc/chartsh \
sc/source/ui/drawfunc/drawsh \
sc/source/ui/drawfunc/drawsh2 \
sc/source/ui/drawfunc/drawsh4 \
sc/source/ui/drawfunc/drawsh5 \
sc/source/ui/drawfunc/drformsh \
sc/source/ui/drawfunc/drtxtob \
sc/source/ui/drawfunc/drtxtob1 \
sc/source/ui/drawfunc/drtxtob2 \
sc/source/ui/drawfunc/fuconarc \
sc/source/ui/drawfunc/fuconcustomshape \
sc/source/ui/drawfunc/fuconpol \
sc/source/ui/drawfunc/fuconrec \
sc/source/ui/drawfunc/fuconstr \
sc/source/ui/drawfunc/fuconuno \
sc/source/ui/drawfunc/fudraw \
sc/source/ui/drawfunc/fuins1 \
sc/source/ui/drawfunc/fuins2 \
sc/source/ui/drawfunc/fumark \
sc/source/ui/drawfunc/fupoor \
sc/source/ui/drawfunc/fusel \
sc/source/ui/drawfunc/fusel2 \
sc/source/ui/drawfunc/futext \
sc/source/ui/drawfunc/futext2 \
sc/source/ui/drawfunc/futext3 \
sc/source/ui/drawfunc/graphsh \
sc/source/ui/drawfunc/mediash \
sc/source/ui/drawfunc/oleobjsh \
sc/source/ui/formdlg/dwfunctr \
sc/source/ui/formdlg/formdata \
sc/source/ui/formdlg/formula \
sc/source/ui/formdlg/privsplt \
sc/source/ui/miscdlgs/acredlin \
sc/source/ui/miscdlgs/anyrefdg \
sc/source/ui/miscdlgs/autofmt \
sc/source/ui/miscdlgs/conflictsdlg \
sc/source/ui/miscdlgs/crnrdlg \
sc/source/ui/miscdlgs/highred \
sc/source/ui/miscdlgs/optsolver \
sc/source/ui/miscdlgs/protectiondlg \
sc/source/ui/miscdlgs/redcom \
sc/source/ui/miscdlgs/retypepassdlg \
sc/source/ui/miscdlgs/sharedocdlg \
sc/source/ui/miscdlgs/simpref \
sc/source/ui/miscdlgs/solveroptions \
sc/source/ui/miscdlgs/solverutil \
sc/source/ui/miscdlgs/solvrdlg \
sc/source/ui/miscdlgs/tabopdlg \
sc/source/ui/miscdlgs/warnbox \
sc/source/ui/namedlg/namedefdlg \
sc/source/ui/namedlg/namedlg \
sc/source/ui/namedlg/namemgrtable \
sc/source/ui/navipi/content \
sc/source/ui/navipi/navcitem \
sc/source/ui/navipi/navipi \
sc/source/ui/navipi/scenwnd \
sc/source/ui/pagedlg/areasdlg \
sc/source/ui/pagedlg/tphfedit \
sc/source/ui/undo/areasave \
sc/source/ui/undo/refundo \
sc/source/ui/undo/target \
sc/source/ui/undo/undobase \
sc/source/ui/undo/undoblk \
sc/source/ui/undo/undoblk2 \
sc/source/ui/undo/undoblk3 \
sc/source/ui/undo/undocell \
sc/source/ui/undo/undodat \
sc/source/ui/undo/undodraw \
sc/source/ui/undo/undoolk \
sc/source/ui/undo/undorangename \
sc/source/ui/undo/undostyl \
sc/source/ui/undo/undotab \
sc/source/ui/undo/undoutil \
sc/source/ui/unoobj/ChartRangeSelectionListener \
sc/source/ui/unoobj/addruno \
sc/source/ui/unoobj/afmtuno \
sc/source/ui/unoobj/appluno \
sc/source/ui/unoobj/celllistsource \
sc/source/ui/unoobj/cellsuno \
sc/source/ui/unoobj/cellvaluebinding \
sc/source/ui/unoobj/chart2uno \
sc/source/ui/unoobj/chartuno \
sc/source/ui/unoobj/confuno \
sc/source/ui/unoobj/convuno \
sc/source/ui/unoobj/cursuno \
sc/source/ui/unoobj/dapiuno \
sc/source/ui/unoobj/datauno \
sc/source/ui/unoobj/defltuno \
sc/source/ui/unoobj/dispuno \
sc/source/ui/unoobj/docuno \
sc/source/ui/unoobj/drdefuno \
sc/source/ui/unoobj/editsrc \
sc/source/ui/unoobj/eventuno \
sc/source/ui/unoobj/fielduno \
sc/source/ui/unoobj/filtuno \
sc/source/ui/unoobj/fmtuno \
sc/source/ui/unoobj/forbiuno \
sc/source/ui/unoobj/funcuno \
sc/source/ui/unoobj/linkuno \
sc/source/ui/unoobj/listenercalls \
sc/source/ui/unoobj/miscuno \
sc/source/ui/unoobj/nameuno \
sc/source/ui/unoobj/notesuno \
sc/source/ui/unoobj/optuno \
sc/source/ui/unoobj/pageuno \
sc/source/ui/unoobj/servuno \
sc/source/ui/unoobj/shapeuno \
sc/source/ui/unoobj/srchuno \
sc/source/ui/unoobj/styleuno \
sc/source/ui/unoobj/targuno \
sc/source/ui/unoobj/textuno \
sc/source/ui/unoobj/tokenuno \
sc/source/ui/unoobj/unodoc \
sc/source/ui/unoobj/unoreflist \
sc/source/ui/unoobj/viewuno \
sc/source/ui/unoobj/warnpassword \
sc/source/ui/view/auditsh \
sc/source/ui/view/cellmergeoption \
sc/source/ui/view/cellsh \
sc/source/ui/view/cellsh1 \
sc/source/ui/view/cellsh2 \
sc/source/ui/view/cellsh3 \
sc/source/ui/view/cellsh4 \
sc/source/ui/view/colrowba \
sc/source/ui/view/cliputil \
sc/source/ui/view/dbfunc \
sc/source/ui/view/dbfunc2 \
sc/source/ui/view/dbfunc3 \
sc/source/ui/view/dbfunc4 \
sc/source/ui/view/drawutil \
sc/source/ui/view/drawvie2 \
sc/source/ui/view/drawvie3 \
sc/source/ui/view/drawvie4 \
sc/source/ui/view/drawview \
sc/source/ui/view/editsh \
sc/source/ui/view/formatsh \
sc/source/ui/view/galwrap \
sc/source/ui/view/gridmerg \
sc/source/ui/view/gridwin \
sc/source/ui/view/gridwin2 \
sc/source/ui/view/gridwin3 \
sc/source/ui/view/gridwin4 \
sc/source/ui/view/gridwin5 \
sc/source/ui/view/hdrcont \
sc/source/ui/view/hintwin \
sc/source/ui/view/imapwrap \
sc/source/ui/view/invmerge \
sc/source/ui/view/notemark \
sc/source/ui/view/olinewin \
sc/source/ui/view/olkact \
sc/source/ui/view/output \
sc/source/ui/view/output2 \
sc/source/ui/view/output3 \
sc/source/ui/view/overlayobject \
sc/source/ui/view/pfuncache \
sc/source/ui/view/pgbrksh \
sc/source/ui/view/pivotsh \
sc/source/ui/view/preview \
sc/source/ui/view/prevloc \
sc/source/ui/view/prevwsh \
sc/source/ui/view/prevwsh2 \
sc/source/ui/view/printfun \
sc/source/ui/view/reffact \
sc/source/ui/view/scextopt \
sc/source/ui/view/select \
sc/source/ui/view/selectionstate \
sc/source/ui/view/spelldialog \
sc/source/ui/view/spelleng \
sc/source/ui/view/tabcont \
sc/source/ui/view/tabsplit \
sc/source/ui/view/tabview \
sc/source/ui/view/tabview2 \
sc/source/ui/view/tabview3 \
sc/source/ui/view/tabview4 \
sc/source/ui/view/tabview5 \
sc/source/ui/view/tabvwsh \
sc/source/ui/view/tabvwsh2 \
sc/source/ui/view/tabvwsh3 \
sc/source/ui/view/tabvwsh4 \
sc/source/ui/view/tabvwsh5 \
sc/source/ui/view/tabvwsh8 \
sc/source/ui/view/tabvwsh9 \
sc/source/ui/view/tabvwsha \
sc/source/ui/view/tabvwshb \
sc/source/ui/view/tabvwshc \
sc/source/ui/view/tabvwshd \
sc/source/ui/view/tabvwshe \
sc/source/ui/view/tabvwshf \
sc/source/ui/view/tabvwshg \
sc/source/ui/view/tabvwshh \
sc/source/ui/view/viewdata \
sc/source/ui/view/viewfun2 \
sc/source/ui/view/viewfun3 \
sc/source/ui/view/viewfun4 \
sc/source/ui/view/viewfun5 \
sc/source/ui/view/viewfun6 \
sc/source/ui/view/viewfun7 \
sc/source/ui/view/viewfunc \
sc/source/ui/view/viewutil \
sc/source/ui/view/waitoff \
))
$(eval $(call gb_SdiTarget_SdiTarget,sc/sdi/scslots,sc/sdi/scalc))
$(eval $(call gb_SdiTarget_set_include,sc/sdi/scslots,\
-I$(SRCDIR)/sc/inc \
-I$(SRCDIR)/sc/sdi \
$$(INCLUDE) \
))
# vim: set noet sw=4 ts=4: