xref: /aoo42x/main/bridges/Library_cpp_uno.mk (revision 809f4227)
1191f9374SJim Jagielski#**************************************************************
2191f9374SJim Jagielski#
3191f9374SJim Jagielski#  Licensed to the Apache Software Foundation (ASF) under one
4191f9374SJim Jagielski#  or more contributor license agreements.  See the NOTICE file
5191f9374SJim Jagielski#  distributed with this work for additional information
6191f9374SJim Jagielski#  regarding copyright ownership.  The ASF licenses this file
7191f9374SJim Jagielski#  to you under the Apache License, Version 2.0 (the
8191f9374SJim Jagielski#  "License"); you may not use this file except in compliance
9191f9374SJim Jagielski#  with the License.  You may obtain a copy of the License at
10191f9374SJim Jagielski#
11191f9374SJim Jagielski#    http://www.apache.org/licenses/LICENSE-2.0
12191f9374SJim Jagielski#
13191f9374SJim Jagielski#  Unless required by applicable law or agreed to in writing,
14191f9374SJim Jagielski#  software distributed under the License is distributed on an
15191f9374SJim Jagielski#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16191f9374SJim Jagielski#  KIND, either express or implied.  See the License for the
17191f9374SJim Jagielski#  specific language governing permissions and limitations
18191f9374SJim Jagielski#  under the License.
19191f9374SJim Jagielski#
20191f9374SJim Jagielski#**************************************************************
21191f9374SJim Jagielski
22191f9374SJim Jagielski
23191f9374SJim Jagielski
24191f9374SJim Jagielski$(eval $(call gb_Library_Library,$(COMNAME)_uno))
25191f9374SJim Jagielski
26191f9374SJim Jagielski$(eval $(call gb_Library_add_precompiled_header,$(COMNAME)_uno,$(SRCDIR)/bridges/inc/pch/precompiled_bridges))
27191f9374SJim Jagielski
28191f9374SJim Jagielski$(eval $(call gb_Library_set_include,$(COMNAME)_uno,\
29191f9374SJim Jagielski	$$(INCLUDE) \
30191f9374SJim Jagielski	-I$(SRCDIR) \
31191f9374SJim Jagielski	-I$(SRCDIR)/bridges/inc \
32191f9374SJim Jagielski	-I$(SRCDIR)/bridges/inc/pch \
33191f9374SJim Jagielski	-I$(OUTDIR)/inc \
34191f9374SJim Jagielski))
35191f9374SJim Jagielski
36191f9374SJim Jagielski$(eval $(call gb_Library_set_private_extract_of_public_api,$(COMNAME)_uno,$(OUTDIR)/bin/udkapi.rdb,\
37191f9374SJim Jagielski	com.sun.star.uno.XInterface \
38191f9374SJim Jagielski	com.sun.star.uno.TypeClass \
39191f9374SJim Jagielski))
40191f9374SJim Jagielski
41191f9374SJim Jagielski#$(eval $(call gb_Library_add_api,$(COMNAME)_uno, \
42191f9374SJim Jagielski#        udkapi \
43191f9374SJim Jagielski#	offapi \
44191f9374SJim Jagielski#))
45191f9374SJim Jagielski
46191f9374SJim Jagielski$(eval $(call gb_Library_set_versionmap,$(COMNAME)_uno,$(SRCDIR)/bridges/source/bridge_exports.map))
47191f9374SJim Jagielski
48191f9374SJim Jagielski$(eval $(call gb_Library_add_linked_libs,$(COMNAME)_uno,\
49191f9374SJim Jagielski	cppu \
50191f9374SJim Jagielski	sal \
51191f9374SJim Jagielski	stl \
52191f9374SJim Jagielski	$(gb_STDLIBS) \
53191f9374SJim Jagielski))
54191f9374SJim Jagielski
55191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
56191f9374SJim Jagielski	bridges/source/cpp_uno/shared/bridge \
57191f9374SJim Jagielski	bridges/source/cpp_uno/shared/component \
58191f9374SJim Jagielski	bridges/source/cpp_uno/shared/cppinterfaceproxy \
59191f9374SJim Jagielski	bridges/source/cpp_uno/shared/types \
60191f9374SJim Jagielski	bridges/source/cpp_uno/shared/unointerfaceproxy \
61191f9374SJim Jagielski	bridges/source/cpp_uno/shared/vtablefactory \
62191f9374SJim Jagielski	bridges/source/cpp_uno/shared/vtables \
63191f9374SJim Jagielski))
64191f9374SJim Jagielski
65191f9374SJim Jagielski# Disable optimization for cppinterfaceproxy.cxx -
66191f9374SJim Jagielski# attribute constructor / destructor do not get called otherwise.
67191f9374SJim Jagielskiifeq ($(COM),GCC)
68191f9374SJim Jagielski$(eval $(call gb_LinkTarget_set_cxx_optimization, \
69191f9374SJim Jagielski	bridges/source/cpp_uno/shared/cppinterfaceproxy, $(gb_COMPILERNOOPTFLAGS) \
70191f9374SJim Jagielski))
71191f9374SJim Jagielskiendif
72191f9374SJim Jagielski
73191f9374SJim Jagielski
74191f9374SJim Jagielski###################################################
75191f9374SJim Jagielskiifeq ($(OS)-$(CPUNAME)-$(COMNAME),FREEBSD-ARM-gcc3)
76191f9374SJim Jagielski###################################################
77191f9374SJim Jagielski
78191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
79191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_freebsd_arm/except \
80191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_freebsd_arm/cpp2uno \
81191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_freebsd_arm/uno2cpp \
82191f9374SJim Jagielski))
83191f9374SJim Jagielski
84191f9374SJim Jagielski$(eval $(call gb_LinkTarget_set_cxx_optimization, \
85191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_freebsd_arm/except \
86191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_freebsd_arm/cpp2uno \
87191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_freebsd_arm/uno2cpp \
88191f9374SJim Jagielski, $(gb_COMPILERNOOPTFLAGS) \
89191f9374SJim Jagielski))
90191f9374SJim Jagielski
91191f9374SJim Jagielski$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
92191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_freebsd_arm/armhelper \
93191f9374SJim Jagielski))
94191f9374SJim Jagielski
95191f9374SJim Jagielski##########################################################
96191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),FREEBSD-INTEL-gcc3)
97191f9374SJim Jagielski##########################################################
98191f9374SJim Jagielski
99191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
100191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_freebsd_intel/except \
101191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_freebsd_intel/cpp2uno \
102191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_freebsd_intel/uno2cpp \
103191f9374SJim Jagielski))
104191f9374SJim Jagielski
105191f9374SJim Jagielski$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
106191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_freebsd_intel/call \
107191f9374SJim Jagielski))
108191f9374SJim Jagielski
109191f9374SJim Jagielski############################################################
110191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),FREEBSD-POWERPC-gcc3)
111191f9374SJim Jagielski############################################################
112191f9374SJim Jagielski
113191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
114191f9374SJim Jagielski        bridges/source/cpp_uno/gcc3_freebsd_powerpc/except \
115191f9374SJim Jagielski        bridges/source/cpp_uno/gcc3_freebsd_powerpc/cpp2uno \
116191f9374SJim Jagielski        bridges/source/cpp_uno/gcc3_freebsd_powerpc/uno2cpp \
117191f9374SJim Jagielski))
118191f9374SJim Jagielski
119191f9374SJim Jagielski$(eval $(call gb_LinkTarget_set_cxx_optimization, \
120191f9374SJim Jagielski        bridges/source/cpp_uno/gcc3_freebsd_powerpc/uno2cpp \
121191f9374SJim Jagielski, $(gb_COMPILERNOOPTFLAGS) \
122191f9374SJim Jagielski))
123191f9374SJim Jagielski
124191f9374SJim Jagielski##############################################################
125191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),FREEBSD-POWERPC64-gcc3)
126191f9374SJim Jagielski##############################################################
127191f9374SJim Jagielski
128191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
129191f9374SJim Jagielski        bridges/source/cpp_uno/gcc3_freebsd_powerpc64/except \
130191f9374SJim Jagielski        bridges/source/cpp_uno/gcc3_freebsd_powerpc64/cpp2uno \
131191f9374SJim Jagielski        bridges/source/cpp_uno/gcc3_freebsd_powerpc64/uno2cpp \
132191f9374SJim Jagielski))
133191f9374SJim Jagielski
134191f9374SJim Jagielski$(eval $(call gb_LinkTarget_set_cxx_optimization, \
135191f9374SJim Jagielski        bridges/source/cpp_uno/gcc3_freebsd_powerpc64/cpp2uno \
136191f9374SJim Jagielski        bridges/source/cpp_uno/gcc3_freebsd_powerpc64/uno2cpp \
137191f9374SJim Jagielski, $(gb_COMPILERNOOPTFLAGS) \
138191f9374SJim Jagielski))
139191f9374SJim Jagielski
140191f9374SJim Jagielski###########################################################
141191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),FREEBSD-X86_64-gcc3)
142191f9374SJim Jagielski###########################################################
143191f9374SJim Jagielski
144191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
145191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_freebsd_x86-64/abi \
146191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_freebsd_x86-64/except \
147191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno \
148191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp \
149191f9374SJim Jagielski))
150191f9374SJim Jagielski
151191f9374SJim Jagielski$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
152191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_freebsd_x86-64/call \
153191f9374SJim Jagielski))
154191f9374SJim Jagielski
155191f9374SJim Jagielski#########################################################
156191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-ALPHA_-gcc3)
157191f9374SJim Jagielski#########################################################
158191f9374SJim Jagielski
159191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
160191f9374SJim Jagielski        bridges/source/cpp_uno/gcc3_linux_alpha/except \
161191f9374SJim Jagielski        bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno \
162191f9374SJim Jagielski        bridges/source/cpp_uno/gcc3_linux_alpha/uno2cpp \
163191f9374SJim Jagielski))
164191f9374SJim Jagielski
165191f9374SJim Jagielski$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
166191f9374SJim Jagielski	-ldl \
167191f9374SJim Jagielski))
168191f9374SJim Jagielski
169191f9374SJim Jagielski######################################################
170191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-ARM-gcc3)
171191f9374SJim Jagielski######################################################
172191f9374SJim Jagielski
173191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
174191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_arm/except \
175191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno \
176191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp \
177191f9374SJim Jagielski))
178191f9374SJim Jagielski
179191f9374SJim Jagielski$(eval $(call gb_LinkTarget_set_cxx_optimization, \
180191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_arm/except \
181191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno \
182191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp \
183191f9374SJim Jagielski, $(gb_COMPILERNOOPTFLAGS) \
184191f9374SJim Jagielski))
185191f9374SJim Jagielski
186191f9374SJim Jagielski$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
187191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_arm/armhelper \
188191f9374SJim Jagielski))
189191f9374SJim Jagielski
190191f9374SJim Jagielski$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
191191f9374SJim Jagielski	-ldl \
192191f9374SJim Jagielski))
193191f9374SJim Jagielski
194191f9374SJim Jagielski#######################################################
195191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-HPPA-gcc3)
196191f9374SJim Jagielski#######################################################
197191f9374SJim Jagielski
198191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
199191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_hppa/call \
200191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_hppa/except \
201191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno \
202191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_hppa/uno2cpp \
203191f9374SJim Jagielski))
204191f9374SJim Jagielski
205191f9374SJim Jagielski$(eval $(call gb_LinkTarget_set_cxx_optimization, \
206191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_hppa/call \
207191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_hppa/except \
208191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno \
209191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_hppa/uno2cpp \
210191f9374SJim Jagielski, $(gb_COMPILERNOOPTFLAGS) \
211191f9374SJim Jagielski))
212191f9374SJim Jagielski
213191f9374SJim Jagielski$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
214191f9374SJim Jagielski	-ldl \
215191f9374SJim Jagielski))
216191f9374SJim Jagielski
217191f9374SJim Jagielski#######################################################
218191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-IA64-gcc3)
219191f9374SJim Jagielski#######################################################
220191f9374SJim Jagielski
221191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
222191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_ia64/except \
223191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno \
224191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_ia64/uno2cpp \
225191f9374SJim Jagielski))
226191f9374SJim Jagielski
227191f9374SJim Jagielski$(eval $(call gb_LinkTarget_set_cxx_optimization, \
228191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno \
229191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_ia64/uno2cpp \
230191f9374SJim Jagielski, $(gb_COMPILERNOOPTFLAGS) \
231191f9374SJim Jagielski))
232191f9374SJim Jagielski
233191f9374SJim Jagielski$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
234191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_ia64/call \
235191f9374SJim Jagielski))
236191f9374SJim Jagielski
237191f9374SJim Jagielski$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
238191f9374SJim Jagielski	-ldl \
239191f9374SJim Jagielski))
240191f9374SJim Jagielski
241191f9374SJim Jagielski########################################################
242191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-INTEL-gcc3)
243191f9374SJim Jagielski########################################################
244191f9374SJim Jagielski
245191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
246191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_intel/abi \
247191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_intel/except \
248191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno \
249191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp \
250191f9374SJim Jagielski))
251191f9374SJim Jagielski
252191f9374SJim Jagielski$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
253191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_intel/call \
254191f9374SJim Jagielski))
255191f9374SJim Jagielski
256191f9374SJim Jagielski
257191f9374SJim Jagielski$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
258191f9374SJim Jagielski	-ldl \
259191f9374SJim Jagielski))
260191f9374SJim Jagielski
261191f9374SJim Jagielski#######################################################
262191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-M68K-gcc3)
263191f9374SJim Jagielski#######################################################
264191f9374SJim Jagielski
265191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
266191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_m68k/except \
267191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno \
268191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_m68k/uno2cpp \
269191f9374SJim Jagielski))
270191f9374SJim Jagielski
271191f9374SJim Jagielski$(eval $(call gb_LinkTarget_set_cxx_optimization, \
272191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_m68k/except \
273191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno \
274191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_m68k/uno2cpp \
275191f9374SJim Jagielski, $(gb_COMPILERNOOPTFLAGS) \
276191f9374SJim Jagielski))
277191f9374SJim Jagielski
278191f9374SJim Jagielski
279191f9374SJim Jagielski$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
280191f9374SJim Jagielski	-ldl \
281191f9374SJim Jagielski))
282191f9374SJim Jagielski
283191f9374SJim Jagielski#########################################################
284191f9374SJim Jagielski# It's a MIPS, apparently...
285191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-GODSON-gcc3)
286191f9374SJim Jagielski#########################################################
287191f9374SJim Jagielski
288191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
289191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_mips/except \
290191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno \
291191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp \
292191f9374SJim Jagielski))
293191f9374SJim Jagielski
294191f9374SJim Jagielski$(eval $(call gb_LinkTarget_set_cxx_optimization, \
295191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno \
296191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp \
297191f9374SJim Jagielski, $(gb_COMPILERNOOPTFLAGS) \
298191f9374SJim Jagielski))
299191f9374SJim Jagielski
300191f9374SJim Jagielski
301191f9374SJim Jagielski$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
302191f9374SJim Jagielski	-ldl \
303191f9374SJim Jagielski))
304191f9374SJim Jagielski
305191f9374SJim Jagielski##########################################################
306191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-POWERPC-gcc3)
307191f9374SJim Jagielski##########################################################
308191f9374SJim Jagielski
309191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
310191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_powerpc/except \
311191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno \
312191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp \
313191f9374SJim Jagielski))
314191f9374SJim Jagielski
315191f9374SJim Jagielski$(eval $(call gb_LinkTarget_set_cxx_optimization, \
316191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp \
317191f9374SJim Jagielski, $(gb_COMPILERNOOPTFLAGS) \
318191f9374SJim Jagielski))
319191f9374SJim Jagielski
320191f9374SJim Jagielski
321191f9374SJim Jagielski$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
322191f9374SJim Jagielski	-ldl \
323191f9374SJim Jagielski))
324191f9374SJim Jagielski
325191f9374SJim Jagielski############################################################
326191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-POWERPC64-gcc3)
327191f9374SJim Jagielski############################################################
328191f9374SJim Jagielski
329191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
330191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_powerpc64/except \
331191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno \
332191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp \
333191f9374SJim Jagielski))
334191f9374SJim Jagielski
335191f9374SJim Jagielski$(eval $(call gb_LinkTarget_set_cxx_optimization, \
336191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno \
337191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp \
338191f9374SJim Jagielski, $(gb_COMPILERNOOPTFLAGS) \
339191f9374SJim Jagielski))
340191f9374SJim Jagielski
341191f9374SJim Jagielski
342191f9374SJim Jagielski$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
343191f9374SJim Jagielski	-ldl \
344191f9374SJim Jagielski))
345191f9374SJim Jagielski
346191f9374SJim Jagielski#######################################################
347191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-S390-gcc3)
348191f9374SJim Jagielski#######################################################
349191f9374SJim Jagielski
350191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
351191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_s390/except \
352191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno \
353191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_s390/uno2cpp \
354191f9374SJim Jagielski))
355191f9374SJim Jagielski
356191f9374SJim Jagielski
357191f9374SJim Jagielski$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
358191f9374SJim Jagielski	-ldl \
359191f9374SJim Jagielski))
360191f9374SJim Jagielski
361191f9374SJim Jagielski########################################################
362191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-S390X-gcc3)
363191f9374SJim Jagielski########################################################
364191f9374SJim Jagielski
365191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
366191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_s390x/except \
367191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno \
368191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_s390x/uno2cpp \
369191f9374SJim Jagielski))
370191f9374SJim Jagielski
371191f9374SJim Jagielski
372191f9374SJim Jagielski$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
373191f9374SJim Jagielski	-ldl \
374191f9374SJim Jagielski))
375191f9374SJim Jagielski
376191f9374SJim Jagielski########################################################
377191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-SPARC-gcc3)
378191f9374SJim Jagielski########################################################
379191f9374SJim Jagielski
380191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
381191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_sparc/except \
382191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno \
383191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp \
384191f9374SJim Jagielski))
385191f9374SJim Jagielski
386191f9374SJim Jagielski$(eval $(call gb_LinkTarget_set_cxx_optimization, \
387191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno \
388191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp \
389191f9374SJim Jagielski, $(gb_COMPILERNOOPTFLAGS) \
390191f9374SJim Jagielski))
391191f9374SJim Jagielski
392191f9374SJim Jagielski$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
393191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_sparc/call \
394191f9374SJim Jagielski))
395191f9374SJim Jagielski
396191f9374SJim Jagielski$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
397191f9374SJim Jagielski	-ldl \
398191f9374SJim Jagielski))
399191f9374SJim Jagielski
400191f9374SJim Jagielski#########################################################
401191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-X86_64-gcc3)
402191f9374SJim Jagielski#########################################################
403191f9374SJim Jagielski
404191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
405191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_x86-64/abi \
406191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_x86-64/except \
407191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno \
408191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp \
409191f9374SJim Jagielski))
410191f9374SJim Jagielski
411191f9374SJim Jagielski$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
412191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_linux_x86-64/call \
413191f9374SJim Jagielski))
414191f9374SJim Jagielski
415191f9374SJim Jagielski$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
416191f9374SJim Jagielski	-ldl \
417191f9374SJim Jagielski))
418191f9374SJim Jagielski
419191f9374SJim Jagielski###########################################################
420*809f4227SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),MACOSX-X86_64-s5abi)
421191f9374SJim Jagielski###########################################################
422191f9374SJim Jagielski
423191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
424*809f4227SJim Jagielski	bridges/source/cpp_uno/s5abi_macosx_x86-64/abi \
425*809f4227SJim Jagielski	bridges/source/cpp_uno/s5abi_macosx_x86-64/except \
426*809f4227SJim Jagielski	bridges/source/cpp_uno/s5abi_macosx_x86-64/cpp2uno \
427*809f4227SJim Jagielski	bridges/source/cpp_uno/s5abi_macosx_x86-64/uno2cpp \
428191f9374SJim Jagielski))
429191f9374SJim Jagielski
430191f9374SJim Jagielski#########################################################
431191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),NETBSD-INTEL-gcc3)
432191f9374SJim Jagielski#########################################################
433191f9374SJim Jagielski
434191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
435191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_netbsd_intel/except \
436191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_netbsd_intel/cpp2uno \
437191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_netbsd_intel/uno2cpp \
438191f9374SJim Jagielski))
439191f9374SJim Jagielski
440191f9374SJim Jagielski#########################################################
441191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),OS2-INTEL-gcc3)
442191f9374SJim Jagielski#########################################################
443191f9374SJim Jagielski
444191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
445191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_os2_intel/except \
446191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_os2_intel/cpp2uno \
447191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_os2_intel/uno2cpp \
448191f9374SJim Jagielski))
449191f9374SJim Jagielski
450191f9374SJim Jagielski#########################################################
451191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COM),SOLARIS-INTEL-C50)
452191f9374SJim Jagielski#########################################################
453191f9374SJim Jagielski
454191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
455191f9374SJim Jagielski	bridges/source/cpp_uno/cc50_solaris_intel/except \
456191f9374SJim Jagielski	bridges/source/cpp_uno/cc50_solaris_intel/cpp2uno \
457191f9374SJim Jagielski	bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp \
458191f9374SJim Jagielski))
459191f9374SJim Jagielski
460191f9374SJim Jagielski$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
461191f9374SJim Jagielski	bridges/source/cpp_uno/cc50_solaris_intel/call \
462191f9374SJim Jagielski))
463191f9374SJim Jagielski
464191f9374SJim Jagielski#########################################################
465191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COM),SOLARIS-INTEL-C52)
466191f9374SJim Jagielski#########################################################
467191f9374SJim Jagielski
468191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
469191f9374SJim Jagielski	bridges/source/cpp_uno/cc50_solaris_intel/except \
470191f9374SJim Jagielski	bridges/source/cpp_uno/cc50_solaris_intel/cpp2uno \
471191f9374SJim Jagielski	bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp \
472191f9374SJim Jagielski))
473191f9374SJim Jagielski
474191f9374SJim Jagielski$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
475191f9374SJim Jagielski	bridges/source/cpp_uno/cc50_solaris_intel/call \
476191f9374SJim Jagielski))
477191f9374SJim Jagielski
478191f9374SJim Jagielski##########################################################
479191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),SOLARIS-INTEL-gcc3)
480191f9374SJim Jagielski##########################################################
481191f9374SJim Jagielski
482191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
483191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_solaris_intel/except \
484191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno \
485191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp \
486191f9374SJim Jagielski))
487191f9374SJim Jagielski
488191f9374SJim Jagielski#########################################################
489191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COM),SOLARIS-SPARC-C52)
490191f9374SJim Jagielski#########################################################
491191f9374SJim Jagielski
492191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
493191f9374SJim Jagielski	bridges/source/cpp_uno/cc50_solaris_sparc/except \
494191f9374SJim Jagielski	bridges/source/cpp_uno/cc50_solaris_sparc/cpp2uno \
495191f9374SJim Jagielski	bridges/source/cpp_uno/cc50_solaris_sparc/uno2cpp \
496191f9374SJim Jagielski))
497191f9374SJim Jagielski
498191f9374SJim Jagielski$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
499191f9374SJim Jagielski	bridges/source/cpp_uno/cc50_solaris_sparc/call \
500191f9374SJim Jagielski))
501191f9374SJim Jagielski
502191f9374SJim Jagielski##########################################################
503191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),SOLARIS-SPARC-gcc3)
504191f9374SJim Jagielski##########################################################
505191f9374SJim Jagielski
506191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
507191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_solaris_sparc/except \
508191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno \
509191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_solaris_sparc/uno2cpp \
510191f9374SJim Jagielski))
511191f9374SJim Jagielski
512191f9374SJim Jagielski$(eval $(call gb_LinkTarget_set_cxx_optimization, \
513191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno \
514191f9374SJim Jagielski	bridges/source/cpp_uno/gcc3_solaris_sparc/uno2cpp \
515191f9374SJim Jagielski, $(gb_COMPILERNOOPTFLAGS) \
516191f9374SJim Jagielski))
517191f9374SJim Jagielski
518191f9374SJim Jagielski#########################################################
519191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COM),SOLARIS-SPARC64-C52)
520191f9374SJim Jagielski#########################################################
521191f9374SJim Jagielski
522191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
523191f9374SJim Jagielski	bridges/source/cpp_uno/cc5_solaris_sparc64/cpp2uno \
524191f9374SJim Jagielski	bridges/source/cpp_uno/cc5_solaris_sparc64/exceptions \
525191f9374SJim Jagielski	bridges/source/cpp_uno/cc5_solaris_sparc64/isdirectreturntype \
526191f9374SJim Jagielski	bridges/source/cpp_uno/cc5_solaris_sparc64/uno2cpp \
527191f9374SJim Jagielski))
528191f9374SJim Jagielski
529191f9374SJim Jagielski$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
530191f9374SJim Jagielski	bridges/source/cpp_uno/cc5_solaris_sparc64/callvirtualmethod \
531191f9374SJim Jagielski	bridges/source/cpp_uno/cc5_solaris_sparc64/fp \
532191f9374SJim Jagielski	bridges/source/cpp_uno/cc5_solaris_sparc64/vtableslotcall \
533191f9374SJim Jagielski))
534191f9374SJim Jagielski
535191f9374SJim Jagielski#########################################################
536191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),WNT-INTEL-msci)
537191f9374SJim Jagielski#########################################################
538191f9374SJim Jagielski
539191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
540191f9374SJim Jagielski	bridges/source/cpp_uno/msvc_win32_intel/cpp2uno \
541191f9374SJim Jagielski	bridges/source/cpp_uno/msvc_win32_intel/dllinit \
542191f9374SJim Jagielski	bridges/source/cpp_uno/msvc_win32_intel/except \
543191f9374SJim Jagielski	bridges/source/cpp_uno/msvc_win32_intel/uno2cpp \
544191f9374SJim Jagielski))
545191f9374SJim Jagielski
546191f9374SJim Jagielski$(eval $(call gb_LinkTarget_set_cxx_optimization, \
547191f9374SJim Jagielski	bridges/source/cpp_uno/msvc_win32_intel/except \
548191f9374SJim Jagielski, $(gb_COMPILERNOOPTFLAGS) \
549191f9374SJim Jagielski))
550191f9374SJim Jagielski
551191f9374SJim Jagielski#########################################################
552191f9374SJim Jagielskielse ifeq ($(OS)-$(CPUNAME)-$(COMNAME),WNT-INTEL-gcc3)
553191f9374SJim Jagielski#########################################################
554191f9374SJim Jagielski
555191f9374SJim Jagielski$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
556191f9374SJim Jagielski	bridges/source/cpp_uno/mingw_intel/cpp2uno \
557191f9374SJim Jagielski	bridges/source/cpp_uno/mingw_intel/dllinit \
558191f9374SJim Jagielski	bridges/source/cpp_uno/mingw_intel/except \
559191f9374SJim Jagielski	bridges/source/cpp_uno/mingw_intel/smallstruct \
560191f9374SJim Jagielski	bridges/source/cpp_uno/mingw_intel/uno2cpp \
561191f9374SJim Jagielski))
562191f9374SJim Jagielski
563191f9374SJim Jagielski$(eval $(call gb_LinkTarget_set_cxx_optimization, \
564191f9374SJim Jagielski	bridges/source/cpp_uno/msvc_win32_intel/uno2cpp \
565191f9374SJim Jagielski, $(gb_COMPILERNOOPTFLAGS) \
566191f9374SJim Jagielski))
567191f9374SJim Jagielski
568191f9374SJim Jagielski$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
569191f9374SJim Jagielski	bridges/source/cpp_uno/mingw_intel/call \
570191f9374SJim Jagielski))
571191f9374SJim Jagielski
572191f9374SJim Jagielskiifeq ($(EXCEPTIONS),sjlj)
573191f9374SJim Jagielski$(eval $(call gb_Library_add_defs,$(COMNAME)_uno,\
574191f9374SJim Jagielski	-DBROKEN_ALLOCA \
575191f9374SJim Jagielski))
576191f9374SJim Jagielskiendif
577191f9374SJim Jagielski
578191f9374SJim Jagielski#####################################
579191f9374SJim Jagielskielse
580191f9374SJim Jagielski#####################################
581191f9374SJim Jagielski
582191f9374SJim Jagielski$(call gb_Output_error,Unsupported OS-platform-ABI $(OS)-$(CPUNAME)-$(COMNAME) - please add a bridge under main/bridges/source/cpp_uno)
583191f9374SJim Jagielski
584191f9374SJim Jagielski#####################################
585191f9374SJim Jagielskiendif
586191f9374SJim Jagielski#####################################
587191f9374SJim Jagielski
588191f9374SJim Jagielski
589191f9374SJim Jagielski# vim: set noet sw=4 ts=4:
590191f9374SJim Jagielski
591