office-gobmx/sd/Library_sdui.mk
Luboš Luňák 42af04bf24 do not require $(SRCDIR) in every gb_Library_set_precompiled_header
Change-Id: I7b3a22584bb2e4d501f509ffcd80929feed23a4c
Reviewed-on: https://gerrit.libreoffice.org/79360
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2019-09-23 10:47:25 +02:00

101 lines
2.4 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/.
#
$(eval $(call gb_Library_Library,sdui))
$(eval $(call gb_Library_set_include,sdui,\
$$(INCLUDE) \
-I$(SRCDIR)/sd/inc \
-I$(SRCDIR)/sd/source/ui/inc \
))
ifeq ($(ENABLE_SDREMOTE),TRUE)
$(eval $(call gb_Library_add_defs,sdui,\
-DENABLE_SDREMOTE \
))
ifeq ($(ENABLE_SDREMOTE_BLUETOOTH),TRUE)
$(eval $(call gb_Library_add_defs,sdui,\
-DENABLE_SDREMOTE_BLUETOOTH \
))
endif
endif
$(eval $(call gb_Library_use_custom_headers,sdui,\
officecfg/registry \
))
$(eval $(call gb_Library_set_precompiled_header,sdui,sd/inc/pch/precompiled_sdui))
$(eval $(call gb_Library_use_external,sdui,boost_headers))
$(eval $(call gb_Library_use_sdk_api,sdui))
$(eval $(call gb_Library_use_libraries,sdui,\
basegfx \
comphelper \
cppcanvas \
cppu \
cppuhelper \
editeng \
i18nlangtag \
fwl \
fwe \
sal \
salhelper \
sd \
sfx \
sot \
svl \
svt \
svxcore \
svx \
tl \
utl \
vcl \
cui \
))
$(eval $(call gb_Library_add_exception_objects,sdui,\
sd/source/filter/html/htmlattr \
sd/source/filter/html/pubdlg \
sd/source/ui/dlg/brkdlg \
sd/source/ui/dlg/copydlg \
sd/source/ui/dlg/custsdlg \
sd/source/ui/dlg/dlgchar \
sd/source/ui/dlg/dlgfield \
sd/source/ui/dlg/dlgolbul \
sd/source/ui/dlg/dlgpage \
sd/source/ui/dlg/dlgsnap \
sd/source/ui/dlg/headerfooterdlg \
sd/source/ui/dlg/inspagob \
sd/source/ui/dlg/masterlayoutdlg \
sd/source/ui/dlg/morphdlg \
sd/source/ui/dlg/paragr \
sd/source/ui/dlg/present \
sd/source/ui/dlg/prltempl \
sd/source/ui/dlg/prntopts \
sd/source/ui/dlg/RemoteDialog \
sd/source/ui/dlg/RemoteDialogClientBox \
sd/source/ui/dlg/sddlgfact \
sd/source/ui/dlg/sdpreslt \
sd/source/ui/dlg/sduiexp \
sd/source/ui/dlg/tabtempl \
sd/source/ui/dlg/tpaction \
sd/source/ui/dlg/tpoption \
sd/source/ui/dlg/vectdlg \
sd/source/ui/dlg/PhotoAlbumDialog \
sd/source/ui/dlg/BulletAndPositionDlg \
))
# $(WORKDIR)/inc/sd/sddll0.hxx :
# echo "#define" DLL_NAME \"$(if $(filter-out WNT,$(OS)),lib)sd$(DLLPOSTFIX)$(DLLPOST)\" > $@
# vim: set noet sw=4 ts=4: