2005-03-16 12:42:54 +01:00
|
|
|
|
# File: PhysicsFS.make
|
|
|
|
|
# Target: PhysicsFS
|
|
|
|
|
# Created: Saturday, November 20, 2004 09:37:58 PM
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MAKEFILE = PhysicsFS.make
|
|
|
|
|
<EFBFBD>MondoBuild<EFBFBD> = {MAKEFILE} # Make blank to avoid rebuilds when makefile is modified
|
|
|
|
|
|
|
|
|
|
ObjDir = :obj:
|
|
|
|
|
Includes = -i : <20>
|
2005-07-24 00:02:00 +02:00
|
|
|
|
-i ":zlib123:"
|
2005-03-16 12:42:54 +01:00
|
|
|
|
|
|
|
|
|
Sym-PPC = -sym on
|
|
|
|
|
|
|
|
|
|
PPCCOptions = {Includes} {Sym-PPC} -prefix ":Mac Classic Support:codewarrior_predefs.h" -enum int -alloca
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Source Files ###
|
|
|
|
|
|
|
|
|
|
SrcFiles = <20>
|
|
|
|
|
:archivers:dir.c <20>
|
|
|
|
|
:archivers:grp.c <20>
|
|
|
|
|
:archivers:hog.c <20>
|
|
|
|
|
:archivers:mix.c <20>
|
|
|
|
|
:archivers:mvl.c <20>
|
|
|
|
|
:archivers:qpak.c <20>
|
|
|
|
|
:archivers:wad.c <20>
|
|
|
|
|
:archivers:zip.c <20>
|
|
|
|
|
physfs.c <20>
|
|
|
|
|
physfs_byteorder.c <20>
|
|
|
|
|
:platform:macclassic.c <20>
|
2005-07-24 00:02:00 +02:00
|
|
|
|
:zlib123:adler32.c <20>
|
|
|
|
|
:zlib123:compress.c <20>
|
|
|
|
|
:zlib123:crc32.c <20>
|
|
|
|
|
:zlib123:deflate.c <20>
|
|
|
|
|
:zlib123:gzio.c <20>
|
|
|
|
|
:zlib123:infback.c <20>
|
|
|
|
|
:zlib123:inffast.c <20>
|
|
|
|
|
:zlib123:inflate.c <20>
|
|
|
|
|
:zlib123:inftrees.c <20>
|
|
|
|
|
:zlib123:trees.c <20>
|
|
|
|
|
:zlib123:uncompr.c <20>
|
|
|
|
|
:zlib123:zutil.c
|
2005-03-16 12:42:54 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Object Files ###
|
|
|
|
|
|
|
|
|
|
ObjFiles-PPC = <20>
|
|
|
|
|
"{ObjDir}dir.c.x" <20>
|
|
|
|
|
"{ObjDir}grp.c.x" <20>
|
|
|
|
|
"{ObjDir}hog.c.x" <20>
|
|
|
|
|
"{ObjDir}mix.c.x" <20>
|
|
|
|
|
"{ObjDir}mvl.c.x" <20>
|
|
|
|
|
"{ObjDir}qpak.c.x" <20>
|
|
|
|
|
"{ObjDir}wad.c.x" <20>
|
|
|
|
|
"{ObjDir}zip.c.x" <20>
|
|
|
|
|
"{ObjDir}physfs.c.x" <20>
|
|
|
|
|
"{ObjDir}physfs_byteorder.c.x" <20>
|
|
|
|
|
"{ObjDir}macclassic.c.x" <20>
|
|
|
|
|
"{ObjDir}adler32.c.x" <20>
|
|
|
|
|
"{ObjDir}compress.c.x" <20>
|
|
|
|
|
"{ObjDir}crc32.c.x" <20>
|
|
|
|
|
"{ObjDir}deflate.c.x" <20>
|
|
|
|
|
"{ObjDir}gzio.c.x" <20>
|
|
|
|
|
"{ObjDir}infback.c.x" <20>
|
|
|
|
|
"{ObjDir}inffast.c.x" <20>
|
|
|
|
|
"{ObjDir}inflate.c.x" <20>
|
|
|
|
|
"{ObjDir}inftrees.c.x" <20>
|
|
|
|
|
"{ObjDir}trees.c.x" <20>
|
|
|
|
|
"{ObjDir}uncompr.c.x" <20>
|
|
|
|
|
"{ObjDir}zutil.c.x"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Libraries ###
|
|
|
|
|
|
|
|
|
|
LibFiles-PPC = <20>
|
|
|
|
|
"{SharedLibraries}InterfaceLib" <20>
|
|
|
|
|
"{SharedLibraries}StdCLib" <20>
|
|
|
|
|
"{SharedLibraries}MathLib" <20>
|
|
|
|
|
"{PPCLibraries}StdCRuntime.o" <20>
|
|
|
|
|
"{PPCLibraries}PPCCRuntime.o" <20>
|
|
|
|
|
"{PPCLibraries}PPCToolLibs.o"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Default Rules ###
|
|
|
|
|
|
|
|
|
|
.c.x <20> .c {<7B>MondoBuild<6C>}
|
|
|
|
|
{PPCC} {depDir}{default}.c -o {targDir}{default}.c.x {PPCCOptions}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Build Rules ###
|
|
|
|
|
|
|
|
|
|
PhysicsFS <20><> {ObjFiles-PPC} {LibFiles-PPC} {<7B>MondoBuild<6C>}
|
|
|
|
|
PPCLink <20>
|
|
|
|
|
-o {Targ} <20>
|
|
|
|
|
{ObjFiles-PPC} <20>
|
|
|
|
|
{LibFiles-PPC} <20>
|
|
|
|
|
{Sym-PPC} <20>
|
|
|
|
|
-@export ":Mac Classic Support:physfs.exp" <20>
|
|
|
|
|
-t 'shlb' <20>
|
|
|
|
|
-c '????' <20>
|
|
|
|
|
-xm s
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Required Dependencies ###
|
|
|
|
|
|
|
|
|
|
"{ObjDir}dir.c.x" <20> :archivers:dir.c
|
|
|
|
|
"{ObjDir}grp.c.x" <20> :archivers:grp.c
|
|
|
|
|
"{ObjDir}hog.c.x" <20> :archivers:hog.c
|
|
|
|
|
"{ObjDir}mix.c.x" <20> :archivers:mix.c
|
|
|
|
|
"{ObjDir}mvl.c.x" <20> :archivers:mvl.c
|
|
|
|
|
"{ObjDir}qpak.c.x" <20> :archivers:qpak.c
|
|
|
|
|
"{ObjDir}wad.c.x" <20> :archivers:wad.c
|
|
|
|
|
"{ObjDir}zip.c.x" <20> :archivers:zip.c
|
|
|
|
|
"{ObjDir}physfs.c.x" <20> physfs.c
|
|
|
|
|
"{ObjDir}physfs_byteorder.c.x" <20> physfs_byteorder.c
|
|
|
|
|
"{ObjDir}macclassic.c.x" <20> :platform:macclassic.c
|
2005-07-24 00:02:00 +02:00
|
|
|
|
"{ObjDir}adler32.c.x" <20> :zlib123:adler32.c
|
|
|
|
|
"{ObjDir}compress.c.x" <20> :zlib123:compress.c
|
|
|
|
|
"{ObjDir}crc32.c.x" <20> :zlib123:crc32.c
|
|
|
|
|
"{ObjDir}deflate.c.x" <20> :zlib123:deflate.c
|
|
|
|
|
"{ObjDir}gzio.c.x" <20> :zlib123:gzio.c
|
|
|
|
|
"{ObjDir}infback.c.x" <20> :zlib123:infback.c
|
|
|
|
|
"{ObjDir}inffast.c.x" <20> :zlib123:inffast.c
|
|
|
|
|
"{ObjDir}inflate.c.x" <20> :zlib123:inflate.c
|
|
|
|
|
"{ObjDir}inftrees.c.x" <20> :zlib123:inftrees.c
|
|
|
|
|
"{ObjDir}trees.c.x" <20> :zlib123:trees.c
|
|
|
|
|
"{ObjDir}uncompr.c.x" <20> :zlib123:uncompr.c
|
|
|
|
|
"{ObjDir}zutil.c.x" <20> :zlib123:zutil.c
|
2005-03-16 12:42:54 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 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>
|
|
|
|
|
{Includes} <20>
|
|
|
|
|
{SrcFiles}
|
|
|
|
|
|
|
|
|
|
|