Skip to content

Commit

Permalink
Added Apple Project Builder support files to CVS.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Dec 17, 2002
1 parent beb9653 commit e324162
Show file tree
Hide file tree
Showing 16 changed files with 1,529 additions and 0 deletions.
Binary file added PBProjects/English.lproj/InfoPlist.strings
Binary file not shown.
25 changes: 25 additions & 0 deletions PBProjects/README.txt
@@ -0,0 +1,25 @@
This is an unofficial OS X Project Builder environment to build a physfs Framework.


Built with:
physfs 0.1.7
Project Builder 2.0.1
OS X (10.2 Jaguar)

This project was created by brainlessly mimicking the SDL (Simple Direct Media
Layer) Project Builder projects. The scripts were also shamelessly taken from
SDL as well. There may be errors. Use at your own risk!

This project creates 2 installer packages:

- A physfs framework for development (for people who wish to link to physfs)

- A physfs framework for users (for users who run programs that used the above
package

This project also builds static libraries for physfs (to build physfs and physfsc) but
they are not installed anywhere. If you wish to use them, you will need to
copy them out of the build directory.

Eric Wing <ewing2121@yahoo.com>

12 changes: 12 additions & 0 deletions PBProjects/exports/Makefile
@@ -0,0 +1,12 @@

EXPORTS = SDL_sound.x
HEADERS = \
../../SDL_sound.h

all: $(EXPORTS)

$(EXPORTS): $(HEADERS)
perl gendef.pl $(HEADERS) >$@ || rm $@

clean:
rm -f $(EXPORTS)
20 changes: 20 additions & 0 deletions PBProjects/exports/gendef.pl
@@ -0,0 +1,20 @@
#!/usr/bin/perl
#
# Program to take a set of header files and generate DLL export definitions

while ( ($file = shift(@ARGV)) ) {
if ( ! defined(open(FILE, $file)) ) {
warn "Couldn't open $file: $!\n";
next;
}
$printed_header = 0;
$file =~ s,.*/,,;
while (<FILE>) {
if ( /^__EXPORT__.*\s\**([^\s\(]+)\(/ ) {
print "\t_$1\n";
} elsif ( /^__EXPORT__.*\s\**([^\s\(]+)$/ ) {
print "\t_$1\n";
}
}
close(FILE);
}
71 changes: 71 additions & 0 deletions PBProjects/exports/physfs.exp
@@ -0,0 +1,71 @@
_PHYSFS_getLinkedVersion
_PHYSFS_init
_PHYSFS_deinit
_PHYSFS_supportedArchiveTypes
_PHYSFS_freeList
_PHYSFS_getLastError
_PHYSFS_getDirSeparator
_PHYSFS_permitSymbolicLinks
_PHYSFS_getCdRomDirs
_PHYSFS_getBaseDir
_PHYSFS_getUserDir
_PHYSFS_getWriteDir
_PHYSFS_setWriteDir
_PHYSFS_addToSearchPath
_PHYSFS_removeFromSearchPath
_PHYSFS_getSearchPath
_PHYSFS_setSaneConfig
_PHYSFS_mkdir
_PHYSFS_delete
_PHYSFS_getRealDir
_PHYSFS_enumerateFiles
_PHYSFS_exists
_PHYSFS_isDirectory
_PHYSFS_isSymbolicLink
_PHYSFS_openWrite
_PHYSFS_openAppend
_PHYSFS_openRead
_PHYSFS_close
_PHYSFS_getLastModTime
_PHYSFS_read
_PHYSFS_write
_PHYSFS_eof
_PHYSFS_tell
_PHYSFS_seek
_PHYSFS_fileLength
_PHYSFS_swapSLE16
_PHYSFS_swapULE16
_PHYSFS_swapSLE32
_PHYSFS_swapULE32
_PHYSFS_swapSLE64
_PHYSFS_swapULE64
_PHYSFS_swapSBE16
_PHYSFS_swapUBE16
_PHYSFS_swapSBE32
_PHYSFS_swapUBE32
_PHYSFS_swapSBE64
_PHYSFS_swapUBE64
_PHYSFS_readSLE16
_PHYSFS_readULE16
_PHYSFS_readSBE16
_PHYSFS_readUBE16
_PHYSFS_readSLE32
_PHYSFS_readULE32
_PHYSFS_readSBE32
_PHYSFS_readUBE32
_PHYSFS_readSLE64
_PHYSFS_readULE64
_PHYSFS_readSBE64
_PHYSFS_readUBE64
_PHYSFS_writeSLE16
_PHYSFS_writeULE16
_PHYSFS_writeSBE16
_PHYSFS_writeUBE16
_PHYSFS_writeSLE32
_PHYSFS_writeULE32
_PHYSFS_writeSBE32
_PHYSFS_writeUBE32
_PHYSFS_writeSLE64
_PHYSFS_writeULE64
_PHYSFS_writeSBE64
_PHYSFS_writeUBE64
20 changes: 20 additions & 0 deletions PBProjects/mkpbprojects.csh
@@ -0,0 +1,20 @@
#!/bin/csh

###
## This script creates "PBProjects.tar.gz" in the parent directory
###

# remove build products
rm -rf build

# remove Finder info files
find . -name ".DS_Store" -exec rm "{}" ";"

# remove user project prefs
find . -name "*.pbxuser" -exec rm "{}" ";"

# create the archive
(cd .. && gnutar -zcvf PBProjects.tar.gz PBProjects)



0 comments on commit e324162

Please sign in to comment.