fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / libwpg / Library_wpg.mk
blobf1ac9919a9d087707f2b121c8e75e2e63a94a6b5
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,wpg))
12 $(eval $(call gb_Library_use_unpacked,wpg,libwpg))
14 $(eval $(call gb_Library_use_externals,wpg,\
15 revenge \
16 wpd \
19 $(eval $(call gb_Library_set_warnings_not_errors,wpg))
21 $(eval $(call gb_Library_set_include,wpg,\
22 -I$(call gb_UnpackedTarball_get_dir,libwpg)/inc \
23 $$(INCLUDE) \
26 $(eval $(call gb_Library_add_defs,wpg,\
27 -DBOOST_ALL_NO_LIB \
28 -DDLL_EXPORT \
29 -DLIBWPG_BUILD \
30 -DNDEBUG \
33 $(eval $(call gb_Library_set_generated_cxx_suffix,wpg,cpp))
35 $(eval $(call gb_Library_add_generated_exception_objects,wpg,\
36 UnpackedTarball/libwpg/src/lib/WPG1Parser \
37 UnpackedTarball/libwpg/src/lib/WPG2Parser \
38 UnpackedTarball/libwpg/src/lib/WPGBitmap \
39 UnpackedTarball/libwpg/src/lib/WPGColor \
40 UnpackedTarball/libwpg/src/lib/WPGDashArray \
41 UnpackedTarball/libwpg/src/lib/WPGHeader \
42 UnpackedTarball/libwpg/src/lib/WPGXParser \
43 UnpackedTarball/libwpg/src/lib/WPGraphics \
46 # vim: set noet sw=4 ts=4: