1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2011 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28$(eval $(call gb_Library_Library,vbahelper))
29
30$(eval $(call gb_Library_add_package_headers,vbahelper,vbahelper_inc))
31
32# for platforms supporting PCH: declare the location of the pch file
33# this is the name of the cxx file (without extension)
34#$(eval $(call gb_Library_add_precompiled_header,vbahelper,$(SRCDIR)/vbahelper/PCH_FILE))
35
36# in case UNO services are exported: declare location of component file
37#$(eval $(call gb_Library_set_componentfile,vbahelper,vbahelper/COMPONENT_FILE))
38
39# add any additional include paths for this library here
40$(eval $(call gb_Library_set_include,vbahelper,\
41	$$(INCLUDE) \
42    -I$(OUTDIR)/inc/offuh \
43))
44
45$(eval $(call gb_Library_set_defs,vbahelper,\
46	$$(DEFS) \
47	-DVBAHELPER_DLLIMPLEMENTATION \
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	tk \
64	tl \
65	utl \
66	vcl \
67	$(gb_STDLIBS) \
68))
69
70# add all source files that shall be compiled with exceptions enabled
71# the name is relative to $(SRCROOT) and must not contain an extension
72$(eval $(call gb_Library_add_exception_objects,vbahelper,\
73    vbahelper/source/vbahelper/collectionbase \
74    vbahelper/source/vbahelper/vbaapplicationbase \
75    vbahelper/source/vbahelper/vbacolorformat \
76    vbahelper/source/vbahelper/vbacommandbar \
77    vbahelper/source/vbahelper/vbacommandbarcontrol \
78    vbahelper/source/vbahelper/vbacommandbarcontrols \
79    vbahelper/source/vbahelper/vbacommandbarhelper \
80    vbahelper/source/vbahelper/vbacommandbars \
81    vbahelper/source/vbahelper/vbadialogbase \
82    vbahelper/source/vbahelper/vbadialogsbase \
83    vbahelper/source/vbahelper/vbadocumentbase \
84    vbahelper/source/vbahelper/vbadocumentsbase \
85    vbahelper/source/vbahelper/vbaeventshelperbase \
86    vbahelper/source/vbahelper/vbafillformat \
87    vbahelper/source/vbahelper/vbafontbase \
88    vbahelper/source/vbahelper/vbaglobalbase \
89    vbahelper/source/vbahelper/vbahelper \
90    vbahelper/source/vbahelper/vbalineformat \
91    vbahelper/source/vbahelper/vbapagesetupbase \
92    vbahelper/source/vbahelper/vbapictureformat \
93    vbahelper/source/vbahelper/vbapropvalue \
94    vbahelper/source/vbahelper/vbashape \
95    vbahelper/source/vbahelper/vbashaperange \
96    vbahelper/source/vbahelper/vbashapes \
97    vbahelper/source/vbahelper/vbatextframe \
98    vbahelper/source/vbahelper/vbawindowbase \
99))
100
101# vim: set noet sw=4 ts=4:
102
103