tdf#100151: Dispose of window if DX device creation failed
[LibreOffice.git] / starmath / Library_sm.mk
blobd9c2d6d56da12bb3b89852097154fbe1e82695b6
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,sm))
12 $(eval $(call gb_Library_add_sdi_headers,sm,starmath/sdi/smslots))
14 $(eval $(call gb_Library_set_componentfile,sm,starmath/util/sm))
16 $(eval $(call gb_Library_set_precompiled_header,sm,$(SRCDIR)/starmath/inc/pch/precompiled_sm))
18 $(eval $(call gb_Library_set_include,sm,\
19 -I$(SRCDIR)/starmath/inc \
20 -I$(WORKDIR)/SdiTarget/starmath/sdi \
21 $$(INCLUDE) \
24 $(eval $(call gb_Library_add_defs,sm,\
25 -DSM_DLLIMPLEMENTATION \
28 $(eval $(call gb_Library_use_externals,sm, \
29 boost_headers \
30 icu_headers \
33 $(eval $(call gb_Library_use_custom_headers,sm,\
34 officecfg/registry \
35 oox/generated \
38 $(eval $(call gb_Library_use_sdk_api,sm))
40 $(eval $(call gb_Library_use_libraries,sm,\
41 comphelper \
42 cppu \
43 cppuhelper \
44 editeng \
45 i18nutil \
46 i18nlangtag \
47 msfilter \
48 oox \
49 sal \
50 sax \
51 sfx \
52 sot \
53 svl \
54 svt \
55 svx \
56 svxcore \
57 tk \
58 tl \
59 utl \
60 vcl \
61 xo \
62 $(gb_UWINAPI) \
65 $(eval $(call gb_Library_add_exception_objects,sm,\
66 starmath/source/ElementsDockingWindow \
67 starmath/source/accessibility \
68 starmath/source/action \
69 starmath/source/caret \
70 starmath/source/cfgitem \
71 starmath/source/cursor \
72 starmath/source/dialog \
73 starmath/source/document \
74 starmath/source/edit \
75 starmath/source/format \
76 starmath/source/mathmlattr \
77 starmath/source/mathmlexport \
78 starmath/source/mathmlimport \
79 starmath/source/mathtype \
80 starmath/source/node \
81 starmath/source/ooxmlexport \
82 starmath/source/ooxmlimport \
83 starmath/source/rtfexport \
84 starmath/source/parse \
85 starmath/source/rect \
86 starmath/source/register \
87 starmath/source/smdll \
88 starmath/source/smmod \
89 starmath/source/symbol \
90 starmath/source/tmpdevice \
91 starmath/source/typemap \
92 starmath/source/uiobject \
93 starmath/source/unodoc \
94 starmath/source/unofilter \
95 starmath/source/unomodel \
96 starmath/source/utility \
97 starmath/source/view \
98 starmath/source/visitors \
99 starmath/source/wordexportbase \
103 $(eval $(call gb_SdiTarget_SdiTarget,starmath/sdi/smslots,starmath/sdi/smath))
105 $(eval $(call gb_SdiTarget_set_include,starmath/sdi/smslots,\
106 -I$(SRCDIR)/starmath/inc \
107 -I$(SRCDIR)/starmath/sdi \
108 -I$(SRCDIR)/svx/sdi \
109 -I$(SRCDIR)/sfx2/sdi \
110 $$(INCLUDE) \
113 # Runtime dependency for unit-tests
114 $(eval $(call gb_Library_use_restarget,sm,sm))
116 # vim: set noet sw=4 ts=4: