xref: /aoo41x/main/RepositoryFixes.mk (revision dcefce6c)
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)
170685bfa88SYuri Dario#gb_Library_FILENAMES := $(patsubst basegfx:basegfx%,basegfx:ibasegfx%,$(gb_Library_FILENAMES))
171685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst comphelper:comphelper%,comphelper:comphelpgcc3%,$(gb_Library_FILENAMES))
172685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst cppu:cppu%,cppu:cppu3%,$(gb_Library_FILENAMES))
173685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst cppuhelper:cppuhelper%,cppuhelper:cppuh3%,$(gb_Library_FILENAMES))
17452878315SPedro Giffunigb_Library_FILENAMES := $(patsubst cppunit:icppunit%,cppunit:cppunit%,$(gb_Library_FILENAMES))
17562c6e450SYuri Dariogb_Library_FILENAMES := $(patsubst cui:iicuc%,cui:icuc%,$(gb_Library_FILENAMES))
176685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst i18nisolang1:i18nisolang1%,i18nisolang1:i18nisolang1gcc3%,$(gb_Library_FILENAMES))
177685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst i18nutil:i18nutil%,i18nutil:i18nutilgcc3%,$(gb_Library_FILENAMES))
178685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst icule:iicule%,icule:icule%,$(gb_Library_FILENAMES))
179685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst icuuc:iicuuc%,icuuc:icuuc%,$(gb_Library_FILENAMES))
180685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst jvmaccess:jvmaccess%,jvmaccess:jvmaccess3gcc3%,$(gb_Library_FILENAMES))
181685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst jvmfwk:jvmfwk%,jvmfwk:jvmfwk3%,$(gb_Library_FILENAMES))
182685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst rdf:rdf%,rdf:librdf%,$(gb_Library_FILENAMES))
183685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst tl:itl%,tl:tl%,$(gb_Library_FILENAMES))
184685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst sal:sal%,sal:sal3%,$(gb_Library_FILENAMES))
185685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst salhelper:salhelper%,salhelper:salhelp3%,$(gb_Library_FILENAMES))
186*dcefce6cSYuri Dariogb_Library_FILENAMES := $(patsubst sb:sb%,sb:basic%,$(gb_Library_FILENAMES))
18752878315SPedro Giffunigb_Library_FILENAMES := $(patsubst sfx:isfx%,sfx:sfx%,$(gb_Library_FILENAMES))
188685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst svl:isvl%,svl:svl%,$(gb_Library_FILENAMES))
18952878315SPedro Giffunigb_Library_FILENAMES := $(patsubst svt:isvt%,svt:svtool%,$(gb_Library_FILENAMES))
19052878315SPedro Giffunigb_Library_FILENAMES := $(patsubst vbahelper:ivbahelper%,vbahelper:vbahelper%,$(gb_Library_FILENAMES))
191685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst vcl:ivcl%,vcl:vcl%,$(gb_Library_FILENAMES))
192685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst ucbhelper:ucbhelper%,ucbhelper:ucbh4%,$(gb_Library_FILENAMES))
193685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst vos3:vos3%,vos3:vos3gcc3%,$(gb_Library_FILENAMES))
194685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst xo:ixo%,xo:xo%,$(gb_Library_FILENAMES))
19552878315SPedro Giffunigb_Library_FILENAMES := $(patsubst xml2:ixml2%,xml2:xml2%,$(gb_Library_FILENAMES))
19652878315SPedro Giffunigb_Library_FILENAMES := $(patsubst xslt:ixslt%,xslt:libxslt%,$(gb_Library_FILENAMES))
197685bfa88SYuri Dariogb_Library_FILENAMES := $(patsubst stl:stl%,stl:stdc++%,$(gb_Library_FILENAMES))
19852878315SPedro Giffuni#$(info libnames: $(gb_Library_FILENAMES))
19952878315SPedro Giffuni
20062c6e450SYuri Dario# translate to 8.3 naming
20152878315SPedro Giffunigb_Library_DLLFILENAMES := $(patsubst comphelper:comphelper%,comphelper:comphelp%,$(gb_Library_DLLFILENAMES))
20262c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst drawinglayer:drawinglayer%,drawinglayer:drawingl%,$(gb_Library_DLLFILENAMES))
20362c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst fsstorage:fsstorage.uno%,fsstorage:fsstorag%,$(gb_Library_DLLFILENAMES))
20462c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst hatchwindowfactory:hatchwindowfactory.uno%,hatchwindowfactory:hatchwin%,$(gb_Library_DLLFILENAMES))
20562c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst msforms:msforms.uno%,msforms:msforms%,$(gb_Library_DLLFILENAMES))
20662c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst passwordcontainer:passwordcontainer.uno%,passwordcontainer:password%,$(gb_Library_DLLFILENAMES))
20762c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst productregistration:productregistration.uno%,productregistration:productr%,$(gb_Library_DLLFILENAMES))
20862c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst textconversiondlgs:textconversiondlgs%,textconversiondlgs:txcnvdlg%,$(gb_Library_DLLFILENAMES))
20962c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst vbahelper:vbahelper%,vbahelper:vbahelp%,$(gb_Library_DLLFILENAMES))
21062c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst vbaswobj:vbaswobj.uno%,vbaswobj:vbaswobj%,$(gb_Library_DLLFILENAMES))
21162c6e450SYuri Dariogb_Library_DLLFILENAMES := $(patsubst sfx:test_sfx2_metadatable%,sfx:tstsfx2m%,$(gb_Library_DLLFILENAMES))
21262c6e450SYuri Dario
21362c6e450SYuri Dariogb_Library_NOILIBFILENAMES:=\
21462c6e450SYuri Dario	icuuc \
21562c6e450SYuri Dario	icule
21652878315SPedro Giffuni
21752878315SPedro Giffuniendif
21852878315SPedro Giffuni
219cdf0e10cSrcweirifeq ($(OS),SOLARIS)
220cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst comphelper:libcomphelper%,comphelper:libcomphelp%,$(gb_Library_FILENAMES))
221cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst cppuhelper:libcppuhelper%,cppuhelper:libuno_cppuhelper%,$(gb_Library_FILENAMES))
222cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst ucbhelper:libucbhelper%,ucbhelper:libucbhelper4%,$(gb_Library_FILENAMES))
223cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst jvmfwk:libuno_jvmfwk%,jvmfwk:libjvmfwk%,$(gb_Library_FILENAMES))
224cdf0e10cSrcweirgb_Library_FILENAMES := $(patsubst salhelper:libsalhelper%,salhelper:libuno_salhelper%,$(gb_Library_FILENAMES))
225cdf0e10cSrcweir#$(info libnames: $(gb_Library_FILENAMES))
226cdf0e10cSrcweir
227cdf0e10cSrcweirendif
228cdf0e10cSrcweir
229ead13252SPedro Giffuniifeq ($(OS),FREEBSD)
230ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst comphelper:libcomphelper%,comphelper:libcomphelp%,$(gb_Library_FILENAMES))
231ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst cppuhelper:libcppuhelper%,cppuhelper:libuno_cppuhelper%,$(gb_Library_FILENAMES))
232ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst cppuhelper:libcppuhelper%,cppuhelper:libuno_cppuhelper%,$(gb_Library_FILENAMES))
233ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst jvmfwk:libuno_jvmfwk%,jvmfwk:libjvmfwk%,$(gb_Library_FILENAMES))
234ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst jvmfwk:libuno_jvmfwk%,jvmfwk:libjvmfwk%,$(gb_Library_FILENAMES))
235ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst salhelper:libsalhelper%,salhelper:libuno_salhelper%,$(gb_Library_FILENAMES))
236ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst salhelper:libsalhelper%,salhelper:libuno_salhelper%,$(gb_Library_FILENAMES))
237ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst ucbhelper:libucbhelper%,ucbhelper:libucbhelper4%,$(gb_Library_FILENAMES))
238ead13252SPedro Giffuni
239ead13252SPedro Giffuniifeq ($(USE_SYSTEM_STL),YES)
240ead13252SPedro Giffunigb_Library_FILENAMES := $(patsubst stl:%,stl:libstdc++.so,$(gb_Library_FILENAMES))
241ead13252SPedro Giffunigb_Library_TARGETS := $(filter-out stl,$(gb_Library_TARGETS))
242ead13252SPedro Giffuniendif
243ead13252SPedro Giffuni
244ead13252SPedro Giffuniendif
245ead13252SPedro Giffuni
246cdf0e10cSrcweir# we do not require a known rule for these, when using system libs
247cdf0e10cSrcweir
248cdf0e10cSrcweirifeq ($(USE_SYSTEM_STL),YES)
249cdf0e10cSrcweirgb_Library_TARGETS := $(filter-out stl,$(gb_Library_TARGETS))
250cdf0e10cSrcweirendif
251cdf0e10cSrcweir
252cdf0e10cSrcweirifeq ($(SYSTEM_LIBXML),YES)
253cdf0e10cSrcweirgb_Library_TARGETS := $(filter-out xml2,$(gb_Library_TARGETS))
254cdf0e10cSrcweirendif
255cdf0e10cSrcweir
256cdf0e10cSrcweirifeq ($(SYSTEM_LIBXSLT),YES)
257cdf0e10cSrcweirgb_Library_TARGETS := $(filter-out xslt,$(gb_Library_TARGETS))
258cdf0e10cSrcweirendif
259cdf0e10cSrcweir
260cdf0e10cSrcweirifeq ($(SYSTEM_REDLAND),YES)
261cdf0e10cSrcweirgb_Library_TARGETS := $(filter-out rdf,$(gb_Library_TARGETS))
262cdf0e10cSrcweirendif
263cdf0e10cSrcweir
264cdf0e10cSrcweirifeq ($(SYSTEM_ICU),YES)
265cdf0e10cSrcweirgb_Library_TARGETS := $(filter-out icuuc,$(gb_Library_TARGETS))
266cdf0e10cSrcweirendif
267cdf0e10cSrcweir
268cdf0e10cSrcweir# vim: set noet sw=4 ts=4:
269