Browse Source

Renamed executables

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@7709 8c9fc860-2736-0410-a75d-ab315db34111
eth.negelef 7 years ago
parent
commit
97a0efcf6b
2 changed files with 15 additions and 15 deletions
  1. 15 15
      tools/builds/a2/makefile
  2. 0 0
      tools/builds/a2/original

+ 15 - 15
tools/builds/a2/makefile

@@ -1,18 +1,18 @@
-all: build
+all: oberon
 
 
 .PHONY: all compiler execution compilation execution clean
 .PHONY: all compiler execution compilation execution clean
 MAKEFLAGS += --no-builtin-rules --no-builtin-variables
 MAKEFLAGS += --no-builtin-rules --no-builtin-variables
 .SUFFIXES: # delete the default suffixes
 .SUFFIXES: # delete the default suffixes
 
 
-tool := $(if $(wildcard build), ./build, ./oberon)
+tool := $(if $(wildcard oberon), ./oberon, ./original)
 
 
 # module dependencies
 # module dependencies
 
 
 modules: source/Release.Tool
 modules: source/Release.Tool
-	@env AOSPATH=source ./oberon Release.Build --list Linux32G | tr -d '\r' | grep "^[^ ]\+\.Mod\s" | tr -d ' ' > $@
+	@env AOSPATH=source ./original Release.Build --list Linux32G | tr -d '\r' | grep "^[^ ]\+\.Mod\s" | tr -d ' ' > $@
 
 
 dependencies: modules source/*.Mod
 dependencies: modules source/*.Mod
-	@./oberon DependencyWalker.Walk --fileExtension=.GofU $(addprefix source/, $(shell sort -u modules)) DependencyWalker.Mod | tr -d '\r' | grep "^.\+\.GofU:" > $@
+	@./original DependencyWalker.Walk --fileExtension=.GofU $(addprefix source/, $(shell sort -u modules)) DependencyWalker.Mod | tr -d '\r' | grep "^.\+\.GofU:" > $@
 
 
 -include dependencies
 -include dependencies
 Trace.GofU Streams.GofU: Runtime.GofU
 Trace.GofU Streams.GofU: Runtime.GofU
@@ -23,39 +23,39 @@ FoxArrayBase.GofU: ComplexNumbers.GofU
 
 
 # targets
 # targets
 
 
-build: $(addsuffix .GofU, Runtime Trace Glue Unix Machine Heaps Modules Objects Streams Kernel Reflection KernelLog TrapWriters Commands Pipes StdIO Traps Files UnixFiles BitSets StringPool ObjectFile Diagnostics Reals Clock Dates Strings GenericLinker GenericLoader WMRectangles CLUTs Plugins Displays Raster UTF8Strings WMRasterScale SoundDevices XMLObjects DynamicStrings XML XMLScanner XMLParser Configuration Inflate CRC Unzip WMEvents Locks FP1616 Texts Archives Codecs WMGraphics WMDefaultFont StdIOShell Shell Options ProcessInfo0 ProcessInfo SystemVersion SystemTools Debugging FoxBasic FoxScanner FoxSyntaxTree FoxGlobal FoxParser FoxFingerPrinter FoxPrintout FoxFormats FoxSemanticChecker FoxBackend FoxFrontend Compiler FoxOberonFrontend FoxSections FoxBinaryCode FoxIntermediateCode FoxInterfaceComparison FoxTextualSymbolFile FoxIntermediateBackend FoxAMD64InstructionSet FoxAMD64Assembler FoxBinarySymbolFile FoxBinaryObjectFile FoxCodeGenerators FoxAMDBackend FoxGenericObjectFile Math MathL ComplexNumbers FoxArrayBase StaticLinker DependencyWalker Localization Repositories UnicodeProperties TextUtilities ReleaseThreadPool Zlib ZlibBuffers ZlibInflate ZlibReaders ZlibDeflate ZlibWriters Zip CompilerInterface Release)
+oberon: $(addsuffix .GofU, Runtime Trace Glue Unix Machine Heaps Modules Objects Streams Kernel Reflection KernelLog TrapWriters Commands Pipes StdIO Traps Files UnixFiles BitSets StringPool ObjectFile Diagnostics Reals Clock Dates Strings GenericLinker GenericLoader WMRectangles CLUTs Plugins Displays Raster UTF8Strings WMRasterScale SoundDevices XMLObjects DynamicStrings XML XMLScanner XMLParser Configuration Inflate CRC Unzip WMEvents Locks FP1616 Texts Archives Codecs WMGraphics WMDefaultFont StdIOShell Shell Options ProcessInfo0 ProcessInfo SystemVersion SystemTools Debugging FoxBasic FoxScanner FoxSyntaxTree FoxGlobal FoxParser FoxFingerPrinter FoxPrintout FoxFormats FoxSemanticChecker FoxBackend FoxFrontend Compiler FoxOberonFrontend FoxSections FoxBinaryCode FoxIntermediateCode FoxInterfaceComparison FoxTextualSymbolFile FoxIntermediateBackend FoxAMD64InstructionSet FoxAMD64Assembler FoxBinarySymbolFile FoxBinaryObjectFile FoxCodeGenerators FoxAMDBackend FoxGenericObjectFile Math MathL ComplexNumbers FoxArrayBase StaticLinker DependencyWalker Localization Repositories UnicodeProperties TextUtilities ReleaseThreadPool Zlib ZlibBuffers ZlibInflate ZlibReaders ZlibDeflate ZlibWriters Zip CompilerInterface Release)
 	@$(tool) StaticLinker.Link -p=Linux32G --fileName=$@ Runtime Traps UnixFiles GenericLoader WMDefaultFont StdIOShell Shell SystemTools Compiler FoxOberonFrontend FoxAMDBackend FoxGenericObjectFile FoxArrayBase StaticLinker DependencyWalker Release && chmod +x $@
 	@$(tool) StaticLinker.Link -p=Linux32G --fileName=$@ Runtime Traps UnixFiles GenericLoader WMDefaultFont StdIOShell Shell SystemTools Compiler FoxOberonFrontend FoxAMDBackend FoxGenericObjectFile FoxArrayBase StaticLinker DependencyWalker Release && chmod +x $@
-# grep ":processing\s$" build.log | grep "^[^:]\+" -o | tr '\n' ' '
+# grep ":processing\s$" oberon.log | grep "^[^:]\+" -o | tr '\n' ' '
 
 
 compiler: $(addsuffix .GofU, FoxA2Interface FoxActiveCells FoxAMD64Assembler FoxAMD64InstructionSet FoxAMDBackend FoxARMAssembler FoxARMBackend FoxARMInstructionSet FoxArrayBase FoxAssembler FoxBackend FoxBasic FoxBinaryCode FoxBinaryObjectFile FoxBinarySymbolFile FoxCodeGenerators Compiler FoxCSharpFrontend FoxCSharpParser FoxCSharpScanner FoxDisassembler FoxDocumentationBackend FoxDocumentationHtml FoxDocumentationParser FoxDocumentationPrinter FoxDocumentationScanner FoxDocumentationTree FoxFingerPrinter FoxFormats FoxFrontend FoxGenericObjectFile FoxGlobal FoxHardware FoxInterfaceComparison FoxIntermediateAssembler FoxIntermediateBackend FoxIntermediateCode FoxIntermediateLinker FoxIntermediateObjectFile FoxIntermediateParser FoxInterpreterBackend FoxMinosObjectFile FoxOberonFrontend FoxParser FoxPrintout FoxProfiler FoxProgTools FoxScanner FoxSections FoxSemanticChecker FoxSyntaxTree FoxTest TextCompiler FoxTextualSymbolFile FoxTranspilerBackend FoxTRMAssembler FoxTRMBackend FoxTRMInstructionSet)
 compiler: $(addsuffix .GofU, FoxA2Interface FoxActiveCells FoxAMD64Assembler FoxAMD64InstructionSet FoxAMDBackend FoxARMAssembler FoxARMBackend FoxARMInstructionSet FoxArrayBase FoxAssembler FoxBackend FoxBasic FoxBinaryCode FoxBinaryObjectFile FoxBinarySymbolFile FoxCodeGenerators Compiler FoxCSharpFrontend FoxCSharpParser FoxCSharpScanner FoxDisassembler FoxDocumentationBackend FoxDocumentationHtml FoxDocumentationParser FoxDocumentationPrinter FoxDocumentationScanner FoxDocumentationTree FoxFingerPrinter FoxFormats FoxFrontend FoxGenericObjectFile FoxGlobal FoxHardware FoxInterfaceComparison FoxIntermediateAssembler FoxIntermediateBackend FoxIntermediateCode FoxIntermediateLinker FoxIntermediateObjectFile FoxIntermediateParser FoxInterpreterBackend FoxMinosObjectFile FoxOberonFrontend FoxParser FoxPrintout FoxProfiler FoxProgTools FoxScanner FoxSections FoxSemanticChecker FoxSyntaxTree FoxTest TextCompiler FoxTextualSymbolFile FoxTranspilerBackend FoxTRMAssembler FoxTRMBackend FoxTRMInstructionSet)
 # grep "^Fox" modules | sed 's/\.Mod//g' | tr '\n' ' '
 # grep "^Fox" modules | sed 's/\.Mod//g' | tr '\n' ' '
 
 
 compilation: Oberon.Compilation.Test.Diff
 compilation: Oberon.Compilation.Test.Diff
 
 
-Oberon.Compilation.Test.Diff: build FoxTest.GofU source/Oberon.Compilation.Test
-	@./build FoxTest.Compile source/Oberon.Compilation.Test
+Oberon.Compilation.Test.Diff: oberon FoxTest.GofU source/Oberon.Compilation.Test
+	@./oberon FoxTest.Compile source/Oberon.Compilation.Test
 
 
 execution: Oberon.Execution.Test.Diff
 execution: Oberon.Execution.Test.Diff
 
 
-Oberon.Execution.Test.Diff: build FoxTest.GofU source/Oberon.Execution.Test
-	@./build FoxTest.Compile source/Oberon.Execution.Test
+Oberon.Execution.Test.Diff: oberon FoxTest.GofU source/Oberon.Execution.Test
+	@./oberon FoxTest.Compile source/Oberon.Execution.Test
 
 
 ifdef platform
 ifdef platform
 
 
 .PHONY: release
 .PHONY: release
 release: $(if $(filter Linux32G Linux64G Darwin32G Solaris32G Win32G Win64G, $(platform)), $(platform), $(error invalid platform))
 release: $(if $(filter Linux32G Linux64G Darwin32G Solaris32G Win32G Win64G, $(platform)), $(platform), $(error invalid platform))
 
 
-$(platform): build source/Release.Tool $(addprefix source/, $(shell env AOSPATH=source ./oberon Release.Build --list $(platform) | tr -d '\r' | grep "^[^ ]\+\.Mod\s" | tr -d ' '))
+$(platform): oberon source/Release.Tool $(addprefix source/, $(shell env AOSPATH=source ./original Release.Build --list $(platform) | tr -d '\r' | grep "^[^ ]\+\.Mod\s" | tr -d ' '))
 	@rm -rf $@ && mkdir $@
 	@rm -rf $@ && mkdir $@
-	@env AOSPATH=source ./build Release.Build --path=$@/ --build $(platform) || (rm -rf $@ && false)
+	@env AOSPATH=source ./oberon Release.Build --path=$@/ --build $(platform) || (rm -rf $@ && false)
 
 
 endif
 endif
 
 
 # utilities
 # utilities
 
 
-oberon: build
-	@cp build $@
+original: oberon
+	@cp oberon $@
 
 
 clean:
 clean:
-	@rm -f modules dependencies build *.SymU *.GofU *.Log *.log
+	@rm -f modules dependencies oberon *.SymU *.GofU *.Log *.log
 	@rm -rf Linux32G Linux64G Darwin32G Solaris32G Win32G Win64G
 	@rm -rf Linux32G Linux64G Darwin32G Solaris32G Win32G Win64G

+ 0 - 0
tools/builds/a2/oberon → tools/builds/a2/original