-Werror=maybe-uninitialized
[LibreOffice.git] / filter / Library_svgfilter.mk
blob37372b9d0cfa026cfcbc2570ba6e8cabbe901cdc
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/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_Library_Library,svgfilter))
22 $(eval $(call gb_Library_use_custom_headers,svgfilter,filter/source/svg))
24 $(eval $(call gb_Library_set_componentfile,svgfilter,filter/source/svg/svgfilter,services))
26 $(eval $(call gb_Library_add_defs,svgfilter,\
27 -DBOOST_ALL_NO_LIB \
28 -DUSE_MODERN_SPIRIT \
29 -DFILTER_DLLIMPLEMENTATION \
32 ifeq ($(COM),MSC)
33 $(eval $(call gb_Library_add_defs,svgfilter,\
34 -D_SILENCE_CXX17_ALLOCATOR_VOID_DEPRECATION_WARNING \
35 -D_SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING \
37 endif
39 $(eval $(call gb_Library_set_include,svgfilter,\
40 $$(INCLUDE) \
41 -I$(SRCDIR)/filter/inc \
44 $(eval $(call gb_Library_use_sdk_api,svgfilter))
46 $(eval $(call gb_Library_use_libraries,svgfilter,\
47 svxcore \
48 editeng \
49 xo \
50 svt \
51 vcl \
52 svl \
53 utl \
54 tl \
55 i18nlangtag \
56 sax \
57 salhelper \
58 comphelper \
59 drawinglayercore \
60 drawinglayer \
61 basegfx \
62 cppuhelper \
63 cppu \
64 sal \
67 $(eval $(call gb_Library_use_externals,svgfilter,\
68 boost_headers \
69 libxml2 \
72 $(eval $(call gb_Library_add_exception_objects,svgfilter,\
73 filter/source/svg/svgfilter \
74 filter/source/svg/svgexport \
75 filter/source/svg/svgfontexport \
76 filter/source/svg/svgwriter \
79 # vim: set noet sw=4 ts=4: