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