office-gobmx/connectivity/Library_calc.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

51 lines
1.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,calc))
$(eval $(call gb_Library_set_componentfile,calc,connectivity/source/drivers/calc/calc))
$(eval $(call gb_Library_use_external,calc,boost_headers))
$(eval $(call gb_Library_use_sdk_api,calc))
$(eval $(call gb_Library_set_include,calc,\
$$(INCLUDE) \
-I$(SRCDIR)/connectivity/inc \
-I$(SRCDIR)/connectivity/source/inc \
-I$(WORKDIR)/YaccTarget/connectivity/source/parse \
))
$(eval $(call gb_Library_set_precompiled_header,calc,connectivity/inc/pch/precompiled_calc))
$(eval $(call gb_Library_use_libraries,calc,\
cppu \
cppuhelper \
svl \
tl \
utl \
sal \
salhelper \
dbtools \
file \
comphelper \
))
$(eval $(call gb_Library_add_exception_objects,calc,\
connectivity/source/drivers/calc/CDatabaseMetaData \
connectivity/source/drivers/calc/CCatalog \
connectivity/source/drivers/calc/CTable \
connectivity/source/drivers/calc/CTables \
connectivity/source/drivers/calc/CConnection \
connectivity/source/drivers/calc/Cservices \
connectivity/source/drivers/calc/CDriver \
))
# vim: set noet sw=4 ts=4: