fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / librevenge / Library_revenge.mk
blob19767818190c5b7bc3d7c8636ab4e9f9248aafaf
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Library_Library,revenge))
12 $(eval $(call gb_Library_use_unpacked,revenge,librevenge))
14 $(eval $(call gb_Library_use_externals,revenge,\
15 boost_headers \
18 $(eval $(call gb_Library_set_warnings_not_errors,revenge))
20 $(eval $(call gb_Library_set_include,revenge,\
21 -I$(call gb_UnpackedTarball_get_dir,librevenge)/inc \
22 $$(INCLUDE) \
25 # -DLIBREVENGE_STREAM_BUILD is present so that linker does not complain
26 # about unresolved external symbol RVNGStream::~RVNGStream
27 $(eval $(call gb_Library_add_defs,revenge,\
28 -DBOOST_ALL_NO_LIB \
29 -DDLL_EXPORT \
30 -DLIBREVENGE_BUILD \
31 -DLIBREVENGE_STREAM_BUILD \
32 -DNDEBUG \
35 $(eval $(call gb_Library_set_generated_cxx_suffix,revenge,cpp))
37 $(eval $(call gb_Library_add_generated_exception_objects,revenge,\
38 UnpackedTarball/librevenge/src/lib/RVNGBinaryData \
39 UnpackedTarball/librevenge/src/lib/RVNGMemoryStream \
40 UnpackedTarball/librevenge/src/lib/RVNGProperty \
41 UnpackedTarball/librevenge/src/lib/RVNGPropertyList \
42 UnpackedTarball/librevenge/src/lib/RVNGPropertyListVector \
43 UnpackedTarball/librevenge/src/lib/RVNGString \
44 UnpackedTarball/librevenge/src/lib/RVNGStringVector \
45 UnpackedTarball/librevenge/src/lib/RVNGSVGDrawingGenerator \
48 # vim: set noet sw=4 ts=4: