f6c0803e99
Change-Id: I240f15f87e27ba8a52bab244f8c784d527bff179
263 lines
9.2 KiB
Makefile
263 lines
9.2 KiB
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
#
|
|
# This file is part of the LibreOffice project.
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
#
|
|
# This file incorporates work covered by the following license notice:
|
|
#
|
|
# 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 .
|
|
#
|
|
|
|
$(eval $(call gb_Library_Library,svt))
|
|
|
|
$(eval $(call gb_Library_set_precompiled_header,svt,$(SRCDIR)/svtools/inc/pch/precompiled_svt))
|
|
|
|
$(eval $(call gb_Library_set_componentfile,svt,svtools/util/svt))
|
|
|
|
$(eval $(call gb_Library_use_custom_headers,svt,\
|
|
officecfg/registry \
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_sdk_api,svt))
|
|
|
|
$(eval $(call gb_Library_set_include,svt,\
|
|
$$(INCLUDE) \
|
|
-I$(SRCDIR)/svtools/source/inc \
|
|
-I$(SRCDIR)/svtools/inc \
|
|
))
|
|
|
|
$(eval $(call gb_Library_add_defs,svt,\
|
|
-DSVT_DLLIMPLEMENTATION \
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_libraries,svt,\
|
|
basegfx \
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
i18nlangtag \
|
|
i18nutil \
|
|
$(if $(ENABLE_JAVA), \
|
|
jvmfwk) \
|
|
salhelper \
|
|
sal \
|
|
sot \
|
|
svl \
|
|
tk \
|
|
tl \
|
|
ucbhelper \
|
|
utl \
|
|
vcl \
|
|
$(gb_UWINAPI) \
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_externals,svt,\
|
|
boost_headers \
|
|
icuuc \
|
|
icu_headers \
|
|
))
|
|
|
|
$(eval $(call gb_Library_add_exception_objects,svt,\
|
|
svtools/source/brwbox/brwbox1 \
|
|
svtools/source/brwbox/brwbox2 \
|
|
svtools/source/brwbox/brwbox3 \
|
|
svtools/source/brwbox/brwhead \
|
|
svtools/source/brwbox/datwin \
|
|
svtools/source/brwbox/ebbcontrols \
|
|
svtools/source/brwbox/editbrowsebox \
|
|
svtools/source/brwbox/editbrowsebox2 \
|
|
svtools/source/config/accessibilityoptions \
|
|
svtools/source/config/apearcfg \
|
|
svtools/source/config/colorcfg \
|
|
svtools/source/config/extcolorcfg \
|
|
svtools/source/config/fontsubstconfig \
|
|
svtools/source/config/helpopt \
|
|
svtools/source/config/htmlcfg \
|
|
svtools/source/config/itemholder2 \
|
|
svtools/source/config/menuoptions \
|
|
svtools/source/config/miscopt \
|
|
svtools/source/config/slidesorterbaropt \
|
|
svtools/source/config/toolpanelopt \
|
|
svtools/source/config/optionsdrawinglayer \
|
|
svtools/source/config/printoptions \
|
|
svtools/source/contnr/DocumentInfoPreview \
|
|
svtools/source/contnr/contentenumeration \
|
|
svtools/source/contnr/fileview \
|
|
svtools/source/contnr/imivctl1 \
|
|
svtools/source/contnr/imivctl2 \
|
|
svtools/source/contnr/ivctrl \
|
|
svtools/source/contnr/simptabl \
|
|
svtools/source/contnr/svimpbox \
|
|
svtools/source/contnr/svlbitm \
|
|
svtools/source/contnr/svtabbx \
|
|
svtools/source/contnr/templwin \
|
|
svtools/source/contnr/treelist \
|
|
svtools/source/contnr/treelistbox \
|
|
svtools/source/contnr/treelistentry \
|
|
svtools/source/contnr/viewdataentry \
|
|
svtools/source/control/accessibleruler \
|
|
svtools/source/control/asynclink \
|
|
svtools/source/control/calendar \
|
|
svtools/source/control/collatorres \
|
|
svtools/source/control/ctrlbox \
|
|
svtools/source/control/ctrltool \
|
|
svtools/source/control/filectrl \
|
|
svtools/source/control/fileurlbox \
|
|
svtools/source/control/fmtfield \
|
|
svtools/source/control/headbar \
|
|
svtools/source/control/hyperlabel \
|
|
svtools/source/control/indexentryres \
|
|
svtools/source/control/inettbc \
|
|
svtools/source/control/roadmap \
|
|
svtools/source/control/ruler \
|
|
svtools/source/control/scriptedtext \
|
|
svtools/source/control/scrwin \
|
|
svtools/source/control/stdctrl \
|
|
svtools/source/control/stdmenu \
|
|
svtools/source/control/tabbar \
|
|
svtools/source/control/toolbarmenu \
|
|
svtools/source/control/toolbarmenuacc \
|
|
svtools/source/control/urlcontrol \
|
|
svtools/source/control/valueacc \
|
|
svtools/source/control/valueset \
|
|
svtools/source/control/vclxaccessibleheaderbar \
|
|
svtools/source/control/vclxaccessibleheaderbaritem \
|
|
svtools/source/dialogs/addresstemplate \
|
|
svtools/source/dialogs/colrdlg \
|
|
svtools/source/dialogs/insdlg \
|
|
svtools/source/dialogs/mcvmath \
|
|
svtools/source/dialogs/PlaceEditDialog \
|
|
svtools/source/dialogs/prnsetup \
|
|
svtools/source/dialogs/restartdialog \
|
|
svtools/source/dialogs/roadmapwizard \
|
|
svtools/source/dialogs/ServerDetailsControls \
|
|
svtools/source/dialogs/wizardmachine \
|
|
svtools/source/dialogs/wizdlg \
|
|
svtools/source/edit/editsyntaxhighlighter \
|
|
svtools/source/edit/svmedit \
|
|
svtools/source/edit/svmedit2 \
|
|
svtools/source/edit/textwindowpeer \
|
|
svtools/source/filter/SvFilterOptionsDialog \
|
|
svtools/source/filter/GraphicExportOptionsDialog \
|
|
svtools/source/filter/DocumentToGraphicRenderer \
|
|
svtools/source/filter/exportdialog \
|
|
svtools/source/graphic/descriptor \
|
|
svtools/source/graphic/graphic \
|
|
svtools/source/graphic/graphicunofactory \
|
|
svtools/source/graphic/grfattr \
|
|
svtools/source/graphic/grfcache \
|
|
svtools/source/graphic/grfmgr \
|
|
svtools/source/graphic/grfmgr2 \
|
|
svtools/source/graphic/provider \
|
|
svtools/source/graphic/renderer \
|
|
svtools/source/graphic/transformer \
|
|
svtools/source/hatchwindow/documentcloser \
|
|
svtools/source/hatchwindow/hatchwindow \
|
|
svtools/source/hatchwindow/hatchwindowfactory \
|
|
svtools/source/hatchwindow/ipwin \
|
|
$(if $(ENABLE_JAVA), \
|
|
svtools/source/java/javacontext \
|
|
svtools/source/java/javainteractionhandler) \
|
|
svtools/source/misc/acceleratorexecute \
|
|
svtools/source/misc/bindablecontrolhelper \
|
|
svtools/source/misc/cliplistener \
|
|
svtools/source/misc/dialogclosedlistener \
|
|
svtools/source/misc/dialogcontrolling \
|
|
svtools/source/misc/ehdl \
|
|
svtools/source/misc/embedhlp \
|
|
svtools/source/misc/embedtransfer \
|
|
svtools/source/misc/filechangedchecker \
|
|
svtools/source/misc/imagemgr \
|
|
svtools/source/misc/imageresourceaccess \
|
|
svtools/source/misc/imap \
|
|
svtools/source/misc/imap2 \
|
|
svtools/source/misc/imap3 \
|
|
svtools/source/misc/langtab \
|
|
svtools/source/misc/langhelp \
|
|
svtools/source/misc/openfiledroptargetlistener \
|
|
svtools/source/misc/sampletext \
|
|
svtools/source/misc/stringtransfer \
|
|
svtools/source/misc/svtaccessiblefactory \
|
|
svtools/source/misc/svtresid \
|
|
svtools/source/misc/templatefoldercache \
|
|
svtools/source/misc/transfer \
|
|
svtools/source/misc/transfer2 \
|
|
svtools/source/misc/unitconv \
|
|
svtools/source/misc/xwindowitem \
|
|
svtools/source/svhtml/htmlkywd \
|
|
svtools/source/svhtml/htmlout \
|
|
svtools/source/svhtml/htmlsupp \
|
|
svtools/source/svhtml/HtmlWriter \
|
|
svtools/source/svhtml/parhtml \
|
|
svtools/source/svrtf/parrtf \
|
|
svtools/source/svrtf/rtfkeywd \
|
|
svtools/source/svrtf/rtfout \
|
|
svtools/source/svrtf/svparser \
|
|
svtools/source/table/defaultinputhandler \
|
|
svtools/source/table/gridtablerenderer \
|
|
svtools/source/table/tablecontrol \
|
|
svtools/source/table/tablecontrol_impl \
|
|
svtools/source/table/tabledatawindow \
|
|
svtools/source/table/mousefunction \
|
|
svtools/source/table/cellvalueconversion \
|
|
svtools/source/table/tablegeometry \
|
|
svtools/source/toolpanel/drawerlayouter \
|
|
svtools/source/toolpanel/dummypanel \
|
|
svtools/source/toolpanel/paneldecklisteners \
|
|
svtools/source/toolpanel/paneltabbar \
|
|
svtools/source/toolpanel/paneltabbarpeer \
|
|
svtools/source/toolpanel/tabbargeometry \
|
|
svtools/source/toolpanel/tablayouter \
|
|
svtools/source/toolpanel/toolpanel \
|
|
svtools/source/toolpanel/toolpanelcollection \
|
|
svtools/source/toolpanel/toolpaneldeck \
|
|
svtools/source/toolpanel/toolpaneldeckpeer \
|
|
svtools/source/toolpanel/toolpaneldrawer \
|
|
svtools/source/toolpanel/toolpaneldrawerpeer \
|
|
svtools/source/uno/addrtempuno \
|
|
svtools/source/uno/contextmenuhelper \
|
|
svtools/source/uno/fpicker \
|
|
svtools/source/uno/framestatuslistener \
|
|
svtools/source/uno/generictoolboxcontroller \
|
|
svtools/source/uno/genericunodialog \
|
|
svtools/source/uno/miscservices \
|
|
svtools/source/uno/popupmenucontrollerbase \
|
|
svtools/source/uno/popupwindowcontroller \
|
|
svtools/source/uno/statusbarcontroller \
|
|
svtools/source/uno/svtxgridcontrol \
|
|
svtools/source/uno/toolboxcontroller \
|
|
svtools/source/uno/treecontrolpeer \
|
|
svtools/source/uno/unocontroltablemodel \
|
|
svtools/source/uno/unogridcolumnfacade \
|
|
svtools/source/uno/unoevent \
|
|
svtools/source/uno/unoiface \
|
|
svtools/source/uno/unoimap \
|
|
svtools/source/uno/wizard/unowizard \
|
|
svtools/source/uno/wizard/wizardpagecontroller \
|
|
svtools/source/uno/wizard/wizardshell \
|
|
svtools/source/urlobj/inetimg \
|
|
))
|
|
|
|
ifeq ($(OS),WNT)
|
|
$(eval $(call gb_Library_use_system_win32_libs,svt,\
|
|
advapi32 \
|
|
gdi32 \
|
|
ole32 \
|
|
oleaut32 \
|
|
uuid \
|
|
))
|
|
endif
|
|
|
|
# Runtime dependency for unit-tests
|
|
$(eval $(call gb_Library_use_restarget,svt,svt))
|
|
|
|
# vim: set noet sw=4 ts=4:
|