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 \
24 $(eval
$(call gb_Library_add_defs
,sm
,\
25 -DSM_DLLIMPLEMENTATION \
28 $(eval
$(call gb_Library_use_externals
,sm
, \
33 $(eval
$(call gb_Library_use_custom_headers
,sm
,\
38 $(eval
$(call gb_Library_use_sdk_api
,sm
))
40 $(eval
$(call gb_Library_use_libraries
,sm
,\
64 $(eval
$(call gb_Library_add_exception_objects
,sm
,\
65 starmath
/source
/ElementsDockingWindow \
66 starmath
/source
/accessibility \
67 starmath
/source
/action \
68 starmath
/source
/caret \
69 starmath
/source
/cfgitem \
70 starmath
/source
/cursor \
71 starmath
/source
/dialog \
72 starmath
/source
/document \
73 starmath
/source
/edit \
74 starmath
/source
/format \
75 starmath
/source
/mathmlattr \
76 starmath
/source
/mathmlexport \
77 starmath
/source
/mathmlimport \
78 starmath
/source
/mathtype \
79 starmath
/source
/node \
80 starmath
/source
/ooxmlexport \
81 starmath
/source
/ooxmlimport \
82 starmath
/source
/rtfexport \
83 starmath
/source
/parse \
84 starmath
/source
/rect \
85 starmath
/source
/register \
86 starmath
/source
/smdll \
87 starmath
/source
/smmod \
88 starmath
/source
/symbol \
89 starmath
/source
/tmpdevice \
90 starmath
/source
/typemap \
91 starmath
/source
/uiobject \
92 starmath
/source
/unodoc \
93 starmath
/source
/unofilter \
94 starmath
/source
/unomodel \
95 starmath
/source
/utility \
96 starmath
/source
/view \
97 starmath
/source
/visitors \
98 starmath
/source
/wordexportbase \
102 $(eval
$(call gb_SdiTarget_SdiTarget
,starmath
/sdi
/smslots
,starmath
/sdi
/smath
))
104 $(eval
$(call gb_SdiTarget_set_include
,starmath
/sdi
/smslots
,\
105 -I
$(SRCDIR
)/starmath
/inc \
106 -I
$(SRCDIR
)/starmath
/sdi \
107 -I
$(SRCDIR
)/svx
/sdi \
108 -I
$(SRCDIR
)/sfx2
/sdi \
112 # Runtime dependency for unit-tests
113 $(eval
$(call gb_Library_use_restarget
,sm
,sm
))
115 # vim: set noet sw=4 ts=4: