
To compile and install SDL:

	1.  Run 'make'

	    If you are cross-compiling from Linux to Win32, you should have
	    the cross-compiler binaries in your path, and type 'make win32'
	    Linux cross-compiler binaries for Win32 are available from my 
	    mingw32 cross-compiler page at:
		http://www.devolution.com/~slouken/SDL/Xmingw32/

	2.  Move your new SDL library from ./lib to a place where it can 
	    be dynamically loaded by your system.
	    On Linux and Solaris, a good place might be /usr/lib
		It can also go in any directory specified in the
		LD_LIBRARY_PATH environment variable
	    On Win32, a good place might be C:\WINDOWS\SYSTEM
		It can also go in the directory your program runs from.
	    On BeOS, a good place might be /boot/beos/system/add-ons
		It can also go in any directoriy specified in the
		ADDON_PATH environment variable
	    You can type 'make install' for an easy install script.
	
	3.  Look at the example programs in ./test, and check out the HTML
	    documentation in ./docs to see how to use the SDL library.

	4.  Join the SDL developer mailing list by sending E-mail to
		sdl-subscribe@surfnetcity.com.au

---

Porting SDL to another OS:

Important system dependent modules are:

	make/<os>/config
	make/<os>/functions
	make/<os>/rules
		These contain information needed to build SDL using 'make'

	src/stub/load.c
		This contains code to dynamically load the library

	src/stub/<os>/sysdep.decl
		This contains OS-dependent exports (typically empty)

	src/<os>/SDL_mutex.c
		This contains the code for binary semaphores

	src/<os>/SDL_thread.c
		This contains the code for threads

	src/<os>/SDL_timer.c
		This contains the code for timers

	src/<os>/<interface>/SDL_sysvideo.c
		This contains code for video mode setup
		(See src/SDL_sysvideo.h)

	src/<os>/<interface>/SDL_syswm.c
		This contains code for window manager hooks, if implemented.
		(See src/SDL_sysvideo.h)

	src/<os>/<interface>/SDL_sysmouse.c
		This contains code for window manager cursor handling,
		if implemented.
		(See src/SDL_sysmouse_c.h)

	src/<os>/<interface>/SDL_sysevents.c
		This contains code for managing events
		(See src/SDL_sysevents.h)

	src/<os>/SDL_sysaudio.c
		This contains code for the sound driver

Once these modules are written, test them with the programs in ./test

