author | Ryan C. Gordon <icculus@icculus.org> |
Thu, 30 Dec 2010 19:45:47 -0500 | |
branch | stable-2.0 |
changeset 1132 | ff6943f29c3e |
parent 877 | 99c2fd8e689d |
child 972 | 254427fc42ab |
permissions | -rw-r--r-- |
408 | 1 |
@echo off |
2 |
rem this is a simple batch file to build PhysicsFS on OS/2. You need to have |
|
819
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
3 |
rem the Innotek libc and GCC (or "kLIBC") installed for this to work: |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
4 |
rem |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
5 |
rem http://svn.netlabs.org/libc |
408 | 6 |
rem |
7 |
rem This script (and, indeed, our OS/2 support) could use some tweaking. |
|
767
db29bf06d171
Changed my email address.
Ryan C. Gordon <icculus@icculus.org>
parents:
718
diff
changeset
|
8 |
rem Patches go to icculus@icculus.org ... |
408 | 9 |
|
430
5a445b536027
Set a default language.
Ryan C. Gordon <icculus@icculus.org>
parents:
419
diff
changeset
|
10 |
set PHYSFSLANG=PHYSFS_LANG_ENGLISH |
415 | 11 |
set DEBUGFLAGS=-D_NDEBUG -O2 -s |
819
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
12 |
rem set CFLAGS=%DEBUGFLAGS% -Wall -Werror -Zomf -Zmt -Zmtd -I. -Izlib123 -c -D__ST_MT_ERRNO__ -DOS2 -DZ_PREFIX -DPHYSFS_SUPPORTS_ZIP -DPHYSFS_SUPPORTS_7Z -DPHYSFS_SUPPORTS_GRP -DPHYSFS_SUPPORTS_WAD -DPHYSFS_SUPPORTS_QPAK -DPHYSFS_SUPPORTS_HOG -DPHYSFS_SUPPORTS_MVL -DPHYSFS_LANG=%PHYSFSLANG% -DHAVE_ASSERT_H |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
13 |
set CFLAGS=%DEBUGFLAGS% -Wall -Werror -Zomf -I. -Iz -c -D__ST_MT_ERRNO__ -DOS2 -DZ_PREFIX -DPHYSFS_SUPPORTS_ZIP -DPHYSFS_SUPPORTS_7Z -DPHYSFS_SUPPORTS_GRP -DPHYSFS_SUPPORTS_WAD -DPHYSFS_SUPPORTS_QPAK -DPHYSFS_SUPPORTS_HOG -DPHYSFS_SUPPORTS_MVL -DHAVE_ASSERT_H |
625
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
14 |
|
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
15 |
rem goto :dolinking |
415 | 16 |
|
625
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
17 |
@echo cleaning up any previous build... |
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
18 |
@mkdir bin 2>NUL |
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
19 |
@erase /N bin\*.* 2>NUL |
415 | 20 |
|
625
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
21 |
@echo Building export definitions... |
415 | 22 |
@echo ;don't edit this directly! It is rewritten by makeos2.cmd! > bin\test_physfs.def |
23 |
@echo NAME TESTPHYSFS WINDOWCOMPAT >> bin\test_physfs.def |
|
24 |
@echo DESCRIPTION 'PhysicsFS: http://icculus.org/physfs/' >> bin\test_physfs.def |
|
25 |
@echo STACKSIZE 0x10000 >> bin\test_physfs.def |
|
26 |
@echo BASE=0x10000 >> bin\test_physfs.def |
|
27 |
@echo PROTMODE >> bin\test_physfs.def |
|
408 | 28 |
|
29 |
@echo ;don't edit this directly! It is rewritten by makeos2.cmd! > bin\physfs.def |
|
415 | 30 |
@echo LIBRARY 'physfs' INITINSTANCE TERMINSTANCE >> bin\physfs.def |
31 |
@echo STACKSIZE 0x10000 >> bin\physfs.def |
|
32 |
@echo CODE LOADONCALL >> bin\physfs.def |
|
33 |
@echo DATA LOADONCALL NONSHARED MULTIPLE >> bin\physfs.def |
|
408 | 34 |
@echo DESCRIPTION 'PhysicsFS: http://icculus.org/physfs/' >> bin\physfs.def |
415 | 35 |
@echo EXPORTS >> bin\physfs.def |
819
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
36 |
@echo "_PHYSFS_getLinkedVersion" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
37 |
@echo "_PHYSFS_init" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
38 |
@echo "_PHYSFS_deinit" >> bin\physfs.def |
876
0d8e41a5c831
Added PHYSFS_isInit() function.
Ryan C. Gordon <icculus@icculus.org>
parents:
871
diff
changeset
|
39 |
@echo "_PHYSFS_isInit" >> bin\physfs.def |
819
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
40 |
@echo "_PHYSFS_supportedArchiveTypes" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
41 |
@echo "_PHYSFS_freeList" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
42 |
@echo "_PHYSFS_getLastError" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
43 |
@echo "_PHYSFS_getDirSeparator" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
44 |
@echo "_PHYSFS_permitSymbolicLinks" >> bin\physfs.def |
877
99c2fd8e689d
Added PHYSFS_symbolicLinksPermitted().
Ryan C. Gordon <icculus@icculus.org>
parents:
876
diff
changeset
|
45 |
@echo "_PHYSFS_symbolicLinksPermitted" >> bin\physfs.def |
819
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
46 |
@echo "_PHYSFS_getCdRomDirs" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
47 |
@echo "_PHYSFS_getBaseDir" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
48 |
@echo "_PHYSFS_getUserDir" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
49 |
@echo "_PHYSFS_getWriteDir" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
50 |
@echo "_PHYSFS_setWriteDir" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
51 |
@echo "_PHYSFS_addToSearchPath" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
52 |
@echo "_PHYSFS_removeFromSearchPath" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
53 |
@echo "_PHYSFS_getSearchPath" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
54 |
@echo "_PHYSFS_setSaneConfig" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
55 |
@echo "_PHYSFS_mkdir" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
56 |
@echo "_PHYSFS_delete" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
57 |
@echo "_PHYSFS_getRealDir" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
58 |
@echo "_PHYSFS_enumerateFiles" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
59 |
@echo "_PHYSFS_exists" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
60 |
@echo "_PHYSFS_isDirectory" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
61 |
@echo "_PHYSFS_isSymbolicLink" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
62 |
@echo "_PHYSFS_openWrite" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
63 |
@echo "_PHYSFS_openAppend" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
64 |
@echo "_PHYSFS_openRead" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
65 |
@echo "_PHYSFS_close" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
66 |
@echo "_PHYSFS_read" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
67 |
@echo "_PHYSFS_write" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
68 |
@echo "_PHYSFS_eof" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
69 |
@echo "_PHYSFS_tell" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
70 |
@echo "_PHYSFS_seek" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
71 |
@echo "_PHYSFS_fileLength" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
72 |
@echo "_PHYSFS_swapSLE16" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
73 |
@echo "_PHYSFS_swapULE16" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
74 |
@echo "_PHYSFS_swapSLE32" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
75 |
@echo "_PHYSFS_swapULE32" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
76 |
@echo "_PHYSFS_swapSLE64" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
77 |
@echo "_PHYSFS_swapULE64" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
78 |
@echo "_PHYSFS_swapSBE16" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
79 |
@echo "_PHYSFS_swapUBE16" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
80 |
@echo "_PHYSFS_swapSBE32" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
81 |
@echo "_PHYSFS_swapUBE32" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
82 |
@echo "_PHYSFS_swapSBE64" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
83 |
@echo "_PHYSFS_swapUBE64" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
84 |
@echo "_PHYSFS_getLastModTime" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
85 |
@echo "_PHYSFS_readSLE16" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
86 |
@echo "_PHYSFS_readULE16" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
87 |
@echo "_PHYSFS_readSLE32" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
88 |
@echo "_PHYSFS_readULE32" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
89 |
@echo "_PHYSFS_readSLE64" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
90 |
@echo "_PHYSFS_readULE64" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
91 |
@echo "_PHYSFS_readSBE16" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
92 |
@echo "_PHYSFS_readUBE16" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
93 |
@echo "_PHYSFS_readSBE32" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
94 |
@echo "_PHYSFS_readUBE32" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
95 |
@echo "_PHYSFS_readSBE64" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
96 |
@echo "_PHYSFS_readUBE64" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
97 |
@echo "_PHYSFS_writeSLE16" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
98 |
@echo "_PHYSFS_writeULE16" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
99 |
@echo "_PHYSFS_writeSLE32" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
100 |
@echo "_PHYSFS_writeULE32" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
101 |
@echo "_PHYSFS_writeSLE64" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
102 |
@echo "_PHYSFS_writeULE64" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
103 |
@echo "_PHYSFS_writeSBE16" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
104 |
@echo "_PHYSFS_writeUBE16" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
105 |
@echo "_PHYSFS_writeSBE32" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
106 |
@echo "_PHYSFS_writeUBE32" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
107 |
@echo "_PHYSFS_writeSBE64" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
108 |
@echo "_PHYSFS_writeUBE64" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
109 |
@echo "_PHYSFS_setBuffer" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
110 |
@echo "_PHYSFS_flush" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
111 |
@echo "_PHYSFS_mount" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
112 |
@echo "_PHYSFS_getMountPoint" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
113 |
@echo "_PHYSFS_setAllocator" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
114 |
@echo "_PHYSFS_getCdRomDirsCallback" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
115 |
@echo "_PHYSFS_getSearchPathCallback" >> bin\physfs.def |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
116 |
@echo "_PHYSFS_enumerateFilesCallback" >> bin\physfs.def |
871
7d9a26213980
Fixed typos in export names.
Ryan C. Gordon <icculus@icculus.org>
parents:
819
diff
changeset
|
117 |
@echo "_PHYSFS_utf8ToUcs2" >> bin\physfs.def |
7d9a26213980
Fixed typos in export names.
Ryan C. Gordon <icculus@icculus.org>
parents:
819
diff
changeset
|
118 |
@echo "_PHYSFS_utf8FromUcs2" >> bin\physfs.def |
7d9a26213980
Fixed typos in export names.
Ryan C. Gordon <icculus@icculus.org>
parents:
819
diff
changeset
|
119 |
@echo "_PHYSFS_utf8ToUcs4" >> bin\physfs.def |
7d9a26213980
Fixed typos in export names.
Ryan C. Gordon <icculus@icculus.org>
parents:
819
diff
changeset
|
120 |
@echo "_PHYSFS_utf8FromUcs4" >> bin\physfs.def |
7d9a26213980
Fixed typos in export names.
Ryan C. Gordon <icculus@icculus.org>
parents:
819
diff
changeset
|
121 |
@echo "_PHYSFS_utf8FromLatin1" >> bin\physfs.def |
408 | 122 |
|
625
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
123 |
@echo Building export library... |
415 | 124 |
emximp -o bin/physfs.lib bin/physfs.def |
819
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
125 |
emximp -o bin/physfs.a bin/physfs.def |
408 | 126 |
|
625
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
127 |
@echo Compiling PhysicsFS library... |
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
128 |
@echo on |
408 | 129 |
gcc %CFLAGS% -o bin/physfs.obj physfs.c |
130 |
gcc %CFLAGS% -o bin/physfs_byteorder.obj physfs_byteorder.c |
|
785 | 131 |
gcc %CFLAGS% -o bin/physfs_unicode.obj physfs_unicode.c |
408 | 132 |
gcc %CFLAGS% -o bin/os2.obj platform/os2.c |
133 |
gcc %CFLAGS% -o bin/dir.obj archivers/dir.c |
|
134 |
gcc %CFLAGS% -o bin/grp.obj archivers/grp.c |
|
609
3a91332776e0
Added Doom WAD support.
Ryan C. Gordon <icculus@icculus.org>
parents:
602
diff
changeset
|
135 |
gcc %CFLAGS% -o bin/wad.obj archivers/wad.c |
819
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
136 |
gcc %CFLAGS% -o bin/lzma.obj archivers/lzma.c |
408 | 137 |
gcc %CFLAGS% -o bin/zip.obj archivers/zip.c |
487 | 138 |
gcc %CFLAGS% -o bin/qpak.obj archivers/qpak.c |
560
1940fbc893d1
Added Descent archives to OS/2 build system.
Ryan C. Gordon <icculus@icculus.org>
parents:
536
diff
changeset
|
139 |
gcc %CFLAGS% -o bin/hog.obj archivers/hog.c |
1940fbc893d1
Added Descent archives to OS/2 build system.
Ryan C. Gordon <icculus@icculus.org>
parents:
536
diff
changeset
|
140 |
gcc %CFLAGS% -o bin/mvl.obj archivers/mvl.c |
718
2e809894a316
Moved to actual zlib 1.2.3.
Ryan C. Gordon <icculus@icculus.org>
parents:
709
diff
changeset
|
141 |
gcc %CFLAGS% -o bin/adler32.obj zlib123/adler32.c |
2e809894a316
Moved to actual zlib 1.2.3.
Ryan C. Gordon <icculus@icculus.org>
parents:
709
diff
changeset
|
142 |
gcc %CFLAGS% -o bin/compress.obj zlib123/compress.c |
2e809894a316
Moved to actual zlib 1.2.3.
Ryan C. Gordon <icculus@icculus.org>
parents:
709
diff
changeset
|
143 |
gcc %CFLAGS% -o bin/crc32.obj zlib123/crc32.c |
2e809894a316
Moved to actual zlib 1.2.3.
Ryan C. Gordon <icculus@icculus.org>
parents:
709
diff
changeset
|
144 |
gcc %CFLAGS% -o bin/deflate.obj zlib123/deflate.c |
2e809894a316
Moved to actual zlib 1.2.3.
Ryan C. Gordon <icculus@icculus.org>
parents:
709
diff
changeset
|
145 |
gcc %CFLAGS% -o bin/gzio.obj zlib123/gzio.c |
2e809894a316
Moved to actual zlib 1.2.3.
Ryan C. Gordon <icculus@icculus.org>
parents:
709
diff
changeset
|
146 |
gcc %CFLAGS% -o bin/infback.obj zlib123/infback.c |
2e809894a316
Moved to actual zlib 1.2.3.
Ryan C. Gordon <icculus@icculus.org>
parents:
709
diff
changeset
|
147 |
gcc %CFLAGS% -o bin/inffast.obj zlib123/inffast.c |
2e809894a316
Moved to actual zlib 1.2.3.
Ryan C. Gordon <icculus@icculus.org>
parents:
709
diff
changeset
|
148 |
gcc %CFLAGS% -o bin/inflate.obj zlib123/inflate.c |
2e809894a316
Moved to actual zlib 1.2.3.
Ryan C. Gordon <icculus@icculus.org>
parents:
709
diff
changeset
|
149 |
gcc %CFLAGS% -o bin/inftrees.obj zlib123/inftrees.c |
2e809894a316
Moved to actual zlib 1.2.3.
Ryan C. Gordon <icculus@icculus.org>
parents:
709
diff
changeset
|
150 |
gcc %CFLAGS% -o bin/trees.obj zlib123/trees.c |
2e809894a316
Moved to actual zlib 1.2.3.
Ryan C. Gordon <icculus@icculus.org>
parents:
709
diff
changeset
|
151 |
gcc %CFLAGS% -o bin/uncompr.obj zlib123/uncompr.c |
2e809894a316
Moved to actual zlib 1.2.3.
Ryan C. Gordon <icculus@icculus.org>
parents:
709
diff
changeset
|
152 |
gcc %CFLAGS% -o bin/zutil.obj zlib123/zutil.c |
819
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
153 |
gcc %CFLAGS% -o bin/7zBuffer.obj lzma/7zBuffer.c |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
154 |
gcc %CFLAGS% -o bin/7zCrc.obj lzma/7zCrc.c |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
155 |
gcc %CFLAGS% -o bin/7zDecode.obj lzma/7zDecode.c |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
156 |
gcc %CFLAGS% -o bin/7zExtract.obj lzma/7zExtract.c |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
157 |
gcc %CFLAGS% -o bin/7zHeader.obj lzma/7zHeader.c |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
158 |
gcc %CFLAGS% -o bin/7zIn.obj lzma/7zIn.c |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
159 |
gcc %CFLAGS% -o bin/7zItem.obj lzma/7zItem.c |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
160 |
gcc %CFLAGS% -o bin/7zMethodID.obj lzma/7zMethodID.c |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
161 |
gcc %CFLAGS% -o bin/LzmaDecode.obj lzma/LzmaDecode.c |
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
162 |
gcc %CFLAGS% -o bin/LzmaStateDecode.obj lzma/LzmaStateDecode.c |
625
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
163 |
@echo off |
408 | 164 |
|
625
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
165 |
:dolinking |
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
166 |
@echo Linking PhysicsFS library... |
819
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
167 |
gcc %DEBUGFLAGS% -Zdll -Zcrtdll -Zomf -o bin/physfs.dll bin/*.obj bin/physfs.def |
408 | 168 |
|
625
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
169 |
rem goto :builddone |
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
170 |
|
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
171 |
@echo Compiling test program... |
415 | 172 |
gcc %CFLAGS% -o bin/test_physfs.obj test/test_physfs.c |
625
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
173 |
@echo Linking test program... |
819
03217bdae0c2
First shot at updating makeos2.cmd for Innotek/kLIBC's build tools. Farewell,
Ryan C. Gordon <icculus@icculus.org>
parents:
785
diff
changeset
|
174 |
gcc %DEBUGFLAGS% -Zomf -Zcrtdll -o bin/test_physfs.exe bin/test_physfs.obj bin/physfs.lib bin/test_physfs.def |
408 | 175 |
|
625
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
176 |
:builddone |
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
177 |
|
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
178 |
@echo "All done!" |
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
179 |
|
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
180 |
rem end of makeos2.cmd ... |
60b5f566a258
Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents:
618
diff
changeset
|
181 |