xref: /aoo42x/main/starmath/Library_sm.mk (revision b63233d8)
1###############################################################
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20###############################################################
21
22
23
24$(eval $(call gb_Library_Library,sm))
25
26$(eval $(call gb_Library_add_sdi_headers,sm,starmath/sdi/smslots))
27
28$(eval $(call gb_Library_add_precompiled_header,sm,$(SRCDIR)/starmath/inc/pch/precompiled_starmath))
29
30$(eval $(call gb_Library_set_componentfile,sm,starmath/util/sm))
31
32$(eval $(call gb_Library_add_api,sm,\
33	udkapi \
34	offapi \
35))
36
37$(eval $(call gb_Library_set_include,sm,\
38	-I$(SRCDIR)/starmath/inc/pch \
39	-I$(SRCDIR)/starmath/inc \
40	-I$(WORKDIR)/SdiTarget/starmath/sdi \
41	$$(INCLUDE) \
42	-I$(OUTDIR)/inc \
43))
44
45$(eval $(call gb_Library_add_linked_libs,sm,\
46	comphelper \
47	cppu \
48	cppuhelper \
49	editeng \
50	i18npaper \
51	ootk \
52	sal \
53	sfx \
54	sot \
55	stl \
56	svl \
57	svt \
58	svx \
59	svxcore \
60	tl \
61	utl \
62	vcl \
63	xo \
64    $(gb_STDLIBS) \
65))
66
67$(eval $(call gb_Library_add_exception_objects,sm,\
68	starmath/source/accessibility \
69	starmath/source/action \
70	starmath/source/cfgitem \
71	starmath/source/config \
72	starmath/source/dialog \
73	starmath/source/document \
74	starmath/source/edit \
75	starmath/source/eqnolefilehdr \
76	starmath/source/format \
77	starmath/source/mathmlexport \
78	starmath/source/mathmlimport \
79	starmath/source/mathtype \
80	starmath/source/node \
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/toolbox \
88	starmath/source/typemap \
89	starmath/source/types \
90	starmath/source/unodoc \
91	starmath/source/unomodel \
92	starmath/source/utility \
93	starmath/source/view \
94))
95
96$(eval $(call gb_SdiTarget_SdiTarget,starmath/sdi/smslots,starmath/sdi/smath))
97
98$(eval $(call gb_SdiTarget_set_include,starmath/sdi/smslots,\
99	-I$(SRCDIR)/starmath/inc \
100	-I$(SRCDIR)/starmath/sdi \
101	$$(INCLUDE) \
102))
103
104# vim: set noet sw=4 ts=4:
105