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
,\
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 \
113 # Runtime dependency for unit-tests
114 $(eval
$(call gb_Library_use_restarget
,sm
,sm
))
116 # vim: set noet sw=4 ts=4: