xref: /aoo42x/main/ure/source/uretest/Makefile.pln (revision 81e6fec9)
18e9e5c11SAndrew Rist#**************************************************************
28e9e5c11SAndrew Rist#
38e9e5c11SAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
48e9e5c11SAndrew Rist#  or more contributor license agreements.  See the NOTICE file
58e9e5c11SAndrew Rist#  distributed with this work for additional information
68e9e5c11SAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
78e9e5c11SAndrew Rist#  to you under the Apache License, Version 2.0 (the
88e9e5c11SAndrew Rist#  "License"); you may not use this file except in compliance
98e9e5c11SAndrew Rist#  with the License.  You may obtain a copy of the License at
108e9e5c11SAndrew Rist#
118e9e5c11SAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
128e9e5c11SAndrew Rist#
138e9e5c11SAndrew Rist#  Unless required by applicable law or agreed to in writing,
148e9e5c11SAndrew Rist#  software distributed under the License is distributed on an
158e9e5c11SAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
168e9e5c11SAndrew Rist#  KIND, either express or implied.  See the License for the
178e9e5c11SAndrew Rist#  specific language governing permissions and limitations
188e9e5c11SAndrew Rist#  under the License.
198e9e5c11SAndrew Rist#
208e9e5c11SAndrew Rist#**************************************************************
21cdf0e10cSrcweir
22cdf0e10cSrcweir# The following variable must be set (see README):
23cdf0e10cSrcweir#SDK_HOME := /opt/openoffice.org/basis3.1/sdk
24cdf0e10cSrcweir
25cdf0e10cSrcweir# The following variables can be set, if necessary (see README):
26cdf0e10cSrcweir#URE_HOME := /opt/openoffice.org/ure
27cdf0e10cSrcweir#GXX_INCLUDE_PATH := /usr/include/g++
28cdf0e10cSrcweir
29cdf0e10cSrcweir
30cdf0e10cSrcweirURE_HOME ?= /opt/openoffice.org/ure
31cdf0e10cSrcweirGXX_INCLUDE_PATH ?= /usr/include/g++
32cdf0e10cSrcweir
33cdf0e10cSrcweir.DELETE_ON_ERROR:
34cdf0e10cSrcweir
35cdf0e10cSrcweir
36cdf0e10cSrcweir.PHONY: test
37cdf0e10cSrcweirtest: test-regview test-cpptest test-javatest test-javanative test-clientserver
38cdf0e10cSrcweir
39cdf0e10cSrcweir.PHONY: test-regview
40cdf0e10cSrcweirtest-regview: out.pln/services.rdb
41cdf0e10cSrcweir	$(URE_HOME)/bin/regview $< > /dev/null
42cdf0e10cSrcweir
43cdf0e10cSrcweir.PHONY: test-cpptest
44cdf0e10cSrcweirtest-cpptest: out.pln/cppmain.uno.so out.pln/types.rdb out.pln/services.rdb
45*81e6fec9Spfg	$(URE_HOME)/bin/uno \
46cdf0e10cSrcweir            -c test.cpp.cppmain.Component -l file://$(PWD)/$< \
47cdf0e10cSrcweir            -ro $(URE_HOME)/share/misc/types.rdb -ro out.pln/types.rdb \
48cdf0e10cSrcweir            -ro $(URE_HOME)/share/misc/services.rdb -ro out.pln/services.rdb
49cdf0e10cSrcweir
50cdf0e10cSrcweir.PHONY: test-javatest
51cdf0e10cSrcweirtest-javatest: out.pln/javamain.uno.jar out.pln/types.rdb out.pln/services.rdb
52*81e6fec9Spfg	$(URE_HOME)/bin/uno \
53cdf0e10cSrcweir            -c test.java.javamain.Component -l file://$(PWD)/$< \
54cdf0e10cSrcweir            -ro $(URE_HOME)/share/misc/types.rdb -ro out.pln/types.rdb \
55cdf0e10cSrcweir            -ro $(URE_HOME)/share/misc/services.rdb -ro out.pln/services.rdb
56cdf0e10cSrcweir
57cdf0e10cSrcweir.PHONY: test-javanative
58cdf0e10cSrcweirtest-javanative: out.pln/runner.jar out.pln/javanative.jar \
59cdf0e10cSrcweir            out.pln/javanative.rc out.pln/services.rdb out.pln/types.rdb
60*81e6fec9Spfg	LD_LIBRARY_PATH=$(URE_HOME)/lib java \
61cdf0e10cSrcweir            -jar out.pln/runner.jar file://$(URE_HOME)/share/java/ \
62cdf0e10cSrcweir            file://$(PWD)/out.pln/javanative.jar \
63cdf0e10cSrcweir            file://$(PWD)/out.pln/javanative.rc
64cdf0e10cSrcweir
65cdf0e10cSrcweir.PHONY: test-clientserver
66cdf0e10cSrcweirtest-clientserver: out.pln/cppserver.uno.so out.pln/runner.jar \
67cdf0e10cSrcweir            out.pln/javaclient.jar
68*81e6fec9Spfg	$(URE_HOME)/bin/uno -c test.cpp.cppserver.Component \
69cdf0e10cSrcweir            -l file://$(PWD)/out.pln/cppserver.uno.so \
70cdf0e10cSrcweir            -ro $(URE_HOME)/share/misc/types.rdb -ro out.pln/types.rdb \
71cdf0e10cSrcweir            -ro $(URE_HOME)/share/misc/services.rdb \
72cdf0e10cSrcweir            -u 'uno:pipe,name=ure_test;urp;server' --singleaccept &
73cdf0e10cSrcweir	sleep 5 && \
74cdf0e10cSrcweir            java -jar out.pln/runner.jar file://$(URE_HOME)/share/java/ \
75cdf0e10cSrcweir            file://$(PWD)/out.pln/javaclient.jar \
76cdf0e10cSrcweir            'uno:pipe,name=ure_test;urp;server'
77cdf0e10cSrcweir
78cdf0e10cSrcweir
79cdf0e10cSrcweir.PHONY: clean
80cdf0e10cSrcweirclean:
81cdf0e10cSrcweir	rm -rf out.pln
82cdf0e10cSrcweir
83cdf0e10cSrcweir
84cdf0e10cSrcweirout.pln/cppmain.uno.so: out.pln/cppmain.o version.map | out.pln \
85cdf0e10cSrcweir            out.pln/lib/libuno_cppu.so out.pln/lib/libuno_cppuhelpergcc3.so \
86b597708bSHerbert Dürr            out.pln/lib/libuno_sal.so out.pln/lib/libuno_salhelpergcc3.so
87cdf0e10cSrcweir	g++ -shared -o $@ -Wl,-z,defs -Wl,--fatal-warnings \
88cdf0e10cSrcweir            -Wl,--version-script=version.map $< -Lout.pln/lib -luno_cppu \
89b597708bSHerbert Dürr            -luno_cppuhelpergcc3 -luno_sal -luno_salhelpergcc3
90cdf0e10cSrcweir
91cdf0e10cSrcweirout.pln/cppmain.o: cppmain.cc out.pln/cpputypes.cppumaker.flag \
92cdf0e10cSrcweir            out.pln/types.cppumaker.flag | out.pln
93cdf0e10cSrcweir	g++ -c -o $@ -fpic -Wall -Wno-ctor-dtor-privacy -I $(SDK_HOME)/include/stl \
94cdf0e10cSrcweir            -I $(SDK_HOME)/include -I out.pln/include/cpputypes \
95cdf0e10cSrcweir            -I out.pln/include/types -DCPPU_ENV=gcc3 \
96cdf0e10cSrcweir            -DGXX_INCLUDE_PATH=$(GXX_INCLUDE_PATH) -DLINUX -DUNX $<
97cdf0e10cSrcweir
98cdf0e10cSrcweir
99cdf0e10cSrcweirout.pln/cpptest.uno.so: out.pln/cpptest.o version.map | out.pln \
100cdf0e10cSrcweir            out.pln/lib/libuno_cppu.so out.pln/lib/libuno_cppuhelpergcc3.so \
101cdf0e10cSrcweir            out.pln/lib/libuno_sal.so
102cdf0e10cSrcweir	g++ -shared -o $@ -Wl,-z,defs -Wl,--fatal-warnings \
103cdf0e10cSrcweir            -Wl,--version-script=version.map $< -Lout.pln/lib -luno_cppu \
104cdf0e10cSrcweir            -luno_cppuhelpergcc3 -luno_sal
105cdf0e10cSrcweir
106cdf0e10cSrcweirout.pln/cpptest.o: cpptest.cc out.pln/cpputypes.cppumaker.flag \
107cdf0e10cSrcweir            out.pln/types.cppumaker.flag | out.pln
108cdf0e10cSrcweir	g++ -c -o $@ -fpic -Wall -Wno-ctor-dtor-privacy -I $(SDK_HOME)/include/stl \
109cdf0e10cSrcweir            -I $(SDK_HOME)/include -I out.pln/include/cpputypes \
110cdf0e10cSrcweir            -I out.pln/include/types -DCPPU_ENV=gcc3 \
111cdf0e10cSrcweir            -DGXX_INCLUDE_PATH=$(GXX_INCLUDE_PATH) -DLINUX -DUNX $<
112cdf0e10cSrcweir
113cdf0e10cSrcweir
114cdf0e10cSrcweirout.pln/cppserver.uno.so: out.pln/cppserver.o version.map | out.pln \
115cdf0e10cSrcweir            out.pln/lib/libuno_cppu.so out.pln/lib/libuno_cppuhelpergcc3.so \
116cdf0e10cSrcweir            out.pln/lib/libuno_sal.so
117cdf0e10cSrcweir	g++ -shared -o $@ -Wl,-z,defs -Wl,--fatal-warnings \
118cdf0e10cSrcweir            -Wl,--version-script=version.map $< -Lout.pln/lib -luno_cppu \
119cdf0e10cSrcweir            -luno_cppuhelpergcc3 -luno_sal
120cdf0e10cSrcweir
121cdf0e10cSrcweirout.pln/cppserver.o: cppserver.cc out.pln/cpputypes.cppumaker.flag \
122cdf0e10cSrcweir            out.pln/types.cppumaker.flag | out.pln
123cdf0e10cSrcweir	g++ -c -o $@ -fpic -Wall -Wno-ctor-dtor-privacy -I $(SDK_HOME)/include/stl \
124cdf0e10cSrcweir            -I $(SDK_HOME)/include -I out.pln/include/cpputypes \
125cdf0e10cSrcweir            -I out.pln/include/types -DCPPU_ENV=gcc3 \
126cdf0e10cSrcweir            -DGXX_INCLUDE_PATH=$(GXX_INCLUDE_PATH) -DLINUX -DUNX $<
127cdf0e10cSrcweir
128cdf0e10cSrcweir
129cdf0e10cSrcweirout.pln/cpputypes.cppumaker.flag: | out.pln
130cdf0e10cSrcweir	LD_LIBRARY_PATH=$(URE_HOME)/lib $(SDK_HOME)/bin/cppumaker \
131cdf0e10cSrcweir            -O./out.pln/include/cpputypes \
132cdf0e10cSrcweir            '-Tcom.sun.star.lang.DisposedException;com.sun.star.lang.EventObject;com.sun.star.lang.XMain;com.sun.star.lang.XMultiComponentFactory;com.sun.star.lang.XMultiServiceFactory;com.sun.star.lang.XSingleComponentFactory;com.sun.star.lang.XSingleServiceFactory;com.sun.star.lang.XTypeProvider;com.sun.star.registry.XRegistryKey;com.sun.star.uno.DeploymentException;com.sun.star.uno.Exception;com.sun.star.uno.RuntimeException;com.sun.star.uno.XAggregation;com.sun.star.uno.XComponentContext;com.sun.star.uno.XCurrentContext;com.sun.star.uno.XInterface;com.sun.star.uno.XWeak' \
133cdf0e10cSrcweir            -B/UCR $(URE_HOME)/share/misc/types.rdb
134cdf0e10cSrcweir	touch $@
135cdf0e10cSrcweir
136cdf0e10cSrcweirout.pln/types.cppumaker.flag: out.pln/types.rdb | out.pln
137cdf0e10cSrcweir	LD_LIBRARY_PATH=$(URE_HOME)/lib $(SDK_HOME)/bin/cppumaker \
138cdf0e10cSrcweir            -O./out.pln/include/types -B/UCR $< \
139cdf0e10cSrcweir            -X$(URE_HOME)/share/misc/types.rdb
140cdf0e10cSrcweir	touch $@
141cdf0e10cSrcweir
142cdf0e10cSrcweir
143cdf0e10cSrcweirout.pln/javamain.uno.jar: \
144cdf0e10cSrcweir            out.pln/class/javamain/test/java/javamain/JavaMain.class \
145cdf0e10cSrcweir            out.pln/javamain.mf | out.pln
146cdf0e10cSrcweir	jar cfm $@ out.pln/javamain.mf -C out.pln/class/javamain test
147cdf0e10cSrcweir
148cdf0e10cSrcweirout.pln/javamain.mf: javamain.mf.template | out.pln
149cdf0e10cSrcweir	sed -e 's~^Class-Path:$$~& tester.jar~' \
150cdf0e10cSrcweir            -e 's~^UNO-Type-Path:$$~& types.jar~' $< > $@
151cdf0e10cSrcweir
152cdf0e10cSrcweirout.pln/class/javamain/test/java/javamain/JavaMain.class: JavaMain.java \
153cdf0e10cSrcweir            out.pln/tester.jar | out.pln/class
154cdf0e10cSrcweir	rm -rf out.pln/class/javamain
155cdf0e10cSrcweir	mkdir out.pln/class/javamain
156cdf0e10cSrcweir	javac -classpath \
157cdf0e10cSrcweir            $(URE_HOME)/share/java/jurt.jar:$(URE_HOME)/share/java/ridl.jar:out.pln/tester.jar \
158cdf0e10cSrcweir            -sourcepath . -d out.pln/class/javamain $<
159cdf0e10cSrcweir
160cdf0e10cSrcweir
161cdf0e10cSrcweirout.pln/runner.jar: out.pln/class/runner/test/java/runner/Runner.class \
162cdf0e10cSrcweir            out.pln/runner.mf | out.pln
163cdf0e10cSrcweir	jar cfm $@ out.pln/runner.mf -C out.pln/class/runner test
164cdf0e10cSrcweir
165cdf0e10cSrcweirout.pln/runner.mf: runner.mf.template | out.pln
166cdf0e10cSrcweir	sed -e \
167cdf0e10cSrcweir            's~^Class-Path:$$~& file://$(URE_HOME)/share/java/unoloader.jar~' \
168cdf0e10cSrcweir            -e 's~^UNO-Type-Path:$$~& ~' $< > $@
169cdf0e10cSrcweir
170cdf0e10cSrcweirout.pln/class/runner/test/java/runner/Runner.class: Runner.java | out.pln/class
171cdf0e10cSrcweir	rm -rf out.pln/class/runner
172cdf0e10cSrcweir	mkdir out.pln/class/runner
173cdf0e10cSrcweir	javac -classpath $(URE_HOME)/share/java/unoloader.jar -sourcepath . \
174cdf0e10cSrcweir            -d out.pln/class/runner $<
175cdf0e10cSrcweir
176cdf0e10cSrcweir
177cdf0e10cSrcweirout.pln/tester.jar: out.pln/class/tester/test/java/tester/Tester.class \
178cdf0e10cSrcweir            out.pln/tester.mf | out.pln
179cdf0e10cSrcweir	jar cfm $@ out.pln/tester.mf -C out.pln/class/tester test
180cdf0e10cSrcweir
181cdf0e10cSrcweirout.pln/tester.mf: tester.mf.template | out.pln
182cdf0e10cSrcweir	sed -e 's~^Class-Path:$$~& types.jar~' \
183cdf0e10cSrcweir            -e 's~^UNO-Type-Path:$$~& types.jar~' $< > $@
184cdf0e10cSrcweir
185cdf0e10cSrcweirout.pln/class/tester/test/java/tester/Tester.class: Tester.java \
186cdf0e10cSrcweir            out.pln/types.jar | out.pln/class
187cdf0e10cSrcweir	rm -rf out.pln/class/tester
188cdf0e10cSrcweir	mkdir out.pln/class/tester
189cdf0e10cSrcweir	javac -classpath $(URE_HOME)/share/java/ridl.jar:out.pln/types.jar \
190cdf0e10cSrcweir            -sourcepath . -d out.pln/class/tester $<
191cdf0e10cSrcweir
192cdf0e10cSrcweir
193cdf0e10cSrcweirout.pln/javatest.uno.jar: \
194cdf0e10cSrcweir            out.pln/class/javatest/test/java/javatest/JavaTest.class \
195cdf0e10cSrcweir            out.pln/javatest.mf | out.pln
196cdf0e10cSrcweir	jar cfm $@ out.pln/javatest.mf -C out.pln/class/javatest test
197cdf0e10cSrcweir
198cdf0e10cSrcweirout.pln/javatest.mf: javatest.mf.template | out.pln
199cdf0e10cSrcweir	sed -e 's~^Class-Path:$$~& types.jar~' \
200cdf0e10cSrcweir            -e 's~^UNO-Type-Path:$$~& types.jar~' $< > $@
201cdf0e10cSrcweir
202cdf0e10cSrcweirout.pln/class/javatest/test/java/javatest/JavaTest.class: JavaTest.java \
203cdf0e10cSrcweir            out.pln/types.jar | out.pln/class
204cdf0e10cSrcweir	rm -rf out.pln/class/javatest
205cdf0e10cSrcweir	mkdir out.pln/class/javatest
206cdf0e10cSrcweir	javac -classpath \
207cdf0e10cSrcweir            $(URE_HOME)/share/java/jurt.jar:$(URE_HOME)/share/java/ridl.jar:out.pln/types.jar \
208cdf0e10cSrcweir            -sourcepath . -d out.pln/class/javatest $<
209cdf0e10cSrcweir
210cdf0e10cSrcweir
211cdf0e10cSrcweirout.pln/javanative.jar: \
212cdf0e10cSrcweir            out.pln/class/javanative/test/java/javanative/JavaNative.class \
213cdf0e10cSrcweir            out.pln/javanative.mf | out.pln
214cdf0e10cSrcweir	jar cfm $@ out.pln/javanative.mf -C out.pln/class/javanative test
215cdf0e10cSrcweir
216cdf0e10cSrcweirout.pln/javanative.mf: javanative.mf.template | out.pln
217cdf0e10cSrcweir	sed -e 's~^Class-Path:$$~& tester.jar~' \
218cdf0e10cSrcweir            -e 's~^UNO-Type-Path:$$~& types.jar~' $< > $@
219cdf0e10cSrcweir
220cdf0e10cSrcweirout.pln/class/javanative/test/java/javanative/JavaNative.class: \
221cdf0e10cSrcweir            JavaNative.java out.pln/tester.jar | out.pln/class
222cdf0e10cSrcweir	rm -rf out.pln/class/javanative
223cdf0e10cSrcweir	mkdir out.pln/class/javanative
224cdf0e10cSrcweir	javac -classpath \
225cdf0e10cSrcweir            $(URE_HOME)/share/java/juh.jar:$(URE_HOME)/share/java/ridl.jar:out.pln/tester.jar \
226cdf0e10cSrcweir            -sourcepath . -d out.pln/class/javanative $<
227cdf0e10cSrcweir
228cdf0e10cSrcweirout.pln/javanative.rc: | out.pln
229cdf0e10cSrcweir	echo 'URE_INTERNAL_LIB_DIR=$${file\u003A//$(URE_HOME)/lib/unorc:URE_INTERNAL_LIB_DIR}' > $@
230cdf0e10cSrcweir	echo 'URE_INTERNAL_JAVA_DIR=$${file\u003A//$(URE_HOME)/lib/unorc:URE_INTERNAL_JAVA_DIR}' >> $@
231cdf0e10cSrcweir	echo 'UNO_TYPES=$${file\u003A//$(URE_HOME)/lib/unorc:UNO_TYPES} file://$(PWD)/out.pln/types.rdb' >> $@
232cdf0e10cSrcweir	echo 'UNO_SERVICES=$${file\u003A//$(URE_HOME)/lib/unorc:UNO_SERVICES} file://$(PWD)/out.pln/services.rdb' >> $@
233cdf0e10cSrcweir
234cdf0e10cSrcweir
235cdf0e10cSrcweirout.pln/javaclient.jar: \
236cdf0e10cSrcweir            out.pln/class/javaclient/test/java/javaclient/JavaClient.class \
237cdf0e10cSrcweir            out.pln/javaclient.mf | out.pln
238cdf0e10cSrcweir	jar cfm $@ out.pln/javaclient.mf -C out.pln/class/javaclient test
239cdf0e10cSrcweir
240cdf0e10cSrcweirout.pln/javaclient.mf: javaclient.mf.template | out.pln
241cdf0e10cSrcweir	sed -e 's~^Class-Path:$$~& types.jar~' \
242cdf0e10cSrcweir            -e 's~^UNO-Type-Path:$$~& types.jar~' $< > $@
243cdf0e10cSrcweir
244cdf0e10cSrcweirout.pln/class/javaclient/test/java/javaclient/JavaClient.class: \
245cdf0e10cSrcweir            JavaClient.java out.pln/types.jar | out.pln/class
246cdf0e10cSrcweir	rm -rf out.pln/class/javaclient
247cdf0e10cSrcweir	mkdir out.pln/class/javaclient
248cdf0e10cSrcweir	javac -classpath \
249cdf0e10cSrcweir            $(URE_HOME)/share/java/juh.jar:$(URE_HOME)/share/java/ridl.jar:out.pln/types.jar \
250cdf0e10cSrcweir            -sourcepath . -d out.pln/class/javaclient $<
251cdf0e10cSrcweir
252cdf0e10cSrcweir
253cdf0e10cSrcweirout.pln/types.jar: out.pln/types.javamaker.flag out.pln/types.mf | out.pln
254cdf0e10cSrcweir	jar cfm $@ out.pln/types.mf -C out.pln/class/types test
255cdf0e10cSrcweir
256cdf0e10cSrcweirout.pln/types.mf: types.mf.template | out.pln
257cdf0e10cSrcweir	sed -e 's~^Class-Path:$$~& ~' -e 's~^UNO-Type-Path:$$~& \<\>~' $< > $@
258cdf0e10cSrcweir
259cdf0e10cSrcweirout.pln/types.javamaker.flag: out.pln/types.rdb | out.pln out.pln/class
260cdf0e10cSrcweir	rm -rf out.pln/class/types
261cdf0e10cSrcweir	LD_LIBRARY_PATH=$(URE_HOME)/lib $(SDK_HOME)/bin/javamaker \
262cdf0e10cSrcweir            -O./out.pln/class/types -B/UCR $< -X$(URE_HOME)/share/misc/types.rdb
263cdf0e10cSrcweir	touch $@
264cdf0e10cSrcweir
265cdf0e10cSrcweir
266cdf0e10cSrcweirout.pln/types.rdb: out.pln/types.urd | out.pln
267cdf0e10cSrcweir	$(URE_HOME)/bin/regmerge $@ /UCR $<
268cdf0e10cSrcweir
269cdf0e10cSrcweirout.pln/types.urd: types.idl | out.pln
270cdf0e10cSrcweir	LD_LIBRARY_PATH=$(URE_HOME)/lib $(SDK_HOME)/bin/idlc -O$(@D) \
271cdf0e10cSrcweir            -I$(SDK_HOME)/idl -cid -we $<
272cdf0e10cSrcweir
273cdf0e10cSrcweir
274cdf0e10cSrcweirout.pln/services.rdb: out.pln/cpptest.uno.so out.pln/javatest.uno.jar | out.pln
275cdf0e10cSrcweir	rm -f $@
276cdf0e10cSrcweir	$(URE_HOME)/bin/regcomp -register -r $@ \
277cdf0e10cSrcweir            -c file://$(PWD)/out.pln/cpptest.uno.so
278cdf0e10cSrcweir	$(URE_HOME)/bin/regcomp -register \
279cdf0e10cSrcweir            -br $(URE_HOME)/share/misc/types.rdb \
280cdf0e10cSrcweir            -br $(URE_HOME)/share/misc/services.rdb -r $@ \
281cdf0e10cSrcweir            -c file://$(PWD)/out.pln/javatest.uno.jar
282cdf0e10cSrcweir
283cdf0e10cSrcweir
284cdf0e10cSrcweirout.pln/lib/libuno_cppu.so: | out.pln/lib
285cdf0e10cSrcweir	ln -fs $(URE_HOME)/lib/libuno_cppu.so.3 $@
286cdf0e10cSrcweir
287cdf0e10cSrcweirout.pln/lib/libuno_cppuhelpergcc3.so: | out.pln/lib
288cdf0e10cSrcweir	ln -fs $(URE_HOME)/lib/libuno_cppuhelpergcc3.so.3 $@
289cdf0e10cSrcweir
290cdf0e10cSrcweirout.pln/lib/libuno_sal.so: | out.pln/lib
291cdf0e10cSrcweir	ln -fs $(URE_HOME)/lib/libuno_sal.so.3 $@
292cdf0e10cSrcweir
293cdf0e10cSrcweirout.pln/lib/libuno_salhelpergcc3.so: | out.pln/lib
294cdf0e10cSrcweir	ln -fs $(URE_HOME)/lib/libuno_salhelpergcc3.so.3 $@
295cdf0e10cSrcweir
296cdf0e10cSrcweir
297cdf0e10cSrcweirout.pln:
298cdf0e10cSrcweir	mkdir $@
299cdf0e10cSrcweir
300cdf0e10cSrcweirout.pln/class: | out.pln
301cdf0e10cSrcweir	mkdir $@
302cdf0e10cSrcweir
303cdf0e10cSrcweirout.pln/lib: | out.pln
304cdf0e10cSrcweir	mkdir $@
305