ofz#45073 don't dereference null pointer on bogus font
[LibreOffice.git] / emfio / Library_emfio.mk
blobcd877c52fa5becb65d86aeff845365da0e57da86
2 # This file is part of the LibreOffice project.
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 # This file incorporates work covered by the following license notice:
10 # Licensed to the Apache Software Foundation (ASF) under one or more
11 # contributor license agreements. See the NOTICE file distributed
12 # with this work for additional information regarding copyright
13 # ownership. The ASF licenses this file to you under the Apache
14 # License, Version 2.0 (the "License"); you may not use this file
15 # except in compliance with the License. You may obtain a copy of
16 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 $(eval $(call gb_Library_Library,emfio))
21 $(eval $(call gb_Library_set_componentfile,emfio,emfio/emfio))
23 $(eval $(call gb_Library_set_include,emfio,\
24 $$(INCLUDE) \
25 -I$(SRCDIR)/emfio/inc \
28 $(eval $(call gb_Library_add_defs,emfio,\
29 -DEMFIO_DLLIMPLEMENTATION \
32 $(eval $(call gb_Library_use_custom_headers,emfio,\
33 officecfg/registry \
36 $(eval $(call gb_Library_use_external,emfio,boost_headers))
38 $(eval $(call gb_Library_set_precompiled_header,emfio,emfio/inc/pch/precompiled_emfio))
40 $(eval $(call gb_Library_use_sdk_api,emfio))
42 $(eval $(call gb_Library_use_libraries,emfio,\
43 basegfx \
44 drawinglayer \
45 cppu \
46 cppuhelper \
47 sal \
48 comphelper \
49 tl \
50 salhelper \
51 vcl \
52 svt \
53 utl \
56 $(eval $(call gb_Library_add_exception_objects,emfio,\
57 emfio/source/emfuno/xemfparser \
58 emfio/source/reader/mtftools \
59 emfio/source/reader/wmfreader \
60 emfio/source/reader/emfreader \
63 # vim: set noet sw=4 ts=4: