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_external
,sm
,boost_headers
))
30 $(eval
$(call gb_Library_use_custom_headers
,sm
,\
35 $(eval
$(call gb_Library_use_sdk_api
,sm
))
37 $(eval
$(call gb_Library_use_libraries
,sm
,\
62 $(eval
$(call gb_Library_add_exception_objects
,sm
,\
63 starmath
/source
/ElementsDockingWindow \
64 starmath
/source
/accessibility \
65 starmath
/source
/action \
66 starmath
/source
/caret \
67 starmath
/source
/cfgitem \
68 starmath
/source
/config \
69 starmath
/source
/cursor \
70 starmath
/source
/dialog \
71 starmath
/source
/document \
72 starmath
/source
/edit \
73 starmath
/source
/format \
74 starmath
/source
/mathmlexport \
75 starmath
/source
/mathmlimport \
76 starmath
/source
/mathtype \
77 starmath
/source
/node \
78 starmath
/source
/ooxmlexport \
79 starmath
/source
/ooxmlimport \
80 starmath
/source
/rtfexport \
81 starmath
/source
/parse \
82 starmath
/source
/rect \
83 starmath
/source
/register \
84 starmath
/source
/smdll \
85 starmath
/source
/smmod \
86 starmath
/source
/symbol \
87 starmath
/source
/tmpdevice \
88 starmath
/source
/typemap \
89 starmath
/source
/unodoc \
90 starmath
/source
/unofilter \
91 starmath
/source
/unomodel \
92 starmath
/source
/utility \
93 starmath
/source
/view \
94 starmath
/source
/visitors \
95 starmath
/source
/wordexportbase \
99 $(eval
$(call gb_SdiTarget_SdiTarget
,starmath
/sdi
/smslots
,starmath
/sdi
/smath
))
101 $(eval
$(call gb_SdiTarget_set_include
,starmath
/sdi
/smslots
,\
102 -I
$(SRCDIR
)/starmath
/inc \
103 -I
$(SRCDIR
)/starmath
/sdi \
104 -I
$(SRCDIR
)/svx
/sdi \
105 -I
$(SRCDIR
)/sfx2
/sdi \
109 # Runtime dependency for unit-tests
110 $(eval
$(call gb_Library_use_restarget
,sm
,sm
))
112 # vim: set noet sw=4 ts=4: