1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License. You may obtain a copy of the License at
7 # http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
14 # The Initial Developer of the Original Code is
15 # Norbert Thiebaud <nthiebaud@gmail.com> (C) 2010, All Rights Reserved.
17 # Alternatively, the contents of this file may be used under the terms of
18 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
19 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
20 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
21 # instead of those above.
23 $(eval
$(call gb_Library_Library
,sm
))
25 $(eval
$(call gb_Library_add_sdi_headers
,sm
,starmath
/sdi
/smslots
))
27 $(eval
$(call gb_Library_set_componentfile
,sm
,starmath
/util
/sm
))
29 $(eval
$(call gb_Library_set_include
,sm
,\
30 -I
$(SRCDIR
)/starmath
/inc \
31 -I
$(WORKDIR
)/SdiTarget
/starmath
/sdi \
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
/accessibility \
64 starmath
/source
/action \
65 starmath
/source
/caret \
66 starmath
/source
/cfgitem \
67 starmath
/source
/config \
68 starmath
/source
/cursor \
69 starmath
/source
/dialog \
70 starmath
/source
/document \
71 starmath
/source
/edit \
72 starmath
/source
/format \
73 starmath
/source
/mathmlexport \
74 starmath
/source
/mathmlimport \
75 starmath
/source
/mathtype \
76 starmath
/source
/node \
77 starmath
/source
/ooxmlexport \
78 starmath
/source
/ooxmlimport \
79 starmath
/source
/rtfexport \
80 starmath
/source
/parse \
81 starmath
/source
/rect \
82 starmath
/source
/register \
83 starmath
/source
/smdll \
84 starmath
/source
/smmod \
85 starmath
/source
/symbol \
86 starmath
/source
/toolbox \
87 starmath
/source
/typemap \
88 starmath
/source
/types \
89 starmath
/source
/unodoc \
90 starmath
/source
/unomodel \
91 starmath
/source
/utility \
92 starmath
/source
/view \
93 starmath
/source
/visitors \
94 starmath
/source
/wordexportbase \
98 $(eval
$(call gb_SdiTarget_SdiTarget
,starmath
/sdi
/smslots
,starmath
/sdi
/smath
))
100 $(eval
$(call gb_SdiTarget_set_include
,starmath
/sdi
/smslots
,\
101 -I
$(SRCDIR
)/starmath
/inc \
102 -I
$(SRCDIR
)/starmath
/sdi \
106 # Runtime dependency for unit-tests
107 $(call gb_LinkTarget_get_target
,$(call gb_Library_get_linktargetname
,sm
)) :| \
108 $(call gb_AllLangResTarget_get_target
,sm
)
110 # vim: set noet sw=4 ts=4: