2011-01-30 23:45:34 +00:00
|
|
|
|
# File: sha256.make
|
|
|
|
|
# Target: sha256
|
|
|
|
|
# Created: Monday, August 27, 1956 09:30:59 PM
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MAKEFILE = sha256.make
|
|
|
|
|
<EFBFBD>MondoBuild<EFBFBD> = {MAKEFILE} # Make blank to avoid rebuilds when makefile is modified
|
|
|
|
|
|
|
|
|
|
ObjDir = :
|
|
|
|
|
Includes =
|
|
|
|
|
|
|
|
|
|
Sym-PPC = -sym off
|
|
|
|
|
Sym-68K = -sym off
|
|
|
|
|
|
|
|
|
|
PPCCOptions = {Includes} {Sym-PPC} -opt speed
|
|
|
|
|
|
|
|
|
|
COptions = {Includes} {Sym-68K} -model near -opt speed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Source Files ###
|
|
|
|
|
|
|
|
|
|
SrcFiles = <20>
|
|
|
|
|
main.c <20>
|
|
|
|
|
sha256.c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Object Files ###
|
|
|
|
|
|
|
|
|
|
ObjFiles-PPC = <20>
|
|
|
|
|
"{ObjDir}main.c.x" <20>
|
|
|
|
|
"{ObjDir}sha256.c.x"
|
|
|
|
|
|
|
|
|
|
ObjFiles-68K = <20>
|
|
|
|
|
"{ObjDir}main.c.o" <20>
|
|
|
|
|
"{ObjDir}sha256.c.o"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Libraries ###
|
|
|
|
|
|
|
|
|
|
LibFiles-PPC = <20>
|
|
|
|
|
"{PPCLibraries}PPCSIOW.o" <20>
|
|
|
|
|
"{SharedLibraries}InterfaceLib" <20>
|
|
|
|
|
"{SharedLibraries}StdCLib" <20>
|
|
|
|
|
"{SharedLibraries}MathLib" <20>
|
|
|
|
|
"{PPCLibraries}StdCRuntime.o" <20>
|
|
|
|
|
"{PPCLibraries}PPCCRuntime.o" <20>
|
|
|
|
|
"{PPCLibraries}PPCToolLibs.o"
|
|
|
|
|
|
|
|
|
|
LibFiles-68K = <20>
|
|
|
|
|
"{Libraries}MathLib.o" <20>
|
|
|
|
|
"{CLibraries}StdCLib.o" <20>
|
|
|
|
|
"{Libraries}SIOW.o" <20>
|
|
|
|
|
"{Libraries}MacRuntime.o" <20>
|
|
|
|
|
"{Libraries}IntEnv.o" <20>
|
|
|
|
|
"{Libraries}ToolLibs.o" <20>
|
|
|
|
|
"{Libraries}Interface.o"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Default Rules ###
|
|
|
|
|
|
|
|
|
|
.c.x <20> .c {<7B>MondoBuild<6C>}
|
|
|
|
|
{PPCC} {depDir}{default}.c -o {targDir}{default}.c.x {PPCCOptions}
|
|
|
|
|
|
|
|
|
|
.c.o <20> .c {<7B>MondoBuild<6C>}
|
|
|
|
|
{C} {depDir}{default}.c -o {targDir}{default}.c.o {COptions}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Build Rules ###
|
|
|
|
|
|
|
|
|
|
sha256 <20><> {ObjFiles-PPC} {LibFiles-PPC} {<7B>MondoBuild<6C>}
|
|
|
|
|
PPCLink <20>
|
|
|
|
|
-o {Targ} <20>
|
|
|
|
|
{ObjFiles-PPC} <20>
|
|
|
|
|
{LibFiles-PPC} <20>
|
|
|
|
|
{Sym-PPC} <20>
|
|
|
|
|
-mf -d <20>
|
|
|
|
|
-t 'APPL' <20>
|
|
|
|
|
-c 'siow'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sha256 <20><> {ObjFiles-68K} {LibFiles-68K} {<7B>MondoBuild<6C>}
|
|
|
|
|
ILink <20>
|
|
|
|
|
-o {Targ} <20>
|
|
|
|
|
{ObjFiles-68K} <20>
|
|
|
|
|
{LibFiles-68K} <20>
|
|
|
|
|
{Sym-68K} <20>
|
|
|
|
|
-mf -d <20>
|
|
|
|
|
-t 'APPL' <20>
|
|
|
|
|
-c 'siow' <20>
|
|
|
|
|
-model near <20>
|
|
|
|
|
-state rewrite <20>
|
|
|
|
|
-compact -pad 0
|
|
|
|
|
If "{Sym-68K}" =~ /-sym <20>[nNuU]<5D>/
|
|
|
|
|
ILinkToSYM {Targ}.NJ -mf -sym 3.2 -c 'sade'
|
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sha256 <20><> "{RIncludes}"SIOW.r {<7B>MondoBuild<6C>}
|
|
|
|
|
Rez "{RIncludes}"SIOW.r -o {Targ} -append
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Required Dependencies ###
|
|
|
|
|
|
|
|
|
|
"{ObjDir}main.c.x" "{ObjDir}main.c.o" <20> main.c
|
|
|
|
|
"{ObjDir}sha256.c.x" "{ObjDir}sha256.c.o" <20> sha256.c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Optional Dependencies ###
|
|
|
|
|
### Build this target to generate "include file" dependencies. ###
|
|
|
|
|
|
|
|
|
|
Dependencies <20> $OutOfDate
|
|
|
|
|
MakeDepend <20>
|
|
|
|
|
-append {MAKEFILE} <20>
|
|
|
|
|
-ignore "{CIncludes}" <20>
|
|
|
|
|
-objdir "{ObjDir}" <20>
|
|
|
|
|
-objext .x <20>
|
|
|
|
|
-objext .o <20>
|
|
|
|
|
{Includes} <20>
|
|
|
|
|
{SrcFiles}
|
|
|
|
|
|
|
|
|
|
|