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 28cdf0e10cSrcweirURE_HOME ?= /opt/openoffice.org/ure 29cdf0e10cSrcweir 30cdf0e10cSrcweir.DELETE_ON_ERROR: 31cdf0e10cSrcweir 32cdf0e10cSrcweir 33cdf0e10cSrcweir.PHONY: test 34cdf0e10cSrcweirtest: test-regview test-cpptest test-javatest test-javanative test-clientserver 35cdf0e10cSrcweir 36cdf0e10cSrcweir.PHONY: test-regview 37cdf0e10cSrcweirtest-regview: out.pln/services.rdb 38cdf0e10cSrcweir $(URE_HOME)/bin/regview $< > /dev/null 39cdf0e10cSrcweir 40cdf0e10cSrcweir.PHONY: test-cpptest 41cdf0e10cSrcweirtest-cpptest: out.pln/cppmain.uno.so out.pln/types.rdb out.pln/services.rdb 4281e6fec9Spfg $(URE_HOME)/bin/uno \ 43cdf0e10cSrcweir -c test.cpp.cppmain.Component -l file://$(PWD)/$< \ 44cdf0e10cSrcweir -ro $(URE_HOME)/share/misc/types.rdb -ro out.pln/types.rdb \ 45cdf0e10cSrcweir -ro $(URE_HOME)/share/misc/services.rdb -ro out.pln/services.rdb 46cdf0e10cSrcweir 47cdf0e10cSrcweir.PHONY: test-javatest 48cdf0e10cSrcweirtest-javatest: out.pln/javamain.uno.jar out.pln/types.rdb out.pln/services.rdb 4981e6fec9Spfg $(URE_HOME)/bin/uno \ 50cdf0e10cSrcweir -c test.java.javamain.Component -l file://$(PWD)/$< \ 51cdf0e10cSrcweir -ro $(URE_HOME)/share/misc/types.rdb -ro out.pln/types.rdb \ 52cdf0e10cSrcweir -ro $(URE_HOME)/share/misc/services.rdb -ro out.pln/services.rdb 53cdf0e10cSrcweir 54cdf0e10cSrcweir.PHONY: test-javanative 55cdf0e10cSrcweirtest-javanative: out.pln/runner.jar out.pln/javanative.jar \ 56cdf0e10cSrcweir out.pln/javanative.rc out.pln/services.rdb out.pln/types.rdb 5781e6fec9Spfg LD_LIBRARY_PATH=$(URE_HOME)/lib java \ 58cdf0e10cSrcweir -jar out.pln/runner.jar file://$(URE_HOME)/share/java/ \ 59cdf0e10cSrcweir file://$(PWD)/out.pln/javanative.jar \ 60cdf0e10cSrcweir file://$(PWD)/out.pln/javanative.rc 61cdf0e10cSrcweir 62cdf0e10cSrcweir.PHONY: test-clientserver 63cdf0e10cSrcweirtest-clientserver: out.pln/cppserver.uno.so out.pln/runner.jar \ 64cdf0e10cSrcweir out.pln/javaclient.jar 6581e6fec9Spfg $(URE_HOME)/bin/uno -c test.cpp.cppserver.Component \ 66cdf0e10cSrcweir -l file://$(PWD)/out.pln/cppserver.uno.so \ 67cdf0e10cSrcweir -ro $(URE_HOME)/share/misc/types.rdb -ro out.pln/types.rdb \ 68cdf0e10cSrcweir -ro $(URE_HOME)/share/misc/services.rdb \ 69cdf0e10cSrcweir -u 'uno:pipe,name=ure_test;urp;server' --singleaccept & 70cdf0e10cSrcweir sleep 5 && \ 71cdf0e10cSrcweir java -jar out.pln/runner.jar file://$(URE_HOME)/share/java/ \ 72cdf0e10cSrcweir file://$(PWD)/out.pln/javaclient.jar \ 73cdf0e10cSrcweir 'uno:pipe,name=ure_test;urp;server' 74cdf0e10cSrcweir 75cdf0e10cSrcweir 76cdf0e10cSrcweir.PHONY: clean 77cdf0e10cSrcweirclean: 78cdf0e10cSrcweir rm -rf out.pln 79cdf0e10cSrcweir 80cdf0e10cSrcweir 81cdf0e10cSrcweirout.pln/cppmain.uno.so: out.pln/cppmain.o version.map | out.pln \ 82cdf0e10cSrcweir out.pln/lib/libuno_cppu.so out.pln/lib/libuno_cppuhelpergcc3.so \ 83b597708bSHerbert Dürr out.pln/lib/libuno_sal.so out.pln/lib/libuno_salhelpergcc3.so 84cdf0e10cSrcweir g++ -shared -o $@ -Wl,-z,defs -Wl,--fatal-warnings \ 85cdf0e10cSrcweir -Wl,--version-script=version.map $< -Lout.pln/lib -luno_cppu \ 86b597708bSHerbert Dürr -luno_cppuhelpergcc3 -luno_sal -luno_salhelpergcc3 87cdf0e10cSrcweir 88cdf0e10cSrcweirout.pln/cppmain.o: cppmain.cc out.pln/cpputypes.cppumaker.flag \ 89cdf0e10cSrcweir out.pln/types.cppumaker.flag | out.pln 90cdf0e10cSrcweir g++ -c -o $@ -fpic -Wall -Wno-ctor-dtor-privacy -I $(SDK_HOME)/include/stl \ 91cdf0e10cSrcweir -I $(SDK_HOME)/include -I out.pln/include/cpputypes \ 92cdf0e10cSrcweir -I out.pln/include/types -DCPPU_ENV=gcc3 \ 93*78ecfec3SDon Lewis -DLINUX -DUNX $< 94cdf0e10cSrcweir 95cdf0e10cSrcweir 96cdf0e10cSrcweirout.pln/cpptest.uno.so: out.pln/cpptest.o version.map | out.pln \ 97cdf0e10cSrcweir out.pln/lib/libuno_cppu.so out.pln/lib/libuno_cppuhelpergcc3.so \ 98cdf0e10cSrcweir out.pln/lib/libuno_sal.so 99cdf0e10cSrcweir g++ -shared -o $@ -Wl,-z,defs -Wl,--fatal-warnings \ 100cdf0e10cSrcweir -Wl,--version-script=version.map $< -Lout.pln/lib -luno_cppu \ 101cdf0e10cSrcweir -luno_cppuhelpergcc3 -luno_sal 102cdf0e10cSrcweir 103cdf0e10cSrcweirout.pln/cpptest.o: cpptest.cc out.pln/cpputypes.cppumaker.flag \ 104cdf0e10cSrcweir out.pln/types.cppumaker.flag | out.pln 105cdf0e10cSrcweir g++ -c -o $@ -fpic -Wall -Wno-ctor-dtor-privacy -I $(SDK_HOME)/include/stl \ 106cdf0e10cSrcweir -I $(SDK_HOME)/include -I out.pln/include/cpputypes \ 107cdf0e10cSrcweir -I out.pln/include/types -DCPPU_ENV=gcc3 \ 108*78ecfec3SDon Lewis -DLINUX -DUNX $< 109cdf0e10cSrcweir 110cdf0e10cSrcweir 111cdf0e10cSrcweirout.pln/cppserver.uno.so: out.pln/cppserver.o version.map | out.pln \ 112cdf0e10cSrcweir out.pln/lib/libuno_cppu.so out.pln/lib/libuno_cppuhelpergcc3.so \ 113cdf0e10cSrcweir out.pln/lib/libuno_sal.so 114cdf0e10cSrcweir g++ -shared -o $@ -Wl,-z,defs -Wl,--fatal-warnings \ 115cdf0e10cSrcweir -Wl,--version-script=version.map $< -Lout.pln/lib -luno_cppu \ 116cdf0e10cSrcweir -luno_cppuhelpergcc3 -luno_sal 117cdf0e10cSrcweir 118cdf0e10cSrcweirout.pln/cppserver.o: cppserver.cc out.pln/cpputypes.cppumaker.flag \ 119cdf0e10cSrcweir out.pln/types.cppumaker.flag | out.pln 120cdf0e10cSrcweir g++ -c -o $@ -fpic -Wall -Wno-ctor-dtor-privacy -I $(SDK_HOME)/include/stl \ 121cdf0e10cSrcweir -I $(SDK_HOME)/include -I out.pln/include/cpputypes \ 122cdf0e10cSrcweir -I out.pln/include/types -DCPPU_ENV=gcc3 \ 123*78ecfec3SDon Lewis -DLINUX -DUNX $< 124cdf0e10cSrcweir 125cdf0e10cSrcweir 126cdf0e10cSrcweirout.pln/cpputypes.cppumaker.flag: | out.pln 127cdf0e10cSrcweir LD_LIBRARY_PATH=$(URE_HOME)/lib $(SDK_HOME)/bin/cppumaker \ 128cdf0e10cSrcweir -O./out.pln/include/cpputypes \ 129cdf0e10cSrcweir '-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' \ 130cdf0e10cSrcweir -B/UCR $(URE_HOME)/share/misc/types.rdb 131cdf0e10cSrcweir touch $@ 132cdf0e10cSrcweir 133cdf0e10cSrcweirout.pln/types.cppumaker.flag: out.pln/types.rdb | out.pln 134cdf0e10cSrcweir LD_LIBRARY_PATH=$(URE_HOME)/lib $(SDK_HOME)/bin/cppumaker \ 135cdf0e10cSrcweir -O./out.pln/include/types -B/UCR $< \ 136cdf0e10cSrcweir -X$(URE_HOME)/share/misc/types.rdb 137cdf0e10cSrcweir touch $@ 138cdf0e10cSrcweir 139cdf0e10cSrcweir 140cdf0e10cSrcweirout.pln/javamain.uno.jar: \ 141cdf0e10cSrcweir out.pln/class/javamain/test/java/javamain/JavaMain.class \ 142cdf0e10cSrcweir out.pln/javamain.mf | out.pln 143cdf0e10cSrcweir jar cfm $@ out.pln/javamain.mf -C out.pln/class/javamain test 144cdf0e10cSrcweir 145cdf0e10cSrcweirout.pln/javamain.mf: javamain.mf.template | out.pln 146cdf0e10cSrcweir sed -e 's~^Class-Path:$$~& tester.jar~' \ 147cdf0e10cSrcweir -e 's~^UNO-Type-Path:$$~& types.jar~' $< > $@ 148cdf0e10cSrcweir 149cdf0e10cSrcweirout.pln/class/javamain/test/java/javamain/JavaMain.class: JavaMain.java \ 150cdf0e10cSrcweir out.pln/tester.jar | out.pln/class 151cdf0e10cSrcweir rm -rf out.pln/class/javamain 152cdf0e10cSrcweir mkdir out.pln/class/javamain 153cdf0e10cSrcweir javac -classpath \ 154cdf0e10cSrcweir $(URE_HOME)/share/java/jurt.jar:$(URE_HOME)/share/java/ridl.jar:out.pln/tester.jar \ 155cdf0e10cSrcweir -sourcepath . -d out.pln/class/javamain $< 156cdf0e10cSrcweir 157cdf0e10cSrcweir 158cdf0e10cSrcweirout.pln/runner.jar: out.pln/class/runner/test/java/runner/Runner.class \ 159cdf0e10cSrcweir out.pln/runner.mf | out.pln 160cdf0e10cSrcweir jar cfm $@ out.pln/runner.mf -C out.pln/class/runner test 161cdf0e10cSrcweir 162cdf0e10cSrcweirout.pln/runner.mf: runner.mf.template | out.pln 163cdf0e10cSrcweir sed -e \ 164cdf0e10cSrcweir 's~^Class-Path:$$~& file://$(URE_HOME)/share/java/unoloader.jar~' \ 165cdf0e10cSrcweir -e 's~^UNO-Type-Path:$$~& ~' $< > $@ 166cdf0e10cSrcweir 167cdf0e10cSrcweirout.pln/class/runner/test/java/runner/Runner.class: Runner.java | out.pln/class 168cdf0e10cSrcweir rm -rf out.pln/class/runner 169cdf0e10cSrcweir mkdir out.pln/class/runner 170cdf0e10cSrcweir javac -classpath $(URE_HOME)/share/java/unoloader.jar -sourcepath . \ 171cdf0e10cSrcweir -d out.pln/class/runner $< 172cdf0e10cSrcweir 173cdf0e10cSrcweir 174cdf0e10cSrcweirout.pln/tester.jar: out.pln/class/tester/test/java/tester/Tester.class \ 175cdf0e10cSrcweir out.pln/tester.mf | out.pln 176cdf0e10cSrcweir jar cfm $@ out.pln/tester.mf -C out.pln/class/tester test 177cdf0e10cSrcweir 178cdf0e10cSrcweirout.pln/tester.mf: tester.mf.template | out.pln 179cdf0e10cSrcweir sed -e 's~^Class-Path:$$~& types.jar~' \ 180cdf0e10cSrcweir -e 's~^UNO-Type-Path:$$~& types.jar~' $< > $@ 181cdf0e10cSrcweir 182cdf0e10cSrcweirout.pln/class/tester/test/java/tester/Tester.class: Tester.java \ 183cdf0e10cSrcweir out.pln/types.jar | out.pln/class 184cdf0e10cSrcweir rm -rf out.pln/class/tester 185cdf0e10cSrcweir mkdir out.pln/class/tester 186cdf0e10cSrcweir javac -classpath $(URE_HOME)/share/java/ridl.jar:out.pln/types.jar \ 187cdf0e10cSrcweir -sourcepath . -d out.pln/class/tester $< 188cdf0e10cSrcweir 189cdf0e10cSrcweir 190cdf0e10cSrcweirout.pln/javatest.uno.jar: \ 191cdf0e10cSrcweir out.pln/class/javatest/test/java/javatest/JavaTest.class \ 192cdf0e10cSrcweir out.pln/javatest.mf | out.pln 193cdf0e10cSrcweir jar cfm $@ out.pln/javatest.mf -C out.pln/class/javatest test 194cdf0e10cSrcweir 195cdf0e10cSrcweirout.pln/javatest.mf: javatest.mf.template | out.pln 196cdf0e10cSrcweir sed -e 's~^Class-Path:$$~& types.jar~' \ 197cdf0e10cSrcweir -e 's~^UNO-Type-Path:$$~& types.jar~' $< > $@ 198cdf0e10cSrcweir 199cdf0e10cSrcweirout.pln/class/javatest/test/java/javatest/JavaTest.class: JavaTest.java \ 200cdf0e10cSrcweir out.pln/types.jar | out.pln/class 201cdf0e10cSrcweir rm -rf out.pln/class/javatest 202cdf0e10cSrcweir mkdir out.pln/class/javatest 203cdf0e10cSrcweir javac -classpath \ 204cdf0e10cSrcweir $(URE_HOME)/share/java/jurt.jar:$(URE_HOME)/share/java/ridl.jar:out.pln/types.jar \ 205cdf0e10cSrcweir -sourcepath . -d out.pln/class/javatest $< 206cdf0e10cSrcweir 207cdf0e10cSrcweir 208cdf0e10cSrcweirout.pln/javanative.jar: \ 209cdf0e10cSrcweir out.pln/class/javanative/test/java/javanative/JavaNative.class \ 210cdf0e10cSrcweir out.pln/javanative.mf | out.pln 211cdf0e10cSrcweir jar cfm $@ out.pln/javanative.mf -C out.pln/class/javanative test 212cdf0e10cSrcweir 213cdf0e10cSrcweirout.pln/javanative.mf: javanative.mf.template | out.pln 214cdf0e10cSrcweir sed -e 's~^Class-Path:$$~& tester.jar~' \ 215cdf0e10cSrcweir -e 's~^UNO-Type-Path:$$~& types.jar~' $< > $@ 216cdf0e10cSrcweir 217cdf0e10cSrcweirout.pln/class/javanative/test/java/javanative/JavaNative.class: \ 218cdf0e10cSrcweir JavaNative.java out.pln/tester.jar | out.pln/class 219cdf0e10cSrcweir rm -rf out.pln/class/javanative 220cdf0e10cSrcweir mkdir out.pln/class/javanative 221cdf0e10cSrcweir javac -classpath \ 222cdf0e10cSrcweir $(URE_HOME)/share/java/juh.jar:$(URE_HOME)/share/java/ridl.jar:out.pln/tester.jar \ 223cdf0e10cSrcweir -sourcepath . -d out.pln/class/javanative $< 224cdf0e10cSrcweir 225cdf0e10cSrcweirout.pln/javanative.rc: | out.pln 226cdf0e10cSrcweir echo 'URE_INTERNAL_LIB_DIR=$${file\u003A//$(URE_HOME)/lib/unorc:URE_INTERNAL_LIB_DIR}' > $@ 227cdf0e10cSrcweir echo 'URE_INTERNAL_JAVA_DIR=$${file\u003A//$(URE_HOME)/lib/unorc:URE_INTERNAL_JAVA_DIR}' >> $@ 228cdf0e10cSrcweir echo 'UNO_TYPES=$${file\u003A//$(URE_HOME)/lib/unorc:UNO_TYPES} file://$(PWD)/out.pln/types.rdb' >> $@ 229cdf0e10cSrcweir echo 'UNO_SERVICES=$${file\u003A//$(URE_HOME)/lib/unorc:UNO_SERVICES} file://$(PWD)/out.pln/services.rdb' >> $@ 230cdf0e10cSrcweir 231cdf0e10cSrcweir 232cdf0e10cSrcweirout.pln/javaclient.jar: \ 233cdf0e10cSrcweir out.pln/class/javaclient/test/java/javaclient/JavaClient.class \ 234cdf0e10cSrcweir out.pln/javaclient.mf | out.pln 235cdf0e10cSrcweir jar cfm $@ out.pln/javaclient.mf -C out.pln/class/javaclient test 236cdf0e10cSrcweir 237cdf0e10cSrcweirout.pln/javaclient.mf: javaclient.mf.template | out.pln 238cdf0e10cSrcweir sed -e 's~^Class-Path:$$~& types.jar~' \ 239cdf0e10cSrcweir -e 's~^UNO-Type-Path:$$~& types.jar~' $< > $@ 240cdf0e10cSrcweir 241cdf0e10cSrcweirout.pln/class/javaclient/test/java/javaclient/JavaClient.class: \ 242cdf0e10cSrcweir JavaClient.java out.pln/types.jar | out.pln/class 243cdf0e10cSrcweir rm -rf out.pln/class/javaclient 244cdf0e10cSrcweir mkdir out.pln/class/javaclient 245cdf0e10cSrcweir javac -classpath \ 246cdf0e10cSrcweir $(URE_HOME)/share/java/juh.jar:$(URE_HOME)/share/java/ridl.jar:out.pln/types.jar \ 247cdf0e10cSrcweir -sourcepath . -d out.pln/class/javaclient $< 248cdf0e10cSrcweir 249cdf0e10cSrcweir 250cdf0e10cSrcweirout.pln/types.jar: out.pln/types.javamaker.flag out.pln/types.mf | out.pln 251cdf0e10cSrcweir jar cfm $@ out.pln/types.mf -C out.pln/class/types test 252cdf0e10cSrcweir 253cdf0e10cSrcweirout.pln/types.mf: types.mf.template | out.pln 254cdf0e10cSrcweir sed -e 's~^Class-Path:$$~& ~' -e 's~^UNO-Type-Path:$$~& \<\>~' $< > $@ 255cdf0e10cSrcweir 256cdf0e10cSrcweirout.pln/types.javamaker.flag: out.pln/types.rdb | out.pln out.pln/class 257cdf0e10cSrcweir rm -rf out.pln/class/types 258cdf0e10cSrcweir LD_LIBRARY_PATH=$(URE_HOME)/lib $(SDK_HOME)/bin/javamaker \ 259cdf0e10cSrcweir -O./out.pln/class/types -B/UCR $< -X$(URE_HOME)/share/misc/types.rdb 260cdf0e10cSrcweir touch $@ 261cdf0e10cSrcweir 262cdf0e10cSrcweir 263cdf0e10cSrcweirout.pln/types.rdb: out.pln/types.urd | out.pln 264cdf0e10cSrcweir $(URE_HOME)/bin/regmerge $@ /UCR $< 265cdf0e10cSrcweir 266cdf0e10cSrcweirout.pln/types.urd: types.idl | out.pln 267cdf0e10cSrcweir LD_LIBRARY_PATH=$(URE_HOME)/lib $(SDK_HOME)/bin/idlc -O$(@D) \ 268cdf0e10cSrcweir -I$(SDK_HOME)/idl -cid -we $< 269cdf0e10cSrcweir 270cdf0e10cSrcweir 271cdf0e10cSrcweirout.pln/services.rdb: out.pln/cpptest.uno.so out.pln/javatest.uno.jar | out.pln 272cdf0e10cSrcweir rm -f $@ 273cdf0e10cSrcweir $(URE_HOME)/bin/regcomp -register -r $@ \ 274cdf0e10cSrcweir -c file://$(PWD)/out.pln/cpptest.uno.so 275cdf0e10cSrcweir $(URE_HOME)/bin/regcomp -register \ 276cdf0e10cSrcweir -br $(URE_HOME)/share/misc/types.rdb \ 277cdf0e10cSrcweir -br $(URE_HOME)/share/misc/services.rdb -r $@ \ 278cdf0e10cSrcweir -c file://$(PWD)/out.pln/javatest.uno.jar 279cdf0e10cSrcweir 280cdf0e10cSrcweir 281cdf0e10cSrcweirout.pln/lib/libuno_cppu.so: | out.pln/lib 282cdf0e10cSrcweir ln -fs $(URE_HOME)/lib/libuno_cppu.so.3 $@ 283cdf0e10cSrcweir 284cdf0e10cSrcweirout.pln/lib/libuno_cppuhelpergcc3.so: | out.pln/lib 285cdf0e10cSrcweir ln -fs $(URE_HOME)/lib/libuno_cppuhelpergcc3.so.3 $@ 286cdf0e10cSrcweir 287cdf0e10cSrcweirout.pln/lib/libuno_sal.so: | out.pln/lib 288cdf0e10cSrcweir ln -fs $(URE_HOME)/lib/libuno_sal.so.3 $@ 289cdf0e10cSrcweir 290cdf0e10cSrcweirout.pln/lib/libuno_salhelpergcc3.so: | out.pln/lib 291cdf0e10cSrcweir ln -fs $(URE_HOME)/lib/libuno_salhelpergcc3.so.3 $@ 292cdf0e10cSrcweir 293cdf0e10cSrcweir 294cdf0e10cSrcweirout.pln: 295cdf0e10cSrcweir mkdir $@ 296cdf0e10cSrcweir 297cdf0e10cSrcweirout.pln/class: | out.pln 298cdf0e10cSrcweir mkdir $@ 299cdf0e10cSrcweir 300cdf0e10cSrcweirout.pln/lib: | out.pln 301cdf0e10cSrcweir mkdir $@ 302