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
,vbaobj
))
25 $(eval
$(call gb_Library_set_include
,vbaobj
,\
26 -I
$(SRCDIR
)/sc
/source
/core
/inc \
27 -I
$(SRCDIR
)/sc
/source
/filter/inc \
28 -I
$(SRCDIR
)/sc
/source
/ui
/inc \
33 $(eval
$(call gb_Library_set_componentfile
,vbaobj
,sc
/util
/vbaobj
))
35 $(eval
$(call gb_Library_use_api
,vbaobj
,\
41 $(eval
$(call gb_Library_use_libraries
,vbaobj
,\
64 $(eval
$(call gb_Library_add_exception_objects
,vbaobj
,\
65 sc
/source
/ui
/vba
/excelvbahelper \
66 sc
/source
/ui
/vba
/service \
67 sc
/source
/ui
/vba
/vbaapplication \
68 sc
/source
/ui
/vba
/vbaassistant \
69 sc
/source
/ui
/vba
/vbaaxes \
70 sc
/source
/ui
/vba
/vbaaxis \
71 sc
/source
/ui
/vba
/vbaaxistitle \
72 sc
/source
/ui
/vba
/vbaborders \
73 sc
/source
/ui
/vba
/vbacharacters \
74 sc
/source
/ui
/vba
/vbachart \
75 sc
/source
/ui
/vba
/vbachartobject \
76 sc
/source
/ui
/vba
/vbachartobjects \
77 sc
/source
/ui
/vba
/vbacharttitle \
78 sc
/source
/ui
/vba
/vbacomment \
79 sc
/source
/ui
/vba
/vbacomments \
80 sc
/source
/ui
/vba
/vbacondition \
81 sc
/source
/ui
/vba
/vbadialog \
82 sc
/source
/ui
/vba
/vbadialogs \
83 sc
/source
/ui
/vba
/vbaeventshelper \
84 sc
/source
/ui
/vba
/vbafont \
85 sc
/source
/ui
/vba
/vbaformat \
86 sc
/source
/ui
/vba
/vbaformatcondition \
87 sc
/source
/ui
/vba
/vbaformatconditions \
88 sc
/source
/ui
/vba
/vbaglobals \
89 sc
/source
/ui
/vba
/vbahyperlink \
90 sc
/source
/ui
/vba
/vbahyperlinks \
91 sc
/source
/ui
/vba
/vbainterior \
92 sc
/source
/ui
/vba
/vbamenubar \
93 sc
/source
/ui
/vba
/vbamenubars \
94 sc
/source
/ui
/vba
/vbamenu \
95 sc
/source
/ui
/vba
/vbamenus \
96 sc
/source
/ui
/vba
/vbamenuitem \
97 sc
/source
/ui
/vba
/vbamenuitems \
98 sc
/source
/ui
/vba
/vbaname \
99 sc
/source
/ui
/vba
/vbanames \
100 sc
/source
/ui
/vba
/vbaoleobject \
101 sc
/source
/ui
/vba
/vbaoleobjects \
102 sc
/source
/ui
/vba
/vbaoutline \
103 sc
/source
/ui
/vba
/vbapagebreak \
104 sc
/source
/ui
/vba
/vbapagebreaks \
105 sc
/source
/ui
/vba
/vbapagesetup \
106 sc
/source
/ui
/vba
/vbapalette \
107 sc
/source
/ui
/vba
/vbapane \
108 sc
/source
/ui
/vba
/vbapivotcache \
109 sc
/source
/ui
/vba
/vbapivottable \
110 sc
/source
/ui
/vba
/vbapivottables \
111 sc
/source
/ui
/vba
/vbarange \
112 sc
/source
/ui
/vba
/vbasheetobject \
113 sc
/source
/ui
/vba
/vbastyle \
114 sc
/source
/ui
/vba
/vbastyles \
115 sc
/source
/ui
/vba
/vbatextboxshape \
116 sc
/source
/ui
/vba
/vbatextframe \
117 sc
/source
/ui
/vba
/vbavalidation \
118 sc
/source
/ui
/vba
/vbawindow \
119 sc
/source
/ui
/vba
/vbawindows \
120 sc
/source
/ui
/vba
/vbaworkbook \
121 sc
/source
/ui
/vba
/vbaworkbooks \
122 sc
/source
/ui
/vba
/vbaworksheet \
123 sc
/source
/ui
/vba
/vbaworksheets \
124 sc
/source
/ui
/vba
/vbawsfunction \
127 #http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50255
128 ifeq ($(COM
)-$(OS
)-$(CPUNAME
),GCC-LINUX-INTEL
)
129 sc_gccthunkBroken
:= $(shell expr
$(gb_CCVER
) \
>= 40500 \
& $(gb_CCVER
) \
< 40602)
132 ifeq ($(sc_gccthunkBroken
),1)
133 $(eval
$(call gb_Library_add_cxxobjects
,vbaobj
,\
134 sc
/source
/ui
/vba
/vbasheetobjects \
135 , $(gb_COMPILERNOOPTFLAGS
) $(gb_LinkTarget_EXCEPTIONFLAGS
) \
138 $(eval
$(call gb_Library_add_exception_objects
,vbaobj
,\
139 sc
/source
/ui
/vba
/vbasheetobjects \
144 $(eval
$(call gb_Library_use_system_win32_libs
,vbaobj
,\
150 # vim: set noet sw=4 ts=4: