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###################################################### 166else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-ARM-gcc3) 167###################################################### 168 169$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 170 bridges/source/cpp_uno/gcc3_linux_arm/except \ 171 bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno \ 172 bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp \ 173)) 174 175$(eval $(call gb_LinkTarget_set_cxx_optimization, \ 176 bridges/source/cpp_uno/gcc3_linux_arm/except \ 177 bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno \ 178 bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp \ 179, $(gb_COMPILERNOOPTFLAGS) \ 180)) 181 182$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\ 183 bridges/source/cpp_uno/gcc3_linux_arm/armhelper \ 184)) 185 186####################################################### 187else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-HPPA-gcc3) 188####################################################### 189 190$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 191 bridges/source/cpp_uno/gcc3_linux_hppa/call \ 192 bridges/source/cpp_uno/gcc3_linux_hppa/except \ 193 bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno \ 194 bridges/source/cpp_uno/gcc3_linux_hppa/uno2cpp \ 195)) 196 197$(eval $(call gb_LinkTarget_set_cxx_optimization, \ 198 bridges/source/cpp_uno/gcc3_linux_hppa/call \ 199 bridges/source/cpp_uno/gcc3_linux_hppa/except \ 200 bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno \ 201 bridges/source/cpp_uno/gcc3_linux_hppa/uno2cpp \ 202, $(gb_COMPILERNOOPTFLAGS) \ 203)) 204 205####################################################### 206else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-IA64-gcc3) 207####################################################### 208 209$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 210 bridges/source/cpp_uno/gcc3_linux_ia64/except \ 211 bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno \ 212 bridges/source/cpp_uno/gcc3_linux_ia64/uno2cpp \ 213)) 214 215$(eval $(call gb_LinkTarget_set_cxx_optimization, \ 216 bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno \ 217 bridges/source/cpp_uno/gcc3_linux_ia64/uno2cpp \ 218, $(gb_COMPILERNOOPTFLAGS) \ 219)) 220 221$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\ 222 bridges/source/cpp_uno/gcc3_linux_ia64/call \ 223)) 224 225######################################################## 226else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-INTEL-gcc3) 227######################################################## 228 229$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 230 bridges/source/cpp_uno/gcc3_linux_intel/abi \ 231 bridges/source/cpp_uno/gcc3_linux_intel/except \ 232 bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno \ 233 bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp \ 234)) 235 236$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\ 237 bridges/source/cpp_uno/gcc3_linux_intel/call \ 238)) 239 240 241####################################################### 242else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-M68K-gcc3) 243####################################################### 244 245$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 246 bridges/source/cpp_uno/gcc3_linux_m68k/except \ 247 bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno \ 248 bridges/source/cpp_uno/gcc3_linux_m68k/uno2cpp \ 249)) 250 251$(eval $(call gb_LinkTarget_set_cxx_optimization, \ 252 bridges/source/cpp_uno/gcc3_linux_m68k/except \ 253 bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno \ 254 bridges/source/cpp_uno/gcc3_linux_m68k/uno2cpp \ 255, $(gb_COMPILERNOOPTFLAGS) \ 256)) 257 258######################################################### 259# It's a MIPS, apparently... 260else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-GODSON-gcc3) 261######################################################### 262 263$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 264 bridges/source/cpp_uno/gcc3_linux_mips/except \ 265 bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno \ 266 bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp \ 267)) 268 269$(eval $(call gb_LinkTarget_set_cxx_optimization, \ 270 bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno \ 271 bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp \ 272, $(gb_COMPILERNOOPTFLAGS) \ 273)) 274 275########################################################## 276else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-POWERPC-gcc3) 277########################################################## 278 279$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 280 bridges/source/cpp_uno/gcc3_linux_powerpc/except \ 281 bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno \ 282 bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp \ 283)) 284 285$(eval $(call gb_LinkTarget_set_cxx_optimization, \ 286 bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp \ 287, $(gb_COMPILERNOOPTFLAGS) \ 288)) 289 290############################################################ 291else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-POWERPC64-gcc3) 292############################################################ 293 294$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 295 bridges/source/cpp_uno/gcc3_linux_powerpc64/except \ 296 bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno \ 297 bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp \ 298)) 299 300$(eval $(call gb_LinkTarget_set_cxx_optimization, \ 301 bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno \ 302 bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp \ 303, $(gb_COMPILERNOOPTFLAGS) \ 304)) 305 306####################################################### 307else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-S390-gcc3) 308####################################################### 309 310$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 311 bridges/source/cpp_uno/gcc3_linux_s390/except \ 312 bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno \ 313 bridges/source/cpp_uno/gcc3_linux_s390/uno2cpp \ 314)) 315 316######################################################## 317else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-S390X-gcc3) 318######################################################## 319 320$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 321 bridges/source/cpp_uno/gcc3_linux_s390x/except \ 322 bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno \ 323 bridges/source/cpp_uno/gcc3_linux_s390x/uno2cpp \ 324)) 325 326######################################################## 327else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-SPARC-gcc3) 328######################################################## 329 330$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 331 bridges/source/cpp_uno/gcc3_linux_sparc/except \ 332 bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno \ 333 bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp \ 334)) 335 336$(eval $(call gb_LinkTarget_set_cxx_optimization, \ 337 bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno \ 338 bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp \ 339, $(gb_COMPILERNOOPTFLAGS) \ 340)) 341 342$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\ 343 bridges/source/cpp_uno/gcc3_linux_sparc/call \ 344)) 345 346######################################################### 347else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),LINUX-X86_64-gcc3) 348######################################################### 349 350$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 351 bridges/source/cpp_uno/gcc3_linux_x86-64/abi \ 352 bridges/source/cpp_uno/gcc3_linux_x86-64/except \ 353 bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno \ 354 bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp \ 355)) 356 357$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\ 358 bridges/source/cpp_uno/gcc3_linux_x86-64/call \ 359)) 360 361######################################################### 362else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),MACOSX-INTEL-gcc3) 363######################################################### 364 365$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 366 bridges/source/cpp_uno/gcc3_macosx_intel/except \ 367 bridges/source/cpp_uno/gcc3_macosx_intel/cpp2uno \ 368 bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp \ 369)) 370 371$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\ 372 bridges/source/cpp_uno/gcc3_macosx_intel/call \ 373)) 374 375########################################################### 376else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),MACOSX-POWERPC-gcc3) 377########################################################### 378 379$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 380 bridges/source/cpp_uno/gcc3_macosx_powerpc/except \ 381 bridges/source/cpp_uno/gcc3_macosx_powerpc/cpp2uno \ 382 bridges/source/cpp_uno/gcc3_macosx_powerpc/uno2cpp \ 383)) 384 385$(eval $(call gb_LinkTarget_set_cxx_optimization, \ 386 bridges/source/cpp_uno/gcc3_macosx_powerpc/uno2cpp \ 387, $(gb_COMPILERNOOPTFLAGS) \ 388)) 389 390$(eval $(call gb_Library_add_linked_libs,$(COMNAME)_uno,\ 391 dl \ 392)) 393 394########################################################### 395else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),MACOSX-X86_64-s5abi) 396########################################################### 397 398$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 399 bridges/source/cpp_uno/s5abi_macosx_x86_64/abi \ 400 bridges/source/cpp_uno/s5abi_macosx_x86_64/except \ 401 bridges/source/cpp_uno/s5abi_macosx_x86_64/cpp2uno \ 402 bridges/source/cpp_uno/s5abi_macosx_x86_64/uno2cpp \ 403)) 404 405######################################################### 406else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),NETBSD-INTEL-gcc3) 407######################################################### 408 409$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 410 bridges/source/cpp_uno/gcc3_netbsd_intel/except \ 411 bridges/source/cpp_uno/gcc3_netbsd_intel/cpp2uno \ 412 bridges/source/cpp_uno/gcc3_netbsd_intel/uno2cpp \ 413)) 414 415######################################################### 416else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),OS2-INTEL-gcc3) 417######################################################### 418 419$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 420 bridges/source/cpp_uno/gcc3_os2_intel/except \ 421 bridges/source/cpp_uno/gcc3_os2_intel/cpp2uno \ 422 bridges/source/cpp_uno/gcc3_os2_intel/uno2cpp \ 423)) 424 425######################################################### 426else ifeq ($(OS)-$(CPUNAME)-$(COM),SOLARIS-INTEL-C50) 427######################################################### 428 429$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 430 bridges/source/cpp_uno/cc50_solaris_intel/except \ 431 bridges/source/cpp_uno/cc50_solaris_intel/cpp2uno \ 432 bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp \ 433)) 434 435$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\ 436 bridges/source/cpp_uno/cc50_solaris_intel/call \ 437)) 438 439######################################################### 440else ifeq ($(OS)-$(CPUNAME)-$(COM),SOLARIS-INTEL-C52) 441######################################################### 442 443$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 444 bridges/source/cpp_uno/cc50_solaris_intel/except \ 445 bridges/source/cpp_uno/cc50_solaris_intel/cpp2uno \ 446 bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp \ 447)) 448 449$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\ 450 bridges/source/cpp_uno/cc50_solaris_intel/call \ 451)) 452 453########################################################## 454else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),SOLARIS-INTEL-gcc3) 455########################################################## 456 457$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 458 bridges/source/cpp_uno/gcc3_solaris_intel/except \ 459 bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno \ 460 bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp \ 461)) 462 463######################################################### 464else ifeq ($(OS)-$(CPUNAME)-$(COM),SOLARIS-SPARC-C52) 465######################################################### 466 467$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 468 bridges/source/cpp_uno/cc50_solaris_sparc/except \ 469 bridges/source/cpp_uno/cc50_solaris_sparc/cpp2uno \ 470 bridges/source/cpp_uno/cc50_solaris_sparc/uno2cpp \ 471)) 472 473$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\ 474 bridges/source/cpp_uno/cc50_solaris_sparc/call \ 475)) 476 477########################################################## 478else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),SOLARIS-SPARC-gcc3) 479########################################################## 480 481$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 482 bridges/source/cpp_uno/gcc3_solaris_sparc/except \ 483 bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno \ 484 bridges/source/cpp_uno/gcc3_solaris_sparc/uno2cpp \ 485)) 486 487$(eval $(call gb_LinkTarget_set_cxx_optimization, \ 488 bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno \ 489 bridges/source/cpp_uno/gcc3_solaris_sparc/uno2cpp \ 490, $(gb_COMPILERNOOPTFLAGS) \ 491)) 492 493######################################################### 494else ifeq ($(OS)-$(CPUNAME)-$(COM),SOLARIS-SPARC64-C52) 495######################################################### 496 497$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 498 bridges/source/cpp_uno/cc5_solaris_sparc64/cpp2uno \ 499 bridges/source/cpp_uno/cc5_solaris_sparc64/exceptions \ 500 bridges/source/cpp_uno/cc5_solaris_sparc64/isdirectreturntype \ 501 bridges/source/cpp_uno/cc5_solaris_sparc64/uno2cpp \ 502)) 503 504$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\ 505 bridges/source/cpp_uno/cc5_solaris_sparc64/callvirtualmethod \ 506 bridges/source/cpp_uno/cc5_solaris_sparc64/fp \ 507 bridges/source/cpp_uno/cc5_solaris_sparc64/vtableslotcall \ 508)) 509 510######################################################### 511else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),WNT-INTEL-msci) 512######################################################### 513 514$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 515 bridges/source/cpp_uno/msvc_win32_intel/cpp2uno \ 516 bridges/source/cpp_uno/msvc_win32_intel/dllinit \ 517 bridges/source/cpp_uno/msvc_win32_intel/except \ 518 bridges/source/cpp_uno/msvc_win32_intel/uno2cpp \ 519)) 520 521$(eval $(call gb_LinkTarget_set_cxx_optimization, \ 522 bridges/source/cpp_uno/msvc_win32_intel/except \ 523, $(gb_COMPILERNOOPTFLAGS) \ 524)) 525 526######################################################### 527else ifeq ($(OS)-$(CPUNAME)-$(COMNAME),WNT-INTEL-gcc3) 528######################################################### 529 530$(eval $(call gb_Library_add_exception_objects,$(COMNAME)_uno,\ 531 bridges/source/cpp_uno/mingw_intel/cpp2uno \ 532 bridges/source/cpp_uno/mingw_intel/dllinit \ 533 bridges/source/cpp_uno/mingw_intel/except \ 534 bridges/source/cpp_uno/mingw_intel/smallstruct \ 535 bridges/source/cpp_uno/mingw_intel/uno2cpp \ 536)) 537 538$(eval $(call gb_LinkTarget_set_cxx_optimization, \ 539 bridges/source/cpp_uno/msvc_win32_intel/uno2cpp \ 540, $(gb_COMPILERNOOPTFLAGS) \ 541)) 542 543$(eval $(call gb_Library_add_asmobjects,$(COMNAME)_uno,\ 544 bridges/source/cpp_uno/mingw_intel/call \ 545)) 546 547ifeq ($(EXCEPTIONS),sjlj) 548$(eval $(call gb_Library_add_defs,$(COMNAME)_uno,\ 549 -DBROKEN_ALLOCA \ 550)) 551endif 552 553##################################### 554else 555##################################### 556 557$(call gb_Output_error,Unsupported OS-platform-ABI $(OS)-$(CPUNAME)-$(COMNAME) - please add a bridge under main/bridges/source/cpp_uno) 558 559##################################### 560endif 561##################################### 562 563 564# vim: set noet sw=4 ts=4: 565 566