xref: /aoo41x/main/RepositoryFixes.mk (revision 62c6e450)
17871dc3eSAndrew Rist#**************************************************************
27871dc3eSAndrew Rist#
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
107871dc3eSAndrew Rist#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
127871dc3eSAndrew Rist#
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.
197871dc3eSAndrew Rist#
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)
28cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst comphelper:libcomphelper%,comphelper:libcomphelp%,$(gb_Library_FILENAMES))
29cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst cppuhelper:libcppuhelper%,cppuhelper:libuno_cppuhelper%,$(gb_Library_FILENAMES))
30cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst cppuhelper:libcppuhelper%,cppuhelper:libuno_cppuhelper%,$(gb_Library_FILENAMES))
31cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst jvmfwk:libuno_jvmfwk%,jvmfwk:libjvmfwk%,$(gb_Library_FILENAMES))
32cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst jvmfwk:libuno_jvmfwk%,jvmfwk:libjvmfwk%,$(gb_Library_FILENAMES))
33cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst salhelper:libsalhelper%,salhelper:libuno_salhelper%,$(gb_Library_FILENAMES))
34cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst salhelper:libsalhelper%,salhelper:libuno_salhelper%,$(gb_Library_FILENAMES))
35cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst ucbhelper:libucbhelper%,ucbhelper:libucbhelper4%,$(gb_Library_FILENAMES))
36cdf0e10cSrcweir
37cdf0e10cSrcweirifeq ($(USE_SYSTEM_STL),YES)
38cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst stl:%,stl:libstdc++.so,$(gb_Library_FILENAMES))
39cdf0e10cSrcweirgb_Library_TARGETS := $(filter-out stl,$(gb_Library_TARGETS))
40cdf0e10cSrcweirendif
41cdf0e10cSrcweir
42cdf0e10cSrcweirendif
43cdf0e10cSrcweir
44cdf0e10cSrcweir
45cdf0e10cSrcweirifeq ($(OS),MACOSX)
46cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst comphelper:libcomphelper%,comphelper:libcomphelp%,$(gb_Library_FILENAMES))
47cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst cppuhelper:libcppuhelper%,cppuhelper:libuno_cppuhelper%,$(gb_Library_FILENAMES))
48cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst jvmfwk:libuno_jvmfwk%,jvmfwk:libjvmfwk%,$(gb_Library_FILENAMES))
49cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst salhelper:libsalhelper%,salhelper:libuno_salhelper%,$(gb_Library_FILENAMES))
50cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst ucbhelper:libucbhelper%,ucbhelper:libucbhelper4%,$(gb_Library_FILENAMES))
51cdf0e10cSrcweir
52cdf0e10cSrcweirifeq ($(USE_SYSTEM_STL),YES)
53cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst stl:%,stl:libstdc++.dylib,$(gb_Library_FILENAMES))
54cdf0e10cSrcweirgb_Library_TARGETS := $(filter-out stl,$(gb_Library_TARGETS))
55cdf0e10cSrcweirendif
56cdf0e10cSrcweir
57cdf0e10cSrcweirendif
58cdf0e10cSrcweir
59cdf0e10cSrcweir
60cdf0e10cSrcweirifeq ($(OS),WNT)
61cdf0e10cSrcweirifneq ($(USE_MINGW),)
62cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst comphelper:icomphelper%,comphelper:icomphelp%,$(gb_Library_FILENAMES))
63cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst cppunit:icppunit%,cppunit:libcppunit.dll$(gb_Library_IARCEXT),$(gb_Library_FILENAMES))
64cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst cui:icui%,cui:icuin%,$(gb_Library_FILENAMES))
65cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst i18nisolang1:ii18nisolang1%,i18nisolang1:ii18nisolang%,$(gb_Library_FILENAMES))
66cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst i18nisolang1:iii18nisolang1%,i18nisolang1:iii18nisolang%,$(gb_Library_FILENAMES))
67cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst sb:isb%,sb:basic%,$(gb_Library_FILENAMES))
68cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst sfx:isfx%,sfx:sfx%,$(gb_Library_FILENAMES))
69cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst svt:isvt%,svt:svtool%,$(gb_Library_FILENAMES))
70cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst tl:itl%,tl:itools%,$(gb_Library_FILENAMES))
71cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst vbahelper:ivbahelper%,vbahelper:vbahelper%,$(gb_Library_FILENAMES))
72cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst vos3:ivos3%,vos3:ivos%,$(gb_Library_FILENAMES))
73cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst xml2:ixml2%,xml2:libxml2$(gb_Library_IARCEXT),$(gb_Library_FILENAMES))
74cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst xslt:ixslt%,xslt:libxslt.dll$(gb_Library_IARCEXT),$(gb_Library_FILENAMES))
75cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst rdf:irdf%,rdf:librdf.dll$(gb_Library_IARCEXT),$(gb_Library_FILENAMES))
76cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst z:iz%,z:zlib%,$(gb_Library_FILENAMES))
77cdf0e10cSrcweirifeq ($(gb_PRODUCT),$(true))
78cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst stl:istl%,stl:stlport_vc71%,$(gb_Library_FILENAMES))
79cdf0e10cSrcweirelse
80cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst stl:istl%,stl:stlport_vc71_stldebug%,$(gb_Library_FILENAMES))
81cdf0e10cSrcweirendif
82cdf0e10cSrcweirgb_Library_NOILIBFILENAMES:=\
837d9c290fSMichael Stahl	icule \
84cdf0e10cSrcweir	icuuc \
85cdf0e10cSrcweir	sot \
86cdf0e10cSrcweir	uwinapi \
87cdf0e10cSrcweir
88cdf0e10cSrcweirgb_Library_FILENAMES := $(filter-out $(foreach lib,$(gb_Library_NOILIBFILENAMES),$(lib):%),$(gb_Library_FILENAMES))
89cdf0e10cSrcweirgb_Library_FILENAMES += $(foreach lib,$(gb_Library_NOILIBFILENAMES),$(lib):$(lib)$(gb_Library_PLAINEXT))
90cdf0e10cSrcweir
91cdf0e10cSrcweirgb_Library_ILIBFILENAMES:=\
927d9c290fSMichael Stahl	gdiplus \
93cdf0e10cSrcweir	uuid \
94cdf0e10cSrcweir
95cdf0e10cSrcweirgb_Library_DLLFILENAMES := $(filter-out $(foreach lib,$(gb_Library_ILIBFILENAMES),$(lib):%),$(gb_Library_DLLFILENAMES))
96cdf0e10cSrcweirgb_Library_DLLFILENAMES += $(foreach lib,$(gb_Library_ILIBFILENAMES),$(lib):$(PSDK_HOME)/lib/$(lib)$(gb_Library_ILIBEXT))
97cdf0e10cSrcweir
98cdf0e10cSrcweirgb_Library_DLLFILENAMES := $(patsubst comphelper:comphelper%,comphelper:comphelp%,$(gb_Library_DLLFILENAMES))
9904bbf639SMichael Stahlgb_Library_DLLFILENAMES := $(patsubst icule:icule%,icule:icule40%,$(gb_Library_DLLFILENAMES))
100cdf0e10cSrcweirgb_Library_DLLFILENAMES := $(patsubst icuuc:icuuc%,icuuc:icuuc40%,$(gb_Library_DLLFILENAMES))
10104bbf639SMichael Stahlgb_Library_DLLFILENAMES := $(patsubst jvmaccess:jvmaccess%,jvmaccess:jvmaccess$(gb_Library_MAJORVER)%,$(gb_Library_DLLFILENAMES))
102cdf0e10cSrcweirgb_Library_DLLFILENAMES := $(patsubst ucbhelper:ucbhelper%,ucbhelper:ucbhelper4%,$(gb_Library_DLLFILENAMES))
103cdf0e10cSrcweirgb_Library_DLLFILENAMES := $(patsubst z:z%,z:zlib%,$(gb_Library_DLLFILENAMES))
104cdf0e10cSrcweir
105cdf0e10cSrcweirifeq ($(USE_SYSTEM_STL),YES)
106cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst stl:%,stl:$(gb_Library_IARCSYSPRE)stdc++_s$(gb_Library_IARCSYSPRE),$(gb_Library_FILENAMES))
107cdf0e10cSrcweirgb_Library_TARGETS := $(filter-out stl,$(gb_Library_TARGETS))
108cdf0e10cSrcweirendif
109cdf0e10cSrcweir
110cdf0e10cSrcweirelse
111cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst comphelper:icomphelper%,comphelper:icomphelp%,$(gb_Library_FILENAMES))
112cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst cppunit:icppunit%,cppunit:icppunit_dll%,$(gb_Library_FILENAMES))
113cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst cui:icui%,cui:icuin%,$(gb_Library_FILENAMES))
114cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst i18nisolang1:ii18nisolang1%,i18nisolang1:ii18nisolang%,$(gb_Library_FILENAMES))
115cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst i18nisolang1:iii18nisolang1%,i18nisolang1:iii18nisolang%,$(gb_Library_FILENAMES))
116cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst sb:isb%,sb:basic%,$(gb_Library_FILENAMES))
117cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst sfx:isfx%,sfx:sfx%,$(gb_Library_FILENAMES))
118cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst svt:isvt%,svt:svtool%,$(gb_Library_FILENAMES))
119cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst tl:itl%,tl:itools%,$(gb_Library_FILENAMES))
120cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst vbahelper:ivbahelper%,vbahelper:vbahelper%,$(gb_Library_FILENAMES))
121cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst vos3:ivos3%,vos3:ivos%,$(gb_Library_FILENAMES))
122cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst xml2:ixml2%,xml2:libxml2%,$(gb_Library_FILENAMES))
123cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst xslt:ixslt%,xslt:libxslt%,$(gb_Library_FILENAMES))
124cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst rdf:irdf%,rdf:librdf%,$(gb_Library_FILENAMES))
125cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst z:iz%,z:zlib%,$(gb_Library_FILENAMES))
1260b220f58SEike Rathkegb_StaticLibrary_FILENAMES := $(patsubst graphite:graphite%,graphite:graphite_dll%,$(gb_StaticLibrary_FILENAMES))
127cdf0e10cSrcweirifeq ($(gb_PRODUCT),$(true))
128cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst stl:istl%,stl:stlport_vc71%,$(gb_Library_FILENAMES))
129cdf0e10cSrcweirelse
130cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst stl:istl%,stl:stlport_vc71_stldebug%,$(gb_Library_FILENAMES))
131cdf0e10cSrcweirendif
132cdf0e10cSrcweirgb_Library_NOILIBFILENAMES:=\
133cdf0e10cSrcweir	advapi32 \
134cdf0e10cSrcweir	gdi32 \
135cdf0e10cSrcweir	gdiplus \
136cdf0e10cSrcweir	gnu_getopt \
137cdf0e10cSrcweir	icuuc \
138cdf0e10cSrcweir	icule \
139cdf0e10cSrcweir	imm32\
140cdf0e10cSrcweir	kernel32 \
141cdf0e10cSrcweir	msimg32 \
142cdf0e10cSrcweir	msvcrt \
143cdf0e10cSrcweir	mpr \
144cdf0e10cSrcweir	oldnames \
145cdf0e10cSrcweir	ole32 \
146cdf0e10cSrcweir	oleaut32 \
147cdf0e10cSrcweir	shell32 \
148cdf0e10cSrcweir	sot \
149cdf0e10cSrcweir	user32 \
150cdf0e10cSrcweir	uuid \
151cdf0e10cSrcweir	uwinapi \
152cdf0e10cSrcweir	winspool \
153cdf0e10cSrcweir
154cdf0e10cSrcweirgb_Library_FILENAMES := $(filter-out $(foreach lib,$(gb_Library_NOILIBFILENAMES),$(lib):%),$(gb_Library_FILENAMES))
155cdf0e10cSrcweirgb_Library_FILENAMES += $(foreach lib,$(gb_Library_NOILIBFILENAMES),$(lib):$(lib)$(gb_Library_PLAINEXT))
156cdf0e10cSrcweirifneq ($(gb_PRODUCT),$(true))
157cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst msvcrt:msvcrt%,msvcrt:msvcrtd%,$(gb_Library_FILENAMES))
158cdf0e10cSrcweirendif
159cdf0e10cSrcweir
160cdf0e10cSrcweirgb_Library_DLLFILENAMES := $(patsubst comphelper:comphelper%,comphelper:comphelp%,$(gb_Library_DLLFILENAMES))
161cdf0e10cSrcweirgb_Library_DLLFILENAMES := $(patsubst icuuc:icuuc%,icuuc:icuuc40%,$(gb_Library_DLLFILENAMES))
162cdf0e10cSrcweirgb_Library_DLLFILENAMES := $(patsubst ucbhelper:ucbhelper%,ucbhelper:ucbhelper4%,$(gb_Library_DLLFILENAMES))
163cdf0e10cSrcweirgb_Library_DLLFILENAMES := $(patsubst z:z%,z:zlib%,$(gb_Library_DLLFILENAMES))
164cdf0e10cSrcweir
165cdf0e10cSrcweirendif
166cdf0e10cSrcweir
167cdf0e10cSrcweirendif
168cdf0e10cSrcweir
16952878315SPedro Giffuniifeq ($(OS),OS2)
17052878315SPedro Giffunigb_Library_FILENAMES := $(patsubst comphelper:icomphelper%,comphelper:icomphelp%,$(gb_Library_FILENAMES))
17152878315SPedro Giffunigb_Library_FILENAMES := $(patsubst cppunit:icppunit%,cppunit:cppunit%,$(gb_Library_FILENAMES))
172*62c6e450SYuri Dariogb_Library_FILENAMES := $(patsubst cui:iicuc%,cui:icuc%,$(gb_Library_FILENAMES))
17352878315SPedro Giffunigb_Library_FILENAMES := $(patsubst i18nisolang1:ii18nisolang1%,i18nisolang1:ii18nisolang%,$(gb_Library_FILENAMES))
17452878315SPedro Giffunigb_Library_FILENAMES := $(patsubst rdf:irdf%,rdf:librdf%,$(gb_Library_FILENAMES))
17552878315SPedro Giffunigb_Library_FILENAMES := $(patsubst tl:itl%,tl:itools%,$(gb_Library_FILENAMES))
17652878315SPedro Giffunigb_Library_FILENAMES := $(patsubst sb:isb%,sb:basic%,$(gb_Library_FILENAMES))
17752878315SPedro Giffunigb_Library_FILENAMES := $(patsubst sfx:isfx%,sfx:sfx%,$(gb_Library_FILENAMES))
17852878315SPedro Giffunigb_Library_FILENAMES := $(patsubst svt:isvt%,svt:svtool%,$(gb_Library_FILENAMES))
17952878315SPedro Giffunigb_Library_FILENAMES := $(patsubst vbahelper:ivbahelper%,vbahelper:vbahelper%,$(gb_Library_FILENAMES))
18052878315SPedro Giffunigb_Library_FILENAMES := $(patsubst vos3:ivos3%,vos3:ivos%,$(gb_Library_FILENAMES))
18152878315SPedro Giffunigb_Library_FILENAMES := $(patsubst xml2:ixml2%,xml2:xml2%,$(gb_Library_FILENAMES))
18252878315SPedro Giffunigb_Library_FILENAMES := $(patsubst xslt:ixslt%,xslt:libxslt%,$(gb_Library_FILENAMES))
183*62c6e450SYuri Dariogb_Library_FILENAMES := $(patsubst stl:istl%,stl:stdc++%,$(gb_Library_FILENAMES))
18452878315SPedro Giffuni#$(info libnames: $(gb_Library_FILENAMES))
18552878315SPedro Giffuni
186*62c6e450SYuri Dario# translate to 8.3 naming
18752878315SPedro Giffunigb_Library_DLLFILENAMES := $(patsubst comphelper:comphelper%,comphelper:comphelp%,$(gb_Library_DLLFILENAMES))
188*62c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst drawinglayer:drawinglayer%,drawinglayer:drawingl%,$(gb_Library_DLLFILENAMES))
189*62c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst fsstorage:fsstorage.uno%,fsstorage:fsstorag%,$(gb_Library_DLLFILENAMES))
190*62c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst hatchwindowfactory:hatchwindowfactory.uno%,hatchwindowfactory:hatchwin%,$(gb_Library_DLLFILENAMES))
191*62c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst msforms:msforms.uno%,msforms:msforms%,$(gb_Library_DLLFILENAMES))
192*62c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst passwordcontainer:passwordcontainer.uno%,passwordcontainer:password%,$(gb_Library_DLLFILENAMES))
193*62c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst productregistration:productregistration.uno%,productregistration:productr%,$(gb_Library_DLLFILENAMES))
194*62c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst textconversiondlgs:textconversiondlgs%,textconversiondlgs:txcnvdlg%,$(gb_Library_DLLFILENAMES))
195*62c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst vbahelper:vbahelper%,vbahelper:vbahelp%,$(gb_Library_DLLFILENAMES))
196*62c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst vbaswobj:vbaswobj.uno%,vbaswobj:vbaswobj%,$(gb_Library_DLLFILENAMES))
197*62c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst sfx:test_sfx2_metadatable%,sfx:tstsfx2m%,$(gb_Library_DLLFILENAMES))
198*62c6e450SYuri Dario
199*62c6e450SYuri Dariogb_Library_NOILIBFILENAMES:=\
200*62c6e450SYuri Dario	icuuc \
201*62c6e450SYuri Dario	icule
20252878315SPedro Giffuni
20352878315SPedro Giffuniendif
20452878315SPedro Giffuni
205cdf0e10cSrcweirifeq ($(OS),SOLARIS)
206cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst comphelper:libcomphelper%,comphelper:libcomphelp%,$(gb_Library_FILENAMES))
207cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst cppuhelper:libcppuhelper%,cppuhelper:libuno_cppuhelper%,$(gb_Library_FILENAMES))
208cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst ucbhelper:libucbhelper%,ucbhelper:libucbhelper4%,$(gb_Library_FILENAMES))
209cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst jvmfwk:libuno_jvmfwk%,jvmfwk:libjvmfwk%,$(gb_Library_FILENAMES))
210cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst salhelper:libsalhelper%,salhelper:libuno_salhelper%,$(gb_Library_FILENAMES))
211cdf0e10cSrcweir#$(info libnames: $(gb_Library_FILENAMES))
212cdf0e10cSrcweir
213cdf0e10cSrcweirendif
214cdf0e10cSrcweir
215ead13252SPedro Giffuniifeq ($(OS),FREEBSD)
216ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst comphelper:libcomphelper%,comphelper:libcomphelp%,$(gb_Library_FILENAMES))
217ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst cppuhelper:libcppuhelper%,cppuhelper:libuno_cppuhelper%,$(gb_Library_FILENAMES))
218ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst cppuhelper:libcppuhelper%,cppuhelper:libuno_cppuhelper%,$(gb_Library_FILENAMES))
219ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst jvmfwk:libuno_jvmfwk%,jvmfwk:libjvmfwk%,$(gb_Library_FILENAMES))
220ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst jvmfwk:libuno_jvmfwk%,jvmfwk:libjvmfwk%,$(gb_Library_FILENAMES))
221ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst salhelper:libsalhelper%,salhelper:libuno_salhelper%,$(gb_Library_FILENAMES))
222ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst salhelper:libsalhelper%,salhelper:libuno_salhelper%,$(gb_Library_FILENAMES))
223ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst ucbhelper:libucbhelper%,ucbhelper:libucbhelper4%,$(gb_Library_FILENAMES))
224ead13252SPedro Giffuni
225ead13252SPedro Giffuniifeq ($(USE_SYSTEM_STL),YES)
226ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst stl:%,stl:libstdc++.so,$(gb_Library_FILENAMES))
227ead13252SPedro Giffunigb_Library_TARGETS := $(filter-out stl,$(gb_Library_TARGETS))
228ead13252SPedro Giffuniendif
229ead13252SPedro Giffuni
230ead13252SPedro Giffuniendif
231ead13252SPedro Giffuni
232cdf0e10cSrcweir# we do not require a known rule for these, when using system libs
233cdf0e10cSrcweir
234cdf0e10cSrcweirifeq ($(USE_SYSTEM_STL),YES)
235cdf0e10cSrcweirgb_Library_TARGETS := $(filter-out stl,$(gb_Library_TARGETS))
236cdf0e10cSrcweirendif
237cdf0e10cSrcweir
238cdf0e10cSrcweirifeq ($(SYSTEM_LIBXML),YES)
239cdf0e10cSrcweirgb_Library_TARGETS := $(filter-out xml2,$(gb_Library_TARGETS))
240cdf0e10cSrcweirendif
241cdf0e10cSrcweir
242cdf0e10cSrcweirifeq ($(SYSTEM_LIBXSLT),YES)
243cdf0e10cSrcweirgb_Library_TARGETS := $(filter-out xslt,$(gb_Library_TARGETS))
244cdf0e10cSrcweirendif
245cdf0e10cSrcweir
246cdf0e10cSrcweirifeq ($(SYSTEM_REDLAND),YES)
247cdf0e10cSrcweirgb_Library_TARGETS := $(filter-out rdf,$(gb_Library_TARGETS))
248cdf0e10cSrcweirendif
249cdf0e10cSrcweir
250cdf0e10cSrcweirifeq ($(SYSTEM_ICU),YES)
251cdf0e10cSrcweirgb_Library_TARGETS := $(filter-out icuuc,$(gb_Library_TARGETS))
252cdf0e10cSrcweirendif
253cdf0e10cSrcweir
254cdf0e10cSrcweir# vim: set noet sw=4 ts=4:
255