
# The following global variables must be set:
#
#	$1		The interface subsystem
#
# The following global variables are set by this function:
#
#	$includes	Header directories for building shared library
#	$options	Compiler flags for building shared library
#	$asmobjs	Assembler objects to add to the build list
#	$libraries	The set of SDL libraries to build
#	$extralibs	Extra libraries necessary for building SDL
#
GenSubsystemFlags()
{
	case $1 in
	  x11)
		includes="$includes -Isrc/linux/x11"
		libraries="$libraries lib/libSDLx11.so.\$(version)"
		;;
	  *)
		echo "Unknown subsystem '$1'"
		exit 3
		;;
	esac
}

# The following global variables must be set:
#
#	$1		The interface subsystem directory
#
# The following global variables are set by this function:
#
#	$includes	Header directories for building shared library
#	$options	Compiler flags for building shared library
#	$asmobjs	Assembler objects to add to the build list
#	$libraries	The set of SDL libraries to build
#	$extralibs	Extra libraries necessary for building SDL
#
GenMakeFlags()
{
:
#	echo \
#"
#* Compiling with pthreads -- you need compile your application with
#   -D_SGI_REENTRANT_FUNCTIONS"
#
#	options="$options -DSDL_USE_PTHREADS -D_SGI_REENTRANT_FUNCTIONS"
}

# Determine which subsystems to build
possible="X11"
