all:: \ Convert \ CppMangle \ cpp_specific \ Error \ IndexedStream \ JavaMangle \ java_specific \ Lexer \ List \ StdIO \ StreamErr \ Stream Convert: ../lib/Convert.rf Error: ../lib/Error.rf CppMangle: ../lib/CppMangle.rf cpp_specific: ../lib/NameMangling/cpp_specific.rf JavaMangle: ../lib/CppMangle.rf @mv refal/plus/$@.java refal/plus/$@X.java @mv refal/plus/CppMangle.java refal/plus/CppMangleY.java $(RFPC) $(RFLAGS) -p refal.plus -o refal/plus/$@ $< \ -replace-module cpp_specific java_specific \ -replace-module CppMangle JavaMangle @sed 's/Cpp/Java/g;s/cpp/java/g' refal/plus/CppMangle.java > refal/plus/JavaMangle.java @mv refal/plus/CppMangleY.java refal/plus/CppMangle.java java_specific: ../lib/NameMangling/java_specific.rf Lexer: ../lib/Lexer/Lexer.rf List: ../lib/List.rf StdIO: ../lib/StdIO.rf IndexedStream: ../lib/Stream/FakeStreamIndex.rf StreamErr: ../lib/Stream/StreamErr.rf Stream: ../lib/Stream/Stream.rf %: @mv refal/plus/$@.java refal/plus/$@X.java $(RFPC) $(RFLAGS) -B ../java -p refal.plus -o refal/plus/$@ $< @if diff -q refal/plus/$@X.java refal/plus/$@.java; \ then rm -v refal/plus/$@X.java; \ fi javacompiler: cp ../compiler/*.rf{,i} compiler/org/refal/plus/compiler/; \ $(RFPC) $(RFLAGS) -I wrappers -I compiler/org/refal/plus/compiler -p org.refal.plus.compiler compiler/org/refal/plus/compiler/*.rf; \ rm compiler/org/refal/plus/compiler/*.{rf{,i},class} RFPC = ../c++/compiler/rfpc -j RFLAGS = -B ../lib -I ../lib/NameMangling -I ../lib/Lexer -I ../lib/Stream .PHONY: all