bump product version to 4.1.6.2
[LibreOffice.git] / sc / Library_vbaobj.mk
blob448f5f7fe4f2964495a7826c36ccc14a518c5623
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,vbaobj))
12 $(eval $(call gb_Library_set_include,vbaobj,\
13 -I$(SRCDIR)/sc/source/core/inc \
14 -I$(SRCDIR)/sc/source/filter/inc \
15 -I$(SRCDIR)/sc/source/ui/inc \
16 -I$(SRCDIR)/sc/inc \
17 $$(INCLUDE) \
20 $(eval $(call gb_Library_set_componentfile,vbaobj,sc/util/vbaobj))
22 $(eval $(call gb_Library_use_external,vbaobj,boost_headers))
24 $(eval $(call gb_Library_use_api,vbaobj,\
25 offapi \
26 oovbaapi \
27 udkapi \
30 $(eval $(call gb_Library_use_libraries,vbaobj,\
31 comphelper \
32 cppu \
33 cppuhelper \
34 editeng \
35 for \
36 msfilter \
37 sal \
38 sb \
39 sc \
40 sfx \
41 svl \
42 svt \
43 svx \
44 svxcore \
45 tk \
46 tl \
47 utl \
48 vbahelper \
49 vcl \
50 $(gb_UWINAPI) \
53 $(eval $(call gb_Library_add_exception_objects,vbaobj,\
54 sc/source/ui/vba/excelvbahelper \
55 sc/source/ui/vba/service \
56 sc/source/ui/vba/vbaapplication \
57 sc/source/ui/vba/vbaassistant \
58 sc/source/ui/vba/vbaaxes \
59 sc/source/ui/vba/vbaaxis \
60 sc/source/ui/vba/vbaaxistitle \
61 sc/source/ui/vba/vbaborders \
62 sc/source/ui/vba/vbacharacters \
63 sc/source/ui/vba/vbachart \
64 sc/source/ui/vba/vbachartobject \
65 sc/source/ui/vba/vbachartobjects \
66 sc/source/ui/vba/vbacharttitle \
67 sc/source/ui/vba/vbacomment \
68 sc/source/ui/vba/vbacomments \
69 sc/source/ui/vba/vbacondition \
70 sc/source/ui/vba/vbadialog \
71 sc/source/ui/vba/vbadialogs \
72 sc/source/ui/vba/vbaeventshelper \
73 sc/source/ui/vba/vbafont \
74 sc/source/ui/vba/vbaformat \
75 sc/source/ui/vba/vbaformatcondition \
76 sc/source/ui/vba/vbaformatconditions \
77 sc/source/ui/vba/vbaglobals \
78 sc/source/ui/vba/vbahyperlink \
79 sc/source/ui/vba/vbahyperlinks \
80 sc/source/ui/vba/vbainterior \
81 sc/source/ui/vba/vbamenubar \
82 sc/source/ui/vba/vbamenubars \
83 sc/source/ui/vba/vbamenu \
84 sc/source/ui/vba/vbamenus \
85 sc/source/ui/vba/vbamenuitem \
86 sc/source/ui/vba/vbamenuitems \
87 sc/source/ui/vba/vbaname \
88 sc/source/ui/vba/vbanames \
89 sc/source/ui/vba/vbaoleobject \
90 sc/source/ui/vba/vbaoleobjects \
91 sc/source/ui/vba/vbaoutline \
92 sc/source/ui/vba/vbapagebreak \
93 sc/source/ui/vba/vbapagebreaks \
94 sc/source/ui/vba/vbapagesetup \
95 sc/source/ui/vba/vbapalette \
96 sc/source/ui/vba/vbapane \
97 sc/source/ui/vba/vbapivotcache \
98 sc/source/ui/vba/vbapivottable \
99 sc/source/ui/vba/vbapivottables \
100 sc/source/ui/vba/vbarange \
101 sc/source/ui/vba/vbasheetobject \
102 sc/source/ui/vba/vbastyle \
103 sc/source/ui/vba/vbastyles \
104 sc/source/ui/vba/vbatextboxshape \
105 sc/source/ui/vba/vbatextframe \
106 sc/source/ui/vba/vbavalidation \
107 sc/source/ui/vba/vbawindow \
108 sc/source/ui/vba/vbawindows \
109 sc/source/ui/vba/vbaworkbook \
110 sc/source/ui/vba/vbaworkbooks \
111 sc/source/ui/vba/vbaworksheet \
112 sc/source/ui/vba/vbaworksheets \
113 sc/source/ui/vba/vbawsfunction \
116 #http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50255
117 ifeq ($(COM)-$(OS)-$(CPUNAME),GCC-LINUX-INTEL)
118 sc_gccthunkBroken := $(shell expr $(gb_CCVER) \>= 40500 \& $(gb_CCVER) \< 40602)
119 endif
121 ifeq ($(sc_gccthunkBroken),1)
122 $(eval $(call gb_Library_add_cxxobjects,vbaobj,\
123 sc/source/ui/vba/vbasheetobjects \
124 , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
126 else
127 $(eval $(call gb_Library_add_exception_objects,vbaobj,\
128 sc/source/ui/vba/vbasheetobjects \
130 endif
132 ifeq ($(OS),WNT)
133 $(eval $(call gb_Library_use_system_win32_libs,vbaobj,\
134 advapi32 \
135 oldnames \
137 endif
139 # vim: set noet sw=4 ts=4: