Commit 24580b15 authored by Sam Lantinga's avatar Sam Lantinga

Added CD-ROM support for BSD/OS (thanks Steven!)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40179
parent b2c4a2a1
...@@ -1347,18 +1347,18 @@ case "$target" in ...@@ -1347,18 +1347,18 @@ case "$target" in
JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS dummy/libjoystick_dummy.la" JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS dummy/libjoystick_dummy.la"
fi fi
# Set up files for the cdrom library # Set up files for the cdrom library
# (No cdrom support yet)
if test x$enable_cdrom = xyes; then if test x$enable_cdrom = xyes; then
CDROM_SUBDIRS="$CDROM_SUBDIRS dummy" CDROM_SUBDIRS="$CDROM_SUBDIRS bsdi"
CDROM_DRIVERS="$CDROM_DRIVERS dummy/libcdrom_dummy.la" CDROM_DRIVERS="$CDROM_DRIVERS bsdi/libcdrom_bsdi.la"
fi fi
# Set up files for the thread library # Set up files for the thread library
SDL_LIBS="$SDL_LIBS -lsem"
if test x$enable_threads = xyes; then if test x$enable_threads = xyes; then
COPY_ARCH_SRC(src/thread, linux, SDL_systhread.c) COPY_ARCH_SRC(src/thread, linux, SDL_systhread.c)
COPY_ARCH_SRC(src/thread, linux, SDL_systhread_c.h) COPY_ARCH_SRC(src/thread, linux, SDL_systhread_c.h)
COPY_ARCH_SRC(src/thread, linux, SDL_sysmutex.c) COPY_ARCH_SRC(src/thread, linux, SDL_sysmutex.c)
COPY_ARCH_SRC(src/thread, linux, SDL_sysmutex_c.h) COPY_ARCH_SRC(src/thread, linux, SDL_sysmutex_c.h)
COPY_ARCH_SRC(src/thread, generic, SDL_syssem.c) COPY_ARCH_SRC(src/thread, linux, SDL_syssem.c)
COPY_ARCH_SRC(src/thread, generic, SDL_syssem_c.h) COPY_ARCH_SRC(src/thread, generic, SDL_syssem_c.h)
COPY_ARCH_SRC(src/thread, linux, SDL_syscond.c) COPY_ARCH_SRC(src/thread, linux, SDL_syscond.c)
COPY_ARCH_SRC(src/thread, generic, SDL_syscond_c.h) COPY_ARCH_SRC(src/thread, generic, SDL_syscond_c.h)
...@@ -2247,6 +2247,7 @@ src/cdrom/Makefile ...@@ -2247,6 +2247,7 @@ src/cdrom/Makefile
src/cdrom/aix/Makefile src/cdrom/aix/Makefile
src/cdrom/beos/Makefile src/cdrom/beos/Makefile
src/cdrom/dummy/Makefile src/cdrom/dummy/Makefile
src/cdrom/bsdi/Makefile
src/cdrom/freebsd/Makefile src/cdrom/freebsd/Makefile
src/cdrom/linux/Makefile src/cdrom/linux/Makefile
src/cdrom/macos/Makefile src/cdrom/macos/Makefile
......
...@@ -16,8 +16,10 @@ be found at the <A HREF="http://www.libsdl.org/"> main SDL page</A>. ...@@ -16,8 +16,10 @@ be found at the <A HREF="http://www.libsdl.org/"> main SDL page</A>.
Major changes since SDL 1.0.0: Major changes since SDL 1.0.0:
</H2> </H2>
<UL> <UL>
<LI> 1.2.3: Added CD-ROM support for BSD/OS (thanks Steven!)
<LI> 1.2.3: Added library version information to the Windows DLL <LI> 1.2.3: Added library version information to the Windows DLL
<LI> 1.2.3: Added initial support for EPOC/Symbian OS (thanks Hannu!) <LI> 1.2.3: Added initial support for EPOC/Symbian OS (thanks Hannu!)
<LI> 1.2.3: Added a joystick driver for MacOS X (thanks Max!)
<LI> 1.2.3: Improved MacOS X international keyboard handling <LI> 1.2.3: Improved MacOS X international keyboard handling
<LI> 1.2.3: Added support for DirectFB video on Linux (thanks Denis!) <LI> 1.2.3: Added support for DirectFB video on Linux (thanks Denis!)
<LI> 1.2.3: Fixed IDE and SCSI CD-ROM detection on BeOS (thanks Caz!) <LI> 1.2.3: Fixed IDE and SCSI CD-ROM detection on BeOS (thanks Caz!)
......
Makefile.in
Makefile
.libs
*.o
*.lo
*.la
## Makefile.am for the BSDi cdrom driver for SDL
noinst_LTLIBRARIES = libcdrom_bsdi.la
libcdrom_bsdi_la_SOURCES = $(SRCS)
# The SDL cdrom driver sources
SRCS = SDL_syscdrom.c
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment