Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MacOS Classic fixes and MPW support (thanks, Chris!).
- Loading branch information
Showing
6 changed files
with
167 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
# File: PhysicsFS.make | ||
# Target: PhysicsFS | ||
# Created: Saturday, November 20, 2004 09:37:58 PM | ||
|
||
|
||
MAKEFILE = PhysicsFS.make | ||
¥MondoBuild¥ = {MAKEFILE} # Make blank to avoid rebuilds when makefile is modified | ||
|
||
ObjDir = :obj: | ||
Includes = -i : ¶ | ||
-i ":zlib121:" | ||
|
||
Sym-PPC = -sym on | ||
|
||
PPCCOptions = {Includes} {Sym-PPC} -prefix ":Mac Classic Support:codewarrior_predefs.h" -enum int -alloca | ||
|
||
|
||
### Source Files ### | ||
|
||
SrcFiles = ¶ | ||
:archivers:dir.c ¶ | ||
:archivers:grp.c ¶ | ||
:archivers:hog.c ¶ | ||
:archivers:mix.c ¶ | ||
:archivers:mvl.c ¶ | ||
:archivers:qpak.c ¶ | ||
:archivers:wad.c ¶ | ||
:archivers:zip.c ¶ | ||
physfs.c ¶ | ||
physfs_byteorder.c ¶ | ||
:platform:macclassic.c ¶ | ||
:zlib121:adler32.c ¶ | ||
:zlib121:compress.c ¶ | ||
:zlib121:crc32.c ¶ | ||
:zlib121:deflate.c ¶ | ||
:zlib121:gzio.c ¶ | ||
:zlib121:infback.c ¶ | ||
:zlib121:inffast.c ¶ | ||
:zlib121:inflate.c ¶ | ||
:zlib121:inftrees.c ¶ | ||
:zlib121:trees.c ¶ | ||
:zlib121:uncompr.c ¶ | ||
:zlib121:zutil.c | ||
|
||
|
||
### Object Files ### | ||
|
||
ObjFiles-PPC = ¶ | ||
"{ObjDir}dir.c.x" ¶ | ||
"{ObjDir}grp.c.x" ¶ | ||
"{ObjDir}hog.c.x" ¶ | ||
"{ObjDir}mix.c.x" ¶ | ||
"{ObjDir}mvl.c.x" ¶ | ||
"{ObjDir}qpak.c.x" ¶ | ||
"{ObjDir}wad.c.x" ¶ | ||
"{ObjDir}zip.c.x" ¶ | ||
"{ObjDir}physfs.c.x" ¶ | ||
"{ObjDir}physfs_byteorder.c.x" ¶ | ||
"{ObjDir}macclassic.c.x" ¶ | ||
"{ObjDir}adler32.c.x" ¶ | ||
"{ObjDir}compress.c.x" ¶ | ||
"{ObjDir}crc32.c.x" ¶ | ||
"{ObjDir}deflate.c.x" ¶ | ||
"{ObjDir}gzio.c.x" ¶ | ||
"{ObjDir}infback.c.x" ¶ | ||
"{ObjDir}inffast.c.x" ¶ | ||
"{ObjDir}inflate.c.x" ¶ | ||
"{ObjDir}inftrees.c.x" ¶ | ||
"{ObjDir}trees.c.x" ¶ | ||
"{ObjDir}uncompr.c.x" ¶ | ||
"{ObjDir}zutil.c.x" | ||
|
||
|
||
### Libraries ### | ||
|
||
LibFiles-PPC = ¶ | ||
"{SharedLibraries}InterfaceLib" ¶ | ||
"{SharedLibraries}StdCLib" ¶ | ||
"{SharedLibraries}MathLib" ¶ | ||
"{PPCLibraries}StdCRuntime.o" ¶ | ||
"{PPCLibraries}PPCCRuntime.o" ¶ | ||
"{PPCLibraries}PPCToolLibs.o" | ||
|
||
|
||
### Default Rules ### | ||
|
||
.c.x Ä .c {¥MondoBuild¥} | ||
{PPCC} {depDir}{default}.c -o {targDir}{default}.c.x {PPCCOptions} | ||
|
||
|
||
### Build Rules ### | ||
|
||
PhysicsFS ÄÄ {ObjFiles-PPC} {LibFiles-PPC} {¥MondoBuild¥} | ||
PPCLink ¶ | ||
-o {Targ} ¶ | ||
{ObjFiles-PPC} ¶ | ||
{LibFiles-PPC} ¶ | ||
{Sym-PPC} ¶ | ||
-@export ":Mac Classic Support:physfs.exp" ¶ | ||
-t 'shlb' ¶ | ||
-c '????' ¶ | ||
-xm s | ||
|
||
|
||
|
||
### Required Dependencies ### | ||
|
||
"{ObjDir}dir.c.x" Ä :archivers:dir.c | ||
"{ObjDir}grp.c.x" Ä :archivers:grp.c | ||
"{ObjDir}hog.c.x" Ä :archivers:hog.c | ||
"{ObjDir}mix.c.x" Ä :archivers:mix.c | ||
"{ObjDir}mvl.c.x" Ä :archivers:mvl.c | ||
"{ObjDir}qpak.c.x" Ä :archivers:qpak.c | ||
"{ObjDir}wad.c.x" Ä :archivers:wad.c | ||
"{ObjDir}zip.c.x" Ä :archivers:zip.c | ||
"{ObjDir}physfs.c.x" Ä physfs.c | ||
"{ObjDir}physfs_byteorder.c.x" Ä physfs_byteorder.c | ||
"{ObjDir}macclassic.c.x" Ä :platform:macclassic.c | ||
"{ObjDir}adler32.c.x" Ä :zlib121:adler32.c | ||
"{ObjDir}compress.c.x" Ä :zlib121:compress.c | ||
"{ObjDir}crc32.c.x" Ä :zlib121:crc32.c | ||
"{ObjDir}deflate.c.x" Ä :zlib121:deflate.c | ||
"{ObjDir}gzio.c.x" Ä :zlib121:gzio.c | ||
"{ObjDir}infback.c.x" Ä :zlib121:infback.c | ||
"{ObjDir}inffast.c.x" Ä :zlib121:inffast.c | ||
"{ObjDir}inflate.c.x" Ä :zlib121:inflate.c | ||
"{ObjDir}inftrees.c.x" Ä :zlib121:inftrees.c | ||
"{ObjDir}trees.c.x" Ä :zlib121:trees.c | ||
"{ObjDir}uncompr.c.x" Ä :zlib121:uncompr.c | ||
"{ObjDir}zutil.c.x" Ä :zlib121:zutil.c | ||
|
||
|
||
### Optional Dependencies ### | ||
### Build this target to generate "include file" dependencies. ### | ||
|
||
Dependencies Ä $OutOfDate | ||
MakeDepend ¶ | ||
-append {MAKEFILE} ¶ | ||
-ignore "{CIncludes}" ¶ | ||
-objdir "{ObjDir}" ¶ | ||
-objext .x ¶ | ||
{Includes} ¶ | ||
{SrcFiles} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters