xref: /trunk/main/vbahelper/Library_vbahelper.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,vbahelper))
25
26$(eval $(call gb_Library_add_package_headers,vbahelper,vbahelper_inc))
27
28# for platforms supporting PCH: declare the location of the pch file
29# this is the name of the cxx file (without extension)
30#$(eval $(call gb_Library_add_precompiled_header,vbahelper,$(SRCDIR)/vbahelper/PCH_FILE))
31
32# in case UNO services are exported: declare location of component file
33#$(eval $(call gb_Library_set_componentfile,vbahelper,vbahelper/COMPONENT_FILE))
34
35# add any additional include paths for this library here
36$(eval $(call gb_Library_set_include,vbahelper,\
37	$$(INCLUDE) \
38))
39
40$(eval $(call gb_Library_add_defs,vbahelper,\
41	-DVBAHELPER_DLLIMPLEMENTATION \
42))
43
44$(eval $(call gb_Library_add_api,vbahelper,\
45	udkapi \
46	offapi \
47	oovbaapi \
48))
49
50# add libraries to be linked to vbahelper; again these names need to be given as
51# specified in Repository.mk
52$(eval $(call gb_Library_add_linked_libs,vbahelper,\
53	comphelper \
54	cppu \
55	cppuhelper \
56	msfilter \
57	sal \
58	sb \
59	sfx \
60	stl \
61	svl \
62	svt \
63	svxcore \
64	ootk \
65	tl \
66	utl \
67	vcl \
68	$(gb_STDLIBS) \
69))
70
71# add all source files that shall be compiled with exceptions enabled
72# the name is relative to $(SRCROOT) and must not contain an extension
73$(eval $(call gb_Library_add_exception_objects,vbahelper,\
74    vbahelper/source/vbahelper/collectionbase \
75    vbahelper/source/vbahelper/vbaapplicationbase \
76    vbahelper/source/vbahelper/vbacolorformat \
77    vbahelper/source/vbahelper/vbacommandbar \
78    vbahelper/source/vbahelper/vbacommandbarcontrol \
79    vbahelper/source/vbahelper/vbacommandbarcontrols \
80    vbahelper/source/vbahelper/vbacommandbarhelper \
81    vbahelper/source/vbahelper/vbacommandbars \
82    vbahelper/source/vbahelper/vbadialogbase \
83    vbahelper/source/vbahelper/vbadialogsbase \
84    vbahelper/source/vbahelper/vbadocumentbase \
85    vbahelper/source/vbahelper/vbadocumentsbase \
86    vbahelper/source/vbahelper/vbaeventshelperbase \
87    vbahelper/source/vbahelper/vbafillformat \
88    vbahelper/source/vbahelper/vbafontbase \
89    vbahelper/source/vbahelper/vbaglobalbase \
90    vbahelper/source/vbahelper/vbahelper \
91    vbahelper/source/vbahelper/vbalineformat \
92    vbahelper/source/vbahelper/vbapagesetupbase \
93    vbahelper/source/vbahelper/vbapictureformat \
94    vbahelper/source/vbahelper/vbapropvalue \
95    vbahelper/source/vbahelper/vbashape \
96    vbahelper/source/vbahelper/vbashaperange \
97    vbahelper/source/vbahelper/vbashapes \
98    vbahelper/source/vbahelper/vbatextframe \
99    vbahelper/source/vbahelper/vbawindowbase \
100))
101
102# vim: set noet sw=4 ts=4:
103
104