blob: 966e6acc889778d262ced555ae0f58bfb0f34bbd [file] [log] [blame]
Armin Le Grand83535a22017-06-09 19:55:17 +02001#
Michael Meeksd037b812026-03-26 15:06:16 +00002# This file is part of the Collabora Office project.
Armin Le Grand83535a22017-06-09 19:55:17 +02003#
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/.
7#
8# This file incorporates work covered by the following license notice:
9#
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 .
17#
18
19$(eval $(call gb_Library_Library,emfio))
20
Stephan Bergmanndb3a61c2021-12-09 10:15:05 +010021$(eval $(call gb_Library_set_componentfile,emfio,emfio/emfio,services))
Armin Le Grand83535a22017-06-09 19:55:17 +020022
23$(eval $(call gb_Library_set_include,emfio,\
24 $$(INCLUDE) \
25 -I$(SRCDIR)/emfio/inc \
26))
27
Markus Mohrhard29cdfa32017-07-17 02:53:08 +020028$(eval $(call gb_Library_add_defs,emfio,\
29 -DEMFIO_DLLIMPLEMENTATION \
30))
31
Armin Le Grandc7470f52017-06-15 16:35:31 +020032$(eval $(call gb_Library_use_custom_headers,emfio,\
33 officecfg/registry \
34))
35
Armin Le Grand83535a22017-06-09 19:55:17 +020036$(eval $(call gb_Library_use_external,emfio,boost_headers))
37
Luboš Luňák42af04b2019-06-22 12:34:48 +020038$(eval $(call gb_Library_set_precompiled_header,emfio,emfio/inc/pch/precompiled_emfio))
Armin Le Grand83535a22017-06-09 19:55:17 +020039
40$(eval $(call gb_Library_use_sdk_api,emfio))
41
42$(eval $(call gb_Library_use_libraries,emfio,\
43 basegfx \
Tomaž Vajngerl7bd62c02020-03-07 14:33:43 +010044 drawinglayercore \
Armin Le Grand83535a22017-06-09 19:55:17 +020045 drawinglayer \
46 cppu \
47 cppuhelper \
48 sal \
Armin Le Grandc7470f52017-06-15 16:35:31 +020049 comphelper \
Armin Le Grand83535a22017-06-09 19:55:17 +020050 tl \
Noel Grandin5dd762d2018-04-12 09:53:27 +020051 salhelper \
Armin Le Grand83535a22017-06-09 19:55:17 +020052 vcl \
53 svt \
Armin Le Grand600a2aa2017-06-12 19:31:10 +020054 utl \
Armin Le Grand83535a22017-06-09 19:55:17 +020055))
56
57$(eval $(call gb_Library_add_exception_objects,emfio,\
Armin Le Grand83535a22017-06-09 19:55:17 +020058 emfio/source/emfuno/xemfparser \
Armin Le Grandc7470f52017-06-15 16:35:31 +020059 emfio/source/reader/mtftools \
60 emfio/source/reader/wmfreader \
61 emfio/source/reader/emfreader \
Armin Le Grand83535a22017-06-09 19:55:17 +020062))
63
64# vim: set noet sw=4 ts=4: