tdf#100151: Dispose of window if DX device creation failed
[LibreOffice.git] / framework / Library_fwi.mk
blobed8dfb2b6c104162fe6d9cd587cced08f5357def
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,fwi))
22 $(eval $(call gb_Library_add_defs,fwi,\
23 -DFWI_DLLIMPLEMENTATION \
26 $(eval $(call gb_Library_use_sdk_api,fwi))
28 $(eval $(call gb_Library_set_include,fwi,\
29 -I$(SRCDIR)/framework/source/inc \
30 -I$(SRCDIR)/framework/inc \
31 $$(INCLUDE) \
34 $(eval $(call gb_Library_use_external,fwi,boost_headers))
36 $(eval $(call gb_Library_set_precompiled_header,fwi,$(SRCDIR)/framework/inc/pch/precompiled_fwi))
38 $(eval $(call gb_Library_use_libraries,fwi,\
39 comphelper \
40 cppu \
41 cppuhelper \
42 i18nlangtag \
43 sal \
44 salhelper \
45 svl \
46 svt \
47 tk \
48 tl \
49 utl \
50 vcl \
51 $(gb_UWINAPI) \
54 $(eval $(call gb_Library_add_exception_objects,fwi,\
55 framework/source/fwi/classes/converter \
56 framework/source/fwi/classes/protocolhandlercache \
57 framework/source/fwi/helper/mischelper \
58 framework/source/fwi/helper/shareablemutex \
59 framework/source/fwi/jobs/configaccess \
60 framework/source/fwi/jobs/jobconst \
61 framework/source/fwi/threadhelp/transactionmanager \
62 framework/source/fwi/uielement/constitemcontainer \
63 framework/source/fwi/uielement/itemcontainer \
64 framework/source/fwi/uielement/rootitemcontainer \
67 ifeq ($(OS),WNT)
68 $(eval $(call gb_Library_use_system_win32_libs,fwi,\
69 advapi32 \
71 endif
73 # vim: set noet sw=4 ts=4: