17871dc3eSAndrew Rist#************************************************************** 2cdf0e10cSrcweir# 37871dc3eSAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 47871dc3eSAndrew Rist# or more contributor license agreements. See the NOTICE file 57871dc3eSAndrew Rist# distributed with this work for additional information 67871dc3eSAndrew Rist# regarding copyright ownership. The ASF licenses this file 77871dc3eSAndrew Rist# to you under the Apache License, Version 2.0 (the 87871dc3eSAndrew Rist# "License"); you may not use this file except in compliance 97871dc3eSAndrew Rist# with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir# 117871dc3eSAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir# 137871dc3eSAndrew Rist# Unless required by applicable law or agreed to in writing, 147871dc3eSAndrew Rist# software distributed under the License is distributed on an 157871dc3eSAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 167871dc3eSAndrew Rist# KIND, either express or implied. See the License for the 177871dc3eSAndrew Rist# specific language governing permissions and limitations 187871dc3eSAndrew Rist# under the License. 19cdf0e10cSrcweir# 207871dc3eSAndrew Rist#************************************************************** 217871dc3eSAndrew Rist 227871dc3eSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir# fixes for all the libraries that are named with too much creativity and do 25cdf0e10cSrcweir# not follow any of the established nameschemes 26cdf0e10cSrcweir 27cdf0e10cSrcweirifeq ($(OS),LINUX) 28b63233d8Sdamjan 29cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst comphelper:libcomphelper%,comphelper:libcomphelp%,$(gb_Library_FILENAMES)) 30cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst cppuhelper:libcppuhelper%,cppuhelper:libuno_cppuhelper%,$(gb_Library_FILENAMES)) 31cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst cppuhelper:libcppuhelper%,cppuhelper:libuno_cppuhelper%,$(gb_Library_FILENAMES)) 32c4c42a0eSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst hyphen_uno:hyphen_uno.uno%,hyphen_uno:libhyphen.uno%,$(gb_Library_FILENAMES)) 33c4c42a0eSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst lnth:lnth.uno%,lnth:liblnth.uno%,$(gb_Library_FILENAMES)) 34cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst jvmfwk:libuno_jvmfwk%,jvmfwk:libjvmfwk%,$(gb_Library_FILENAMES)) 35cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst jvmfwk:libuno_jvmfwk%,jvmfwk:libjvmfwk%,$(gb_Library_FILENAMES)) 361c25f252Sdamjangb_Library_FILENAMES := $(patsubst pyuno_loader:libpyuno%,pyuno_loader:pyuno.so,$(gb_Library_FILENAMES)) 37790ba93fSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst reg:libuno_reg%,reg:libreg%,$(gb_Library_FILENAMES)) 38cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst salhelper:libsalhelper%,salhelper:libuno_salhelper%,$(gb_Library_FILENAMES)) 39cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst salhelper:libsalhelper%,salhelper:libuno_salhelper%,$(gb_Library_FILENAMES)) 40c4c42a0eSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst spell:spell.uno%,spell:libspell.uno%,$(gb_Library_FILENAMES)) 41790ba93fSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst store:libuno_store%,store:libstore%,$(gb_Library_FILENAMES)) 428cb913c4SDamjan Jovanovicgb_Library_FILENAMES := $(patsubst sunjavaplugin:libsunjavaplugin%,sunjavaplugin:sunjavaplugin%,$(gb_Library_FILENAMES)) 43cdf0e10cSrcweir 44cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst stl:%,stl:libstdc++.so,$(gb_Library_FILENAMES)) 45cdf0e10cSrcweirgb_Library_TARGETS := $(filter-out stl,$(gb_Library_TARGETS)) 46cdf0e10cSrcweir 47b63233d8Sdamjanendif # ifeq ($(OS),LINUX) 48cdf0e10cSrcweir 49b63233d8Sdamjanifeq ($(OS),SOLARIS) 50cdf0e10cSrcweir 51cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst comphelper:libcomphelper%,comphelper:libcomphelp%,$(gb_Library_FILENAMES)) 52cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst cppuhelper:libcppuhelper%,cppuhelper:libuno_cppuhelper%,$(gb_Library_FILENAMES)) 53c4c42a0eSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst hyphen_uno:hyphen_uno.uno%,hyphen_uno:libhyphen.uno%,$(gb_Library_FILENAMES)) 54c4c42a0eSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst lnth:lnth.uno%,lnth:liblnth.uno%,$(gb_Library_FILENAMES)) 55cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst jvmfwk:libuno_jvmfwk%,jvmfwk:libjvmfwk%,$(gb_Library_FILENAMES)) 561c25f252Sdamjangb_Library_FILENAMES := $(patsubst pyuno_loader:libpyuno%,pyuno_loader:pyuno.so,$(gb_Library_FILENAMES)) 57790ba93fSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst reg:libuno_reg%,reg:libreg%,$(gb_Library_FILENAMES)) 58cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst salhelper:libsalhelper%,salhelper:libuno_salhelper%,$(gb_Library_FILENAMES)) 59c4c42a0eSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst spell:spell.uno%,spell:libspell.uno%,$(gb_Library_FILENAMES)) 60790ba93fSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst store:libuno_store%,store:libstore%,$(gb_Library_FILENAMES)) 618cb913c4SDamjan Jovanovicgb_Library_FILENAMES := $(patsubst sunjavaplugin:libsunjavaplugin%,sunjavaplugin:sunjavaplugin%,$(gb_Library_FILENAMES)) 62b63233d8Sdamjan#$(info libnames: $(gb_Library_FILENAMES)) 63b63233d8Sdamjan 64b63233d8Sdamjanendif 65b63233d8Sdamjan 66b63233d8Sdamjanifeq ($(OS),MACOSX) 67b63233d8Sdamjan 68b63233d8Sdamjangb_Library_FILENAMES := $(patsubst comphelper:libcomphelper%,comphelper:libcomphelp%,$(gb_Library_FILENAMES)) 69b63233d8Sdamjangb_Library_FILENAMES := $(patsubst cppuhelper:libcppuhelper%,cppuhelper:libuno_cppuhelper%,$(gb_Library_FILENAMES)) 70c4c42a0eSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst hyphen_uno:hyphen_uno.uno%,hyphen_uno:libhyphen.uno%,$(gb_Library_FILENAMES)) 71c4c42a0eSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst lnth:lnth.uno%,lnth:liblnth.uno%,$(gb_Library_FILENAMES)) 72b63233d8Sdamjangb_Library_FILENAMES := $(patsubst jvmfwk:libuno_jvmfwk%,jvmfwk:libjvmfwk%,$(gb_Library_FILENAMES)) 731c25f252Sdamjan# pyuno.so even on Mac OS X, because it is a python module 741c25f252Sdamjangb_Library_FILENAMES := $(patsubst pyuno_loader:libpyuno%,pyuno_loader:pyuno.so,$(gb_Library_FILENAMES)) 75790ba93fSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst reg:libuno_reg%,reg:libreg%,$(gb_Library_FILENAMES)) 76b63233d8Sdamjangb_Library_FILENAMES := $(patsubst salhelper:libsalhelper%,salhelper:libuno_salhelper%,$(gb_Library_FILENAMES)) 77c4c42a0eSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst spell:spell.uno%,spell:libspell.uno%,$(gb_Library_FILENAMES)) 78790ba93fSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst store:libuno_store%,store:libstore%,$(gb_Library_FILENAMES)) 798cb913c4SDamjan Jovanovicgb_Library_FILENAMES := $(patsubst sunjavaplugin:libsunjavaplugin%,sunjavaplugin:sunjavaplugin%,$(gb_Library_FILENAMES)) 807501fd1bSJim Jagielskigb_Library_FILENAMES := $(patsubst jurt:libjpipe.dylib%,jurt:libjpipe.jnilib%,$(gb_Library_FILENAMES)) 81cdf0e10cSrcweir 82b597708bSHerbert Dürrgb_Library_FILENAMES := $(patsubst stl:%,stl:libc++.dylib,$(gb_Library_FILENAMES)) 83b597708bSHerbert Dürrgb_Library_TARGETS := $(filter-out stl,$(gb_Library_TARGETS)) 84cdf0e10cSrcweir 85b63233d8Sdamjanendif # ifeq ($(OS),MACOSX) 86cdf0e10cSrcweir 87cdf0e10cSrcweirifeq ($(OS),WNT) 88b63233d8Sdamjan 89cdf0e10cSrcweirifneq ($(USE_MINGW),) 90b63233d8Sdamjan 91cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst comphelper:icomphelper%,comphelper:icomphelp%,$(gb_Library_FILENAMES)) 92cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst i18nisolang1:ii18nisolang1%,i18nisolang1:ii18nisolang%,$(gb_Library_FILENAMES)) 93cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst i18nisolang1:iii18nisolang1%,i18nisolang1:iii18nisolang%,$(gb_Library_FILENAMES)) 94cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst sb:isb%,sb:basic%,$(gb_Library_FILENAMES)) 95cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst sfx:isfx%,sfx:sfx%,$(gb_Library_FILENAMES)) 96cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst svt:isvt%,svt:svtool%,$(gb_Library_FILENAMES)) 97cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst tl:itl%,tl:itools%,$(gb_Library_FILENAMES)) 98cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst vbahelper:ivbahelper%,vbahelper:vbahelper%,$(gb_Library_FILENAMES)) 99cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst vos3:ivos3%,vos3:ivos%,$(gb_Library_FILENAMES)) 100b63233d8Sdamjangb_Library_FILENAMES := $(patsubst crypto:icrypto%,crypto:crypto%,$(gb_Library_FILENAMES)) 101b63233d8Sdamjangb_Library_FILENAMES := $(patsubst ssl:issl%,ssl:ssl%,$(gb_Library_FILENAMES)) 102cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst xml2:ixml2%,xml2:libxml2$(gb_Library_IARCEXT),$(gb_Library_FILENAMES)) 103cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst xslt:ixslt%,xslt:libxslt.dll$(gb_Library_IARCEXT),$(gb_Library_FILENAMES)) 104cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst rdf:irdf%,rdf:librdf.dll$(gb_Library_IARCEXT),$(gb_Library_FILENAMES)) 105cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst z:iz%,z:zlib%,$(gb_Library_FILENAMES)) 1063d2a2350SHerbert Dürr 1073d2a2350SHerbert Dürrgb_Library_FILENAMES := $(patsubst stl:istl%,stl:msvcprt%,$(gb_Library_FILENAMES)) 1083d2a2350SHerbert Dürr 109b63233d8Sdamjan# handle libraries in msvc format that don't use an "i" prefix for their import library 110bbfba59fSMatthias Seidel# these are libraries built by AOO, but only a few of them 111bbfba59fSMatthias Seidel# all other libraries built by AOO and all platform libraries (exceptions see below) are used without an import library 112b63233d8Sdamjan# we link against their dlls in gcc format directly 113cdf0e10cSrcweirgb_Library_NOILIBFILENAMES:=\ 114cdf0e10cSrcweir uwinapi \ 115b63233d8Sdamjan winmm \ 116cdf0e10cSrcweir 117cdf0e10cSrcweirgb_Library_FILENAMES := $(filter-out $(foreach lib,$(gb_Library_NOILIBFILENAMES),$(lib):%),$(gb_Library_FILENAMES)) 118cdf0e10cSrcweirgb_Library_FILENAMES += $(foreach lib,$(gb_Library_NOILIBFILENAMES),$(lib):$(lib)$(gb_Library_PLAINEXT)) 119cdf0e10cSrcweir 120b63233d8Sdamjan# some Windows platform libraries are missing in mingw library set 121b63233d8Sdamjan# we have to use them from the PSDK by linking against their ilibs 122cdf0e10cSrcweirgb_Library_ILIBFILENAMES:=\ 1237d9c290fSMichael Stahl gdiplus \ 124cdf0e10cSrcweir uuid \ 125b63233d8Sdamjan winmm \ 126cdf0e10cSrcweir 127cdf0e10cSrcweirgb_Library_DLLFILENAMES := $(filter-out $(foreach lib,$(gb_Library_ILIBFILENAMES),$(lib):%),$(gb_Library_DLLFILENAMES)) 128cdf0e10cSrcweirgb_Library_DLLFILENAMES += $(foreach lib,$(gb_Library_ILIBFILENAMES),$(lib):$(PSDK_HOME)/lib/$(lib)$(gb_Library_ILIBEXT)) 129cdf0e10cSrcweir 130cdf0e10cSrcweirgb_Library_DLLFILENAMES := $(patsubst comphelper:comphelper%,comphelper:comphelp%,$(gb_Library_DLLFILENAMES)) 131c4c42a0eSDamjan Jovanovicgb_Library_DLLFILENAMES := $(patsubst hyphen_uno:hyphen_uno.uno%,hyphen_uno:hyphen.uno%,$(gb_Library_DLLFILENAMES)) 13204bbf639SMichael Stahlgb_Library_DLLFILENAMES := $(patsubst jvmaccess:jvmaccess%,jvmaccess:jvmaccess$(gb_Library_MAJORVER)%,$(gb_Library_DLLFILENAMES)) 133cdf0e10cSrcweirgb_Library_DLLFILENAMES := $(patsubst z:z%,z:zlib%,$(gb_Library_DLLFILENAMES)) 134cdf0e10cSrcweir 135cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst stl:%,stl:$(gb_Library_IARCSYSPRE)stdc++_s$(gb_Library_IARCSYSPRE),$(gb_Library_FILENAMES)) 136cdf0e10cSrcweirgb_Library_TARGETS := $(filter-out stl,$(gb_Library_TARGETS)) 137cdf0e10cSrcweir 138b63233d8Sdamjanelse #ifneq ($(USE_MINGW),) 139b63233d8Sdamjan 140cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst comphelper:icomphelper%,comphelper:icomphelp%,$(gb_Library_FILENAMES)) 141cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst i18nisolang1:ii18nisolang1%,i18nisolang1:ii18nisolang%,$(gb_Library_FILENAMES)) 142cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst i18nisolang1:iii18nisolang1%,i18nisolang1:iii18nisolang%,$(gb_Library_FILENAMES)) 143cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst sb:isb%,sb:basic%,$(gb_Library_FILENAMES)) 144cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst sfx:isfx%,sfx:sfx%,$(gb_Library_FILENAMES)) 145cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst svt:isvt%,svt:svtool%,$(gb_Library_FILENAMES)) 146cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst tl:itl%,tl:itools%,$(gb_Library_FILENAMES)) 147cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst vbahelper:ivbahelper%,vbahelper:vbahelper%,$(gb_Library_FILENAMES)) 148cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst vos3:ivos3%,vos3:ivos%,$(gb_Library_FILENAMES)) 149*4c5b548fSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst crypto:icrypto%,crypto:libcrypto%,$(gb_Library_FILENAMES)) 150*4c5b548fSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst ssl:issl%,ssl:libssl%,$(gb_Library_FILENAMES)) 151cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst xml2:ixml2%,xml2:libxml2%,$(gb_Library_FILENAMES)) 152cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst xslt:ixslt%,xslt:libxslt%,$(gb_Library_FILENAMES)) 153cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst rdf:irdf%,rdf:librdf%,$(gb_Library_FILENAMES)) 1540b220f58SEike Rathkegb_StaticLibrary_FILENAMES := $(patsubst graphite:graphite%,graphite:graphite_dll%,$(gb_StaticLibrary_FILENAMES)) 1553d2a2350SHerbert Dürr 1563d2a2350SHerbert Dürrgb_Library_FILENAMES := $(patsubst stl:istl%,stl:msvcprt%,$(gb_Library_FILENAMES)) 1573d2a2350SHerbert Dürr 158b63233d8Sdamjan# change the names of all import libraries that don't have an "i" prefix as in our standard naming schema 159b63233d8Sdamjangb_Library_NOILIBFILENAMES := $(gb_Library_PLAINLIBS_NONE) 160cdf0e10cSrcweir 161cdf0e10cSrcweirgb_Library_FILENAMES := $(filter-out $(foreach lib,$(gb_Library_NOILIBFILENAMES),$(lib):%),$(gb_Library_FILENAMES)) 162cdf0e10cSrcweirgb_Library_FILENAMES += $(foreach lib,$(gb_Library_NOILIBFILENAMES),$(lib):$(lib)$(gb_Library_PLAINEXT)) 163b63233d8Sdamjangb_Library_FILENAMES := $(patsubst z:z%,z:zlib%,$(gb_Library_FILENAMES)) 164b63233d8Sdamjan 165f2b8a6a0SHerbert Dürr#ifneq ($(gb_PRODUCT),$(true)) 166f2b8a6a0SHerbert Dürr#gb_Library_FILENAMES := $(patsubst msvcrt:msvcrt%,msvcrt:msvcrtd%,$(gb_Library_FILENAMES)) 167f2b8a6a0SHerbert Dürr#endif 168cdf0e10cSrcweir 169cdf0e10cSrcweirgb_Library_DLLFILENAMES := $(patsubst comphelper:comphelper%,comphelper:comphelp%,$(gb_Library_DLLFILENAMES)) 170c4c42a0eSDamjan Jovanovicgb_Library_DLLFILENAMES := $(patsubst hyphen_uno:hyphen_uno.uno%,hyphen_uno:hyphen.uno%,$(gb_Library_DLLFILENAMES)) 1717f13e1b7Sdamjangb_Library_DLLFILENAMES := $(patsubst pyuno:%,pyuno:pyuno.pyd,$(gb_Library_DLLFILENAMES)) 172cdf0e10cSrcweirgb_Library_DLLFILENAMES := $(patsubst z:z%,z:zlib%,$(gb_Library_DLLFILENAMES)) 173cdf0e10cSrcweir 174b63233d8Sdamjanendif # ifneq ($(USE_MINGW),) 175cdf0e10cSrcweir 176b77af630Sdamjanelse # ifeq ($(OS),WNT) 177b77af630Sdamjan 178b77af630Sdamjangb_Library_FILENAMES := $(patsubst vbaobj:vbaobj.uno%,vbaobj:libvbaobj.uno%,$(gb_Library_FILENAMES)) 179b77af630Sdamjan 180b63233d8Sdamjanendif # ifeq ($(OS),WNT) 181cdf0e10cSrcweir 18252878315SPedro Giffuniifeq ($(OS),OS2) 183685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst comphelper:comphelper%,comphelper:comphelpgcc3%,$(gb_Library_FILENAMES)) 184685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst cppu:cppu%,cppu:cppu3%,$(gb_Library_FILENAMES)) 185685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst cppuhelper:cppuhelper%,cppuhelper:cppuh3%,$(gb_Library_FILENAMES)) 18662c6e450SYuri Dariogb_Library_FILENAMES := $(patsubst cui:iicuc%,cui:icuc%,$(gb_Library_FILENAMES)) 187685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst i18nisolang1:i18nisolang1%,i18nisolang1:i18nisolang1gcc3%,$(gb_Library_FILENAMES)) 188685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst jvmaccess:jvmaccess%,jvmaccess:jvmaccess3gcc3%,$(gb_Library_FILENAMES)) 189685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst jvmfwk:jvmfwk%,jvmfwk:jvmfwk3%,$(gb_Library_FILENAMES)) 190685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst tl:itl%,tl:tl%,$(gb_Library_FILENAMES)) 191685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst sal:sal%,sal:sal3%,$(gb_Library_FILENAMES)) 192685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst salhelper:salhelper%,salhelper:salhelp3%,$(gb_Library_FILENAMES)) 19352878315SPedro Giffunigb_Library_FILENAMES := $(patsubst sfx:isfx%,sfx:sfx%,$(gb_Library_FILENAMES)) 194685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst svl:isvl%,svl:svl%,$(gb_Library_FILENAMES)) 19552878315SPedro Giffunigb_Library_FILENAMES := $(patsubst svt:isvt%,svt:svtool%,$(gb_Library_FILENAMES)) 19652878315SPedro Giffunigb_Library_FILENAMES := $(patsubst vbahelper:ivbahelper%,vbahelper:vbahelper%,$(gb_Library_FILENAMES)) 197685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst vcl:ivcl%,vcl:vcl%,$(gb_Library_FILENAMES)) 198685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst vos3:vos3%,vos3:vos3gcc3%,$(gb_Library_FILENAMES)) 199685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst xo:ixo%,xo:xo%,$(gb_Library_FILENAMES)) 20052878315SPedro Giffunigb_Library_FILENAMES := $(patsubst xml2:ixml2%,xml2:xml2%,$(gb_Library_FILENAMES)) 20152878315SPedro Giffunigb_Library_FILENAMES := $(patsubst xslt:ixslt%,xslt:libxslt%,$(gb_Library_FILENAMES)) 202685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst stl:stl%,stl:stdc++%,$(gb_Library_FILENAMES)) 20352878315SPedro Giffuni 20462c6e450SYuri Dario# translate to 8.3 naming 205df24fb97SYuri Dariogb_Library_DLLFILENAMES := $(patsubst sw:sw%,sw:swoo%,$(gb_Library_DLLFILENAMES)) 20652878315SPedro Giffunigb_Library_DLLFILENAMES := $(patsubst comphelper:comphelper%,comphelper:comphelp%,$(gb_Library_DLLFILENAMES)) 20762c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst drawinglayer:drawinglayer%,drawinglayer:drawingl%,$(gb_Library_DLLFILENAMES)) 208774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst fsstorage:fsstorage%,fsstorage:fsstorag%,$(gb_Library_DLLFILENAMES)) 209774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst hatchwindowfactory:hatchwindowfactory%,hatchwindowfactory:hatchwin%,$(gb_Library_DLLFILENAMES)) 210c4c42a0eSDamjan Jovanovicgb_Library_DLLFILENAMES := $(patsubst hyphen_uno:hyphen_uno.uno%,hyphen_uno:hyphen_u%,$(gb_Library_DLLFILENAMES)) 211c4c42a0eSDamjan Jovanovicgb_Library_DLLFILENAMES := $(patsubst lnth:lnth.uno%,lnth:lnth%,$(gb_Library_DLLFILENAMES)) 21262c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst msforms:msforms.uno%,msforms:msforms%,$(gb_Library_DLLFILENAMES)) 213774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst passwordcontainer:passwordcontainer%,passwordcontainer:password%,$(gb_Library_DLLFILENAMES)) 21462c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst productregistration:productregistration.uno%,productregistration:productr%,$(gb_Library_DLLFILENAMES)) 21562c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst textconversiondlgs:textconversiondlgs%,textconversiondlgs:txcnvdlg%,$(gb_Library_DLLFILENAMES)) 21662c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst vbahelper:vbahelper%,vbahelper:vbahelp%,$(gb_Library_DLLFILENAMES)) 21762c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst vbaswobj:vbaswobj.uno%,vbaswobj:vbaswobj%,$(gb_Library_DLLFILENAMES)) 21862c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst sfx:test_sfx2_metadatable%,sfx:tstsfx2m%,$(gb_Library_DLLFILENAMES)) 219774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst xmlreader:xmlreader%,xmlreader:xmlreade%,$(gb_Library_DLLFILENAMES)) 220774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst ucbhelper:ucbhelper%,ucbhelper:ucbhelp%,$(gb_Library_DLLFILENAMES)) 221774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst cppcanvas:cppcanvas%,cppcanvas:cppcanva%,$(gb_Library_DLLFILENAMES)) 222774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst canvasfactory:canvasfactory%,canvasfactory:canvasfa%,$(gb_Library_DLLFILENAMES)) 223774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst canvastools:canvastools%,canvastools:canvasto%,$(gb_Library_DLLFILENAMES)) 224774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst cairocanvas:cairocanvas%,cairocanvas:cairocnv%,$(gb_Library_DLLFILENAMES)) 225774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst simplecanvas:simplecanvas%,simplecanvas:simpleca%,$(gb_Library_DLLFILENAMES)) 226c4c42a0eSDamjan Jovanovicgb_Library_DLLFILENAMES := $(patsubst spell:spell.uno%,spell:spell%,$(gb_Library_DLLFILENAMES)) 227774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst vclcanvas:vclcanvas%,vclcanvas:vclcanva%,$(gb_Library_DLLFILENAMES)) 228774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst writerfilter:writerfilter%,writerfilter:wfilt%,$(gb_Library_DLLFILENAMES)) 229774c2d42SYuri Dario 230774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst connector:connector%,connector:connecto%,$(gb_Library_DLLFILENAMES)) 231774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst configmgr:configmgr%,configmgr:configmg%,$(gb_Library_DLLFILENAMES)) 232774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst emboleobj:emboleobj%,emboleobj:emboleob%,$(gb_Library_DLLFILENAMES)) 233774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst fps_office:fps_office%,fps_office:fps_offi%,$(gb_Library_DLLFILENAMES)) 234774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst textinstream:textinstream%,textinstream:textouts%,$(gb_Library_DLLFILENAMES)) 235774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst textoutstream:textoutstream%,textoutstream:textouts%,$(gb_Library_DLLFILENAMES)) 236774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst sysdtrans:sysdtrans%,sysdtrans:sysdtran%,$(gb_Library_DLLFILENAMES)) 237774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst slideshow:slideshow%,slideshow:slidesho%,$(gb_Library_DLLFILENAMES)) 238774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst uuresolver:uuresolver%,uuresolver:uuresolv%,$(gb_Library_DLLFILENAMES)) 239774c2d42SYuri Dariogb_Library_DLLFILENAMES := $(patsubst ucpexpand1:ucpexpand1%,ucpexpand1:ucpexpan%,$(gb_Library_DLLFILENAMES)) 24062c6e450SYuri Dario 24162c6e450SYuri Dariogb_Library_NOILIBFILENAMES:=\ 2427f6ffbefSDamjan Jovanovic ft2lib 24352878315SPedro Giffuni 2447e0206ddSYuri Dariogb_Library_ILIBFILENAMES:=\ 2457e0206ddSYuri Dario ft2lib \ 2467e0206ddSYuri Dario uuid \ 2477e0206ddSYuri Dario 24852878315SPedro Giffuniendif 24952878315SPedro Giffuni 250ead13252SPedro Giffuniifeq ($(OS),FREEBSD) 251ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst comphelper:libcomphelper%,comphelper:libcomphelp%,$(gb_Library_FILENAMES)) 252ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst cppuhelper:libcppuhelper%,cppuhelper:libuno_cppuhelper%,$(gb_Library_FILENAMES)) 253ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst cppuhelper:libcppuhelper%,cppuhelper:libuno_cppuhelper%,$(gb_Library_FILENAMES)) 254c4c42a0eSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst hyphen_uno:hyphen_uno.uno%,hyphen_uno:libhyphen.uno%,$(gb_Library_FILENAMES)) 255c4c42a0eSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst lnth:lnth.uno%,lnth:liblnth.uno%,$(gb_Library_FILENAMES)) 256ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst jvmfwk:libuno_jvmfwk%,jvmfwk:libjvmfwk%,$(gb_Library_FILENAMES)) 257ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst jvmfwk:libuno_jvmfwk%,jvmfwk:libjvmfwk%,$(gb_Library_FILENAMES)) 258790ba93fSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst reg:libuno_reg%,reg:libreg%,$(gb_Library_FILENAMES)) 2591c25f252Sdamjangb_Library_FILENAMES := $(patsubst pyuno_loader:libpyuno%,pyuno_loader:pyuno.so,$(gb_Library_FILENAMES)) 260ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst salhelper:libsalhelper%,salhelper:libuno_salhelper%,$(gb_Library_FILENAMES)) 261ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst salhelper:libsalhelper%,salhelper:libuno_salhelper%,$(gb_Library_FILENAMES)) 262c4c42a0eSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst spell:spell.uno%,spell:libspell.uno%,$(gb_Library_FILENAMES)) 263790ba93fSDamjan Jovanovicgb_Library_FILENAMES := $(patsubst store:libuno_store%,store:libstore%,$(gb_Library_FILENAMES)) 2648cb913c4SDamjan Jovanovicgb_Library_FILENAMES := $(patsubst sunjavaplugin:libsunjavaplugin%,sunjavaplugin:sunjavaplugin%,$(gb_Library_FILENAMES)) 265ead13252SPedro Giffuni 266ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst stl:%,stl:libstdc++.so,$(gb_Library_FILENAMES)) 267ead13252SPedro Giffunigb_Library_TARGETS := $(filter-out stl,$(gb_Library_TARGETS)) 268ead13252SPedro Giffuni 269ead13252SPedro Giffuniendif 270ead13252SPedro Giffuni 271cdf0e10cSrcweir# we do not require a known rule for these, when using system libs 272cdf0e10cSrcweir 273cdf0e10cSrcweirgb_Library_TARGETS := $(filter-out stl,$(gb_Library_TARGETS)) 274cdf0e10cSrcweir 275b63233d8Sdamjanifeq ($(SYSTEM_EXPAT),YES) 276b63233d8Sdamjangb_Library_TARGETS := $(filter-out expat,$(gb_Library_TARGETS)) 277cdf0e10cSrcweirendif 278cdf0e10cSrcweir 279cdf0e10cSrcweir# vim: set noet sw=4 ts=4: 280