12/12/2008. Starting of project

phpsdl-ng
*********

Prerequisites.
--------------

php-5, build framework, sdl library (with development files)

optional:
1) sdl_image
2) sdl-smpeg (obsolete probably removed)
3) sdl_gfx
4) sdl_ttf

Tested:
1) GNU/Linux: Debian lenny amd64

Instructions
------------

Generated code is (only for reading purpouses) into src.
You can delete that directory and regenerate the code

For compiling this extension:
1) you can use do_build script in this manner:

$ ./do_build sdl

1) it calls gen_fun.php code with argument sdl.xml (where's 
   defined all functions, globals and resources of phpsdl extension),
   starting from also sdl_stuff.c (some stuff functions) and sdl_globals.c (
   functions for initializating extension globals)

2) generates sdl.c, header file, config.m4 

3) starts build process to generate binary file sdl.so (that's the
   binary extension for php).

Licensing.
---------
Work in progress.

GPL-2.0 (with exceptions for using this code with SDL (LGPL) and PHP (PHP
License).

License generated into sdl.c from sdl.xml (see xml code)

Contacts:
---------
dimitri.giardina@gmail.com

