xref: /aoo42x/main/bridges/Library_cpp_uno.mk (revision 809f4227)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24$(eval $(call gb_Library_Library,$(COMNAME)_uno))
25
26$(eval $(call gb_Library_add_precompiled_header,$(COMNAME)_uno,$(SRCDIR)/bridges/inc/pch/precompiled_bridges))
27
28$(eval $(call gb_Library_set_include,$(COMNAME)_uno,\
29	$$(INCLUDE) \
30	-I$(SRCDIR) \
31	-I$(SRCDIR)/bridges/inc \
32	-I$(SRCDIR)/bridges/inc/pch \
33	-I$(OUTDIR)/inc \
34))
35
36$(eval $(call gb_Library_set_private_extract_of_public_api,$(COMNAME)_uno,$(OUTDIR)/bin/udkapi.rdb,\
37	com.sun.star.uno.XInterface \
38	com.sun.star.uno.TypeClass \
39))
40
41#$(eval $(call gb_Library_add_api,$(COMNAME)_uno, \
42#        udkapi \
43#	offapi \
44#))
45
46$(eval $(call gb_Library_set_versionmap,$(COMNAME)_uno,$(SRCDIR)/bridges/source/bridge_exports.map))
47
48$(eval $(call gb_Library_add_linked_libs,$(COMNAME)_uno,\
49	cppu \
50	sal \
51	stl \
52	$(gb_STDLIBS) \
53))
54
55$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
56	bridges/source/cpp_uno/shared/bridge \
57	bridges/source/cpp_uno/shared/component \
58	bridges/source/cpp_uno/shared/cppinterfaceproxy \
59	bridges/source/cpp_uno/shared/types \
60	bridges/source/cpp_uno/shared/unointerfaceproxy \
61	bridges/source/cpp_uno/shared/vtablefactory \
62	bridges/source/cpp_uno/shared/vtables \
63))
64
65# Disable optimization for cppinterfaceproxy.cxx -
66# attribute constructor / destructor do not get called otherwise.
67ifeq ($(COM),GCC)
68$(eval $(call gb_LinkTarget_set_cxx_optimization, \
69	bridges/source/cpp_uno/shared/cppinterfaceproxy, $(gb_COMPILERNOOPTFLAGS) \
70))
71endif
72
73
74###################################################
75ifeq ($(OS)-$(CPUNAME)-$(COMNAME),FREEBSD-ARM-gcc3)
76###################################################
77
78$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
79	bridges/source/cpp_uno/gcc3_freebsd_arm/except \
80	bridges/source/cpp_uno/gcc3_freebsd_arm/cpp2uno \
81	bridges/source/cpp_uno/gcc3_freebsd_arm/uno2cpp \
82))
83
84$(eval $(call gb_LinkTarget_set_cxx_optimization, \
85	bridges/source/cpp_uno/gcc3_freebsd_arm/except \
86	bridges/source/cpp_uno/gcc3_freebsd_arm/cpp2uno \
87	bridges/source/cpp_uno/gcc3_freebsd_arm/uno2cpp \
88, $(gb_COMPILERNOOPTFLAGS) \
89))
90
91$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
92	bridges/source/cpp_uno/gcc3_freebsd_arm/armhelper \
93))
94
95##########################################################
96else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),FREEBSD-INTEL-gcc3)
97##########################################################
98
99$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
100	bridges/source/cpp_uno/gcc3_freebsd_intel/except \
101	bridges/source/cpp_uno/gcc3_freebsd_intel/cpp2uno \
102	bridges/source/cpp_uno/gcc3_freebsd_intel/uno2cpp \
103))
104
105$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
106	bridges/source/cpp_uno/gcc3_freebsd_intel/call \
107))
108
109############################################################
110else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),FREEBSD-POWERPC-gcc3)
111############################################################
112
113$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
114        bridges/source/cpp_uno/gcc3_freebsd_powerpc/except \
115        bridges/source/cpp_uno/gcc3_freebsd_powerpc/cpp2uno \
116        bridges/source/cpp_uno/gcc3_freebsd_powerpc/uno2cpp \
117))
118
119$(eval $(call gb_LinkTarget_set_cxx_optimization, \
120        bridges/source/cpp_uno/gcc3_freebsd_powerpc/uno2cpp \
121, $(gb_COMPILERNOOPTFLAGS) \
122))
123
124##############################################################
125else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),FREEBSD-POWERPC64-gcc3)
126##############################################################
127
128$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
129        bridges/source/cpp_uno/gcc3_freebsd_powerpc64/except \
130        bridges/source/cpp_uno/gcc3_freebsd_powerpc64/cpp2uno \
131        bridges/source/cpp_uno/gcc3_freebsd_powerpc64/uno2cpp \
132))
133
134$(eval $(call gb_LinkTarget_set_cxx_optimization, \
135        bridges/source/cpp_uno/gcc3_freebsd_powerpc64/cpp2uno \
136        bridges/source/cpp_uno/gcc3_freebsd_powerpc64/uno2cpp \
137, $(gb_COMPILERNOOPTFLAGS) \
138))
139
140###########################################################
141else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),FREEBSD-X86_64-gcc3)
142###########################################################
143
144$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
145	bridges/source/cpp_uno/gcc3_freebsd_x86-64/abi \
146	bridges/source/cpp_uno/gcc3_freebsd_x86-64/except \
147	bridges/source/cpp_uno/gcc3_freebsd_x86-64/cpp2uno \
148	bridges/source/cpp_uno/gcc3_freebsd_x86-64/uno2cpp \
149))
150
151$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
152	bridges/source/cpp_uno/gcc3_freebsd_x86-64/call \
153))
154
155#########################################################
156else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-ALPHA_-gcc3)
157#########################################################
158
159$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
160        bridges/source/cpp_uno/gcc3_linux_alpha/except \
161        bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno \
162        bridges/source/cpp_uno/gcc3_linux_alpha/uno2cpp \
163))
164
165$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
166	-ldl \
167))
168
169######################################################
170else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-ARM-gcc3)
171######################################################
172
173$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
174	bridges/source/cpp_uno/gcc3_linux_arm/except \
175	bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno \
176	bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp \
177))
178
179$(eval $(call gb_LinkTarget_set_cxx_optimization, \
180	bridges/source/cpp_uno/gcc3_linux_arm/except \
181	bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno \
182	bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp \
183, $(gb_COMPILERNOOPTFLAGS) \
184))
185
186$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
187	bridges/source/cpp_uno/gcc3_linux_arm/armhelper \
188))
189
190$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
191	-ldl \
192))
193
194#######################################################
195else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-HPPA-gcc3)
196#######################################################
197
198$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
199	bridges/source/cpp_uno/gcc3_linux_hppa/call \
200	bridges/source/cpp_uno/gcc3_linux_hppa/except \
201	bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno \
202	bridges/source/cpp_uno/gcc3_linux_hppa/uno2cpp \
203))
204
205$(eval $(call gb_LinkTarget_set_cxx_optimization, \
206	bridges/source/cpp_uno/gcc3_linux_hppa/call \
207	bridges/source/cpp_uno/gcc3_linux_hppa/except \
208	bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno \
209	bridges/source/cpp_uno/gcc3_linux_hppa/uno2cpp \
210, $(gb_COMPILERNOOPTFLAGS) \
211))
212
213$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
214	-ldl \
215))
216
217#######################################################
218else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-IA64-gcc3)
219#######################################################
220
221$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
222	bridges/source/cpp_uno/gcc3_linux_ia64/except \
223	bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno \
224	bridges/source/cpp_uno/gcc3_linux_ia64/uno2cpp \
225))
226
227$(eval $(call gb_LinkTarget_set_cxx_optimization, \
228	bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno \
229	bridges/source/cpp_uno/gcc3_linux_ia64/uno2cpp \
230, $(gb_COMPILERNOOPTFLAGS) \
231))
232
233$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
234	bridges/source/cpp_uno/gcc3_linux_ia64/call \
235))
236
237$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
238	-ldl \
239))
240
241########################################################
242else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-INTEL-gcc3)
243########################################################
244
245$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
246	bridges/source/cpp_uno/gcc3_linux_intel/abi \
247	bridges/source/cpp_uno/gcc3_linux_intel/except \
248	bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno \
249	bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp \
250))
251
252$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
253	bridges/source/cpp_uno/gcc3_linux_intel/call \
254))
255
256
257$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
258	-ldl \
259))
260
261#######################################################
262else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-M68K-gcc3)
263#######################################################
264
265$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
266	bridges/source/cpp_uno/gcc3_linux_m68k/except \
267	bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno \
268	bridges/source/cpp_uno/gcc3_linux_m68k/uno2cpp \
269))
270
271$(eval $(call gb_LinkTarget_set_cxx_optimization, \
272	bridges/source/cpp_uno/gcc3_linux_m68k/except \
273	bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno \
274	bridges/source/cpp_uno/gcc3_linux_m68k/uno2cpp \
275, $(gb_COMPILERNOOPTFLAGS) \
276))
277
278
279$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
280	-ldl \
281))
282
283#########################################################
284# It's a MIPS, apparently...
285else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-GODSON-gcc3)
286#########################################################
287
288$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
289	bridges/source/cpp_uno/gcc3_linux_mips/except \
290	bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno \
291	bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp \
292))
293
294$(eval $(call gb_LinkTarget_set_cxx_optimization, \
295	bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno \
296	bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp \
297, $(gb_COMPILERNOOPTFLAGS) \
298))
299
300
301$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
302	-ldl \
303))
304
305##########################################################
306else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-POWERPC-gcc3)
307##########################################################
308
309$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
310	bridges/source/cpp_uno/gcc3_linux_powerpc/except \
311	bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno \
312	bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp \
313))
314
315$(eval $(call gb_LinkTarget_set_cxx_optimization, \
316	bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp \
317, $(gb_COMPILERNOOPTFLAGS) \
318))
319
320
321$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
322	-ldl \
323))
324
325############################################################
326else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-POWERPC64-gcc3)
327############################################################
328
329$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
330	bridges/source/cpp_uno/gcc3_linux_powerpc64/except \
331	bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno \
332	bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp \
333))
334
335$(eval $(call gb_LinkTarget_set_cxx_optimization, \
336	bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno \
337	bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp \
338, $(gb_COMPILERNOOPTFLAGS) \
339))
340
341
342$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
343	-ldl \
344))
345
346#######################################################
347else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-S390-gcc3)
348#######################################################
349
350$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
351	bridges/source/cpp_uno/gcc3_linux_s390/except \
352	bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno \
353	bridges/source/cpp_uno/gcc3_linux_s390/uno2cpp \
354))
355
356
357$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
358	-ldl \
359))
360
361########################################################
362else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-S390X-gcc3)
363########################################################
364
365$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
366	bridges/source/cpp_uno/gcc3_linux_s390x/except \
367	bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno \
368	bridges/source/cpp_uno/gcc3_linux_s390x/uno2cpp \
369))
370
371
372$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
373	-ldl \
374))
375
376########################################################
377else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-SPARC-gcc3)
378########################################################
379
380$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
381	bridges/source/cpp_uno/gcc3_linux_sparc/except \
382	bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno \
383	bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp \
384))
385
386$(eval $(call gb_LinkTarget_set_cxx_optimization, \
387	bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno \
388	bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp \
389, $(gb_COMPILERNOOPTFLAGS) \
390))
391
392$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
393	bridges/source/cpp_uno/gcc3_linux_sparc/call \
394))
395
396$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
397	-ldl \
398))
399
400#########################################################
401else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-X86_64-gcc3)
402#########################################################
403
404$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
405	bridges/source/cpp_uno/gcc3_linux_x86-64/abi \
406	bridges/source/cpp_uno/gcc3_linux_x86-64/except \
407	bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno \
408	bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp \
409))
410
411$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
412	bridges/source/cpp_uno/gcc3_linux_x86-64/call \
413))
414
415$(eval $(call gb_Library_add_libs,$(COMNAME)_uno,\
416	-ldl \
417))
418
419###########################################################
420else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),MACOSX-X86_64-s5abi)
421###########################################################
422
423$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
424	bridges/source/cpp_uno/s5abi_macosx_x86-64/abi \
425	bridges/source/cpp_uno/s5abi_macosx_x86-64/except \
426	bridges/source/cpp_uno/s5abi_macosx_x86-64/cpp2uno \
427	bridges/source/cpp_uno/s5abi_macosx_x86-64/uno2cpp \
428))
429
430#########################################################
431else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),NETBSD-INTEL-gcc3)
432#########################################################
433
434$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
435	bridges/source/cpp_uno/gcc3_netbsd_intel/except \
436	bridges/source/cpp_uno/gcc3_netbsd_intel/cpp2uno \
437	bridges/source/cpp_uno/gcc3_netbsd_intel/uno2cpp \
438))
439
440#########################################################
441else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),OS2-INTEL-gcc3)
442#########################################################
443
444$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
445	bridges/source/cpp_uno/gcc3_os2_intel/except \
446	bridges/source/cpp_uno/gcc3_os2_intel/cpp2uno \
447	bridges/source/cpp_uno/gcc3_os2_intel/uno2cpp \
448))
449
450#########################################################
451else ifeq ($(OS)-$(CPUNAME)-$(COM),SOLARIS-INTEL-C50)
452#########################################################
453
454$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
455	bridges/source/cpp_uno/cc50_solaris_intel/except \
456	bridges/source/cpp_uno/cc50_solaris_intel/cpp2uno \
457	bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp \
458))
459
460$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
461	bridges/source/cpp_uno/cc50_solaris_intel/call \
462))
463
464#########################################################
465else ifeq ($(OS)-$(CPUNAME)-$(COM),SOLARIS-INTEL-C52)
466#########################################################
467
468$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
469	bridges/source/cpp_uno/cc50_solaris_intel/except \
470	bridges/source/cpp_uno/cc50_solaris_intel/cpp2uno \
471	bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp \
472))
473
474$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
475	bridges/source/cpp_uno/cc50_solaris_intel/call \
476))
477
478##########################################################
479else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),SOLARIS-INTEL-gcc3)
480##########################################################
481
482$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
483	bridges/source/cpp_uno/gcc3_solaris_intel/except \
484	bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno \
485	bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp \
486))
487
488#########################################################
489else ifeq ($(OS)-$(CPUNAME)-$(COM),SOLARIS-SPARC-C52)
490#########################################################
491
492$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
493	bridges/source/cpp_uno/cc50_solaris_sparc/except \
494	bridges/source/cpp_uno/cc50_solaris_sparc/cpp2uno \
495	bridges/source/cpp_uno/cc50_solaris_sparc/uno2cpp \
496))
497
498$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
499	bridges/source/cpp_uno/cc50_solaris_sparc/call \
500))
501
502##########################################################
503else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),SOLARIS-SPARC-gcc3)
504##########################################################
505
506$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
507	bridges/source/cpp_uno/gcc3_solaris_sparc/except \
508	bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno \
509	bridges/source/cpp_uno/gcc3_solaris_sparc/uno2cpp \
510))
511
512$(eval $(call gb_LinkTarget_set_cxx_optimization, \
513	bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno \
514	bridges/source/cpp_uno/gcc3_solaris_sparc/uno2cpp \
515, $(gb_COMPILERNOOPTFLAGS) \
516))
517
518#########################################################
519else ifeq ($(OS)-$(CPUNAME)-$(COM),SOLARIS-SPARC64-C52)
520#########################################################
521
522$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
523	bridges/source/cpp_uno/cc5_solaris_sparc64/cpp2uno \
524	bridges/source/cpp_uno/cc5_solaris_sparc64/exceptions \
525	bridges/source/cpp_uno/cc5_solaris_sparc64/isdirectreturntype \
526	bridges/source/cpp_uno/cc5_solaris_sparc64/uno2cpp \
527))
528
529$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
530	bridges/source/cpp_uno/cc5_solaris_sparc64/callvirtualmethod \
531	bridges/source/cpp_uno/cc5_solaris_sparc64/fp \
532	bridges/source/cpp_uno/cc5_solaris_sparc64/vtableslotcall \
533))
534
535#########################################################
536else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),WNT-INTEL-msci)
537#########################################################
538
539$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
540	bridges/source/cpp_uno/msvc_win32_intel/cpp2uno \
541	bridges/source/cpp_uno/msvc_win32_intel/dllinit \
542	bridges/source/cpp_uno/msvc_win32_intel/except \
543	bridges/source/cpp_uno/msvc_win32_intel/uno2cpp \
544))
545
546$(eval $(call gb_LinkTarget_set_cxx_optimization, \
547	bridges/source/cpp_uno/msvc_win32_intel/except \
548, $(gb_COMPILERNOOPTFLAGS) \
549))
550
551#########################################################
552else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),WNT-INTEL-gcc3)
553#########################################################
554
555$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\
556	bridges/source/cpp_uno/mingw_intel/cpp2uno \
557	bridges/source/cpp_uno/mingw_intel/dllinit \
558	bridges/source/cpp_uno/mingw_intel/except \
559	bridges/source/cpp_uno/mingw_intel/smallstruct \
560	bridges/source/cpp_uno/mingw_intel/uno2cpp \
561))
562
563$(eval $(call gb_LinkTarget_set_cxx_optimization, \
564	bridges/source/cpp_uno/msvc_win32_intel/uno2cpp \
565, $(gb_COMPILERNOOPTFLAGS) \
566))
567
568$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\
569	bridges/source/cpp_uno/mingw_intel/call \
570))
571
572ifeq ($(EXCEPTIONS),sjlj)
573$(eval $(call gb_Library_add_defs,$(COMNAME)_uno,\
574	-DBROKEN_ALLOCA \
575))
576endif
577
578#####################################
579else
580#####################################
581
582$(call gb_Output_error,Unsupported OS-platform-ABI $(OS)-$(CPUNAME)-$(COMNAME) - please add a bridge under main/bridges/source/cpp_uno)
583
584#####################################
585endif
586#####################################
587
588
589# vim: set noet sw=4 ts=4:
590
591