Add efacf056cd
This commit is contained in:
101
dockerdoom/trunk/pcsound/.deps/pcsound.Po
Normal file
101
dockerdoom/trunk/pcsound/.deps/pcsound.Po
Normal file
@ -0,0 +1,101 @@
|
||||
pcsound.o: pcsound.c /usr/include/stdio.h /usr/include/features.h \
|
||||
/usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \
|
||||
/usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/stddef.h \
|
||||
/usr/include/bits/types.h /usr/include/bits/typesizes.h \
|
||||
/usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/stdarg.h \
|
||||
/usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
|
||||
/usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
|
||||
/usr/include/stdlib.h /usr/include/bits/waitflags.h \
|
||||
/usr/include/bits/waitstatus.h /usr/include/endian.h \
|
||||
/usr/include/bits/endian.h /usr/include/bits/byteswap.h \
|
||||
/usr/include/xlocale.h /usr/include/sys/types.h /usr/include/time.h \
|
||||
/usr/include/sys/select.h /usr/include/bits/select.h \
|
||||
/usr/include/bits/sigset.h /usr/include/bits/time.h \
|
||||
/usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \
|
||||
/usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/string.h \
|
||||
/usr/include/bits/string.h /usr/include/bits/string2.h \
|
||||
/usr/include/bits/string3.h ../config.h pcsound.h pcsound_internal.h
|
||||
|
||||
/usr/include/stdio.h:
|
||||
|
||||
/usr/include/features.h:
|
||||
|
||||
/usr/include/sys/cdefs.h:
|
||||
|
||||
/usr/include/bits/wordsize.h:
|
||||
|
||||
/usr/include/gnu/stubs.h:
|
||||
|
||||
/usr/include/gnu/stubs-64.h:
|
||||
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/stddef.h:
|
||||
|
||||
/usr/include/bits/types.h:
|
||||
|
||||
/usr/include/bits/typesizes.h:
|
||||
|
||||
/usr/include/libio.h:
|
||||
|
||||
/usr/include/_G_config.h:
|
||||
|
||||
/usr/include/wchar.h:
|
||||
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/stdarg.h:
|
||||
|
||||
/usr/include/bits/stdio_lim.h:
|
||||
|
||||
/usr/include/bits/sys_errlist.h:
|
||||
|
||||
/usr/include/bits/stdio.h:
|
||||
|
||||
/usr/include/bits/stdio2.h:
|
||||
|
||||
/usr/include/stdlib.h:
|
||||
|
||||
/usr/include/bits/waitflags.h:
|
||||
|
||||
/usr/include/bits/waitstatus.h:
|
||||
|
||||
/usr/include/endian.h:
|
||||
|
||||
/usr/include/bits/endian.h:
|
||||
|
||||
/usr/include/bits/byteswap.h:
|
||||
|
||||
/usr/include/xlocale.h:
|
||||
|
||||
/usr/include/sys/types.h:
|
||||
|
||||
/usr/include/time.h:
|
||||
|
||||
/usr/include/sys/select.h:
|
||||
|
||||
/usr/include/bits/select.h:
|
||||
|
||||
/usr/include/bits/sigset.h:
|
||||
|
||||
/usr/include/bits/time.h:
|
||||
|
||||
/usr/include/sys/sysmacros.h:
|
||||
|
||||
/usr/include/bits/pthreadtypes.h:
|
||||
|
||||
/usr/include/alloca.h:
|
||||
|
||||
/usr/include/bits/stdlib.h:
|
||||
|
||||
/usr/include/string.h:
|
||||
|
||||
/usr/include/bits/string.h:
|
||||
|
||||
/usr/include/bits/string2.h:
|
||||
|
||||
/usr/include/bits/string3.h:
|
||||
|
||||
../config.h:
|
||||
|
||||
pcsound.h:
|
||||
|
||||
pcsound_internal.h:
|
3
dockerdoom/trunk/pcsound/.deps/pcsound_bsd.Po
Normal file
3
dockerdoom/trunk/pcsound/.deps/pcsound_bsd.Po
Normal file
@ -0,0 +1,3 @@
|
||||
pcsound_bsd.o: pcsound_bsd.c ../config.h
|
||||
|
||||
../config.h:
|
280
dockerdoom/trunk/pcsound/.deps/pcsound_linux.Po
Normal file
280
dockerdoom/trunk/pcsound/.deps/pcsound_linux.Po
Normal file
@ -0,0 +1,280 @@
|
||||
pcsound_linux.o: pcsound_linux.c ../config.h /usr/include/stdio.h \
|
||||
/usr/include/features.h /usr/include/sys/cdefs.h \
|
||||
/usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
|
||||
/usr/include/gnu/stubs-64.h \
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/stddef.h \
|
||||
/usr/include/bits/types.h /usr/include/bits/typesizes.h \
|
||||
/usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/stdarg.h \
|
||||
/usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
|
||||
/usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
|
||||
/usr/include/stdlib.h /usr/include/bits/waitflags.h \
|
||||
/usr/include/bits/waitstatus.h /usr/include/endian.h \
|
||||
/usr/include/bits/endian.h /usr/include/bits/byteswap.h \
|
||||
/usr/include/xlocale.h /usr/include/sys/types.h /usr/include/time.h \
|
||||
/usr/include/sys/select.h /usr/include/bits/select.h \
|
||||
/usr/include/bits/sigset.h /usr/include/bits/time.h \
|
||||
/usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \
|
||||
/usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/string.h \
|
||||
/usr/include/bits/string.h /usr/include/bits/string2.h \
|
||||
/usr/include/bits/string3.h /usr/include/errno.h \
|
||||
/usr/include/bits/errno.h /usr/include/linux/errno.h \
|
||||
/usr/include/asm/errno.h /usr/include/asm-generic/errno.h \
|
||||
/usr/include/asm-generic/errno-base.h /usr/include/linux/kd.h \
|
||||
/usr/include/linux/types.h /usr/include/asm/types.h \
|
||||
/usr/include/asm-generic/types.h /usr/include/asm-generic/int-ll64.h \
|
||||
/usr/include/asm/bitsperlong.h /usr/include/asm-generic/bitsperlong.h \
|
||||
/usr/include/linux/posix_types.h /usr/include/linux/stddef.h \
|
||||
/usr/include/asm/posix_types.h /usr/include/asm/posix_types_64.h \
|
||||
/usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \
|
||||
/usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \
|
||||
/usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \
|
||||
/usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \
|
||||
/usr/include/sys/ttydefaults.h /usr/include/unistd.h \
|
||||
/usr/include/bits/posix_opt.h /usr/include/bits/environments.h \
|
||||
/usr/include/bits/confname.h /usr/include/getopt.h \
|
||||
/usr/include/bits/unistd.h /usr/include/fcntl.h \
|
||||
/usr/include/bits/fcntl.h /usr/include/bits/uio.h \
|
||||
/usr/include/bits/stat.h /usr/include/bits/fcntl2.h \
|
||||
/usr/include/SDL/SDL.h /usr/include/SDL/SDL_main.h \
|
||||
/usr/include/SDL/SDL_stdinc.h /usr/include/SDL/SDL_config.h \
|
||||
/usr/include/SDL/SDL_platform.h /usr/include/strings.h \
|
||||
/usr/include/inttypes.h \
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/stdint.h \
|
||||
/usr/include/stdint.h /usr/include/bits/wchar.h /usr/include/ctype.h \
|
||||
/usr/include/iconv.h /usr/include/SDL/begin_code.h \
|
||||
/usr/include/SDL/close_code.h /usr/include/SDL/SDL_audio.h \
|
||||
/usr/include/SDL/SDL_error.h /usr/include/SDL/SDL_endian.h \
|
||||
/usr/include/SDL/SDL_mutex.h /usr/include/SDL/SDL_thread.h \
|
||||
/usr/include/SDL/SDL_rwops.h /usr/include/SDL/SDL_cdrom.h \
|
||||
/usr/include/SDL/SDL_cpuinfo.h /usr/include/SDL/SDL_events.h \
|
||||
/usr/include/SDL/SDL_active.h /usr/include/SDL/SDL_keyboard.h \
|
||||
/usr/include/SDL/SDL_keysym.h /usr/include/SDL/SDL_mouse.h \
|
||||
/usr/include/SDL/SDL_video.h /usr/include/SDL/SDL_joystick.h \
|
||||
/usr/include/SDL/SDL_quit.h /usr/include/SDL/SDL_loadso.h \
|
||||
/usr/include/SDL/SDL_timer.h /usr/include/SDL/SDL_version.h \
|
||||
/usr/include/SDL/SDL_thread.h pcsound.h pcsound_internal.h
|
||||
|
||||
../config.h:
|
||||
|
||||
/usr/include/stdio.h:
|
||||
|
||||
/usr/include/features.h:
|
||||
|
||||
/usr/include/sys/cdefs.h:
|
||||
|
||||
/usr/include/bits/wordsize.h:
|
||||
|
||||
/usr/include/gnu/stubs.h:
|
||||
|
||||
/usr/include/gnu/stubs-64.h:
|
||||
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/stddef.h:
|
||||
|
||||
/usr/include/bits/types.h:
|
||||
|
||||
/usr/include/bits/typesizes.h:
|
||||
|
||||
/usr/include/libio.h:
|
||||
|
||||
/usr/include/_G_config.h:
|
||||
|
||||
/usr/include/wchar.h:
|
||||
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/stdarg.h:
|
||||
|
||||
/usr/include/bits/stdio_lim.h:
|
||||
|
||||
/usr/include/bits/sys_errlist.h:
|
||||
|
||||
/usr/include/bits/stdio.h:
|
||||
|
||||
/usr/include/bits/stdio2.h:
|
||||
|
||||
/usr/include/stdlib.h:
|
||||
|
||||
/usr/include/bits/waitflags.h:
|
||||
|
||||
/usr/include/bits/waitstatus.h:
|
||||
|
||||
/usr/include/endian.h:
|
||||
|
||||
/usr/include/bits/endian.h:
|
||||
|
||||
/usr/include/bits/byteswap.h:
|
||||
|
||||
/usr/include/xlocale.h:
|
||||
|
||||
/usr/include/sys/types.h:
|
||||
|
||||
/usr/include/time.h:
|
||||
|
||||
/usr/include/sys/select.h:
|
||||
|
||||
/usr/include/bits/select.h:
|
||||
|
||||
/usr/include/bits/sigset.h:
|
||||
|
||||
/usr/include/bits/time.h:
|
||||
|
||||
/usr/include/sys/sysmacros.h:
|
||||
|
||||
/usr/include/bits/pthreadtypes.h:
|
||||
|
||||
/usr/include/alloca.h:
|
||||
|
||||
/usr/include/bits/stdlib.h:
|
||||
|
||||
/usr/include/string.h:
|
||||
|
||||
/usr/include/bits/string.h:
|
||||
|
||||
/usr/include/bits/string2.h:
|
||||
|
||||
/usr/include/bits/string3.h:
|
||||
|
||||
/usr/include/errno.h:
|
||||
|
||||
/usr/include/bits/errno.h:
|
||||
|
||||
/usr/include/linux/errno.h:
|
||||
|
||||
/usr/include/asm/errno.h:
|
||||
|
||||
/usr/include/asm-generic/errno.h:
|
||||
|
||||
/usr/include/asm-generic/errno-base.h:
|
||||
|
||||
/usr/include/linux/kd.h:
|
||||
|
||||
/usr/include/linux/types.h:
|
||||
|
||||
/usr/include/asm/types.h:
|
||||
|
||||
/usr/include/asm-generic/types.h:
|
||||
|
||||
/usr/include/asm-generic/int-ll64.h:
|
||||
|
||||
/usr/include/asm/bitsperlong.h:
|
||||
|
||||
/usr/include/asm-generic/bitsperlong.h:
|
||||
|
||||
/usr/include/linux/posix_types.h:
|
||||
|
||||
/usr/include/linux/stddef.h:
|
||||
|
||||
/usr/include/asm/posix_types.h:
|
||||
|
||||
/usr/include/asm/posix_types_64.h:
|
||||
|
||||
/usr/include/sys/ioctl.h:
|
||||
|
||||
/usr/include/bits/ioctls.h:
|
||||
|
||||
/usr/include/asm/ioctls.h:
|
||||
|
||||
/usr/include/asm-generic/ioctls.h:
|
||||
|
||||
/usr/include/linux/ioctl.h:
|
||||
|
||||
/usr/include/asm/ioctl.h:
|
||||
|
||||
/usr/include/asm-generic/ioctl.h:
|
||||
|
||||
/usr/include/bits/ioctl-types.h:
|
||||
|
||||
/usr/include/sys/ttydefaults.h:
|
||||
|
||||
/usr/include/unistd.h:
|
||||
|
||||
/usr/include/bits/posix_opt.h:
|
||||
|
||||
/usr/include/bits/environments.h:
|
||||
|
||||
/usr/include/bits/confname.h:
|
||||
|
||||
/usr/include/getopt.h:
|
||||
|
||||
/usr/include/bits/unistd.h:
|
||||
|
||||
/usr/include/fcntl.h:
|
||||
|
||||
/usr/include/bits/fcntl.h:
|
||||
|
||||
/usr/include/bits/uio.h:
|
||||
|
||||
/usr/include/bits/stat.h:
|
||||
|
||||
/usr/include/bits/fcntl2.h:
|
||||
|
||||
/usr/include/SDL/SDL.h:
|
||||
|
||||
/usr/include/SDL/SDL_main.h:
|
||||
|
||||
/usr/include/SDL/SDL_stdinc.h:
|
||||
|
||||
/usr/include/SDL/SDL_config.h:
|
||||
|
||||
/usr/include/SDL/SDL_platform.h:
|
||||
|
||||
/usr/include/strings.h:
|
||||
|
||||
/usr/include/inttypes.h:
|
||||
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/stdint.h:
|
||||
|
||||
/usr/include/stdint.h:
|
||||
|
||||
/usr/include/bits/wchar.h:
|
||||
|
||||
/usr/include/ctype.h:
|
||||
|
||||
/usr/include/iconv.h:
|
||||
|
||||
/usr/include/SDL/begin_code.h:
|
||||
|
||||
/usr/include/SDL/close_code.h:
|
||||
|
||||
/usr/include/SDL/SDL_audio.h:
|
||||
|
||||
/usr/include/SDL/SDL_error.h:
|
||||
|
||||
/usr/include/SDL/SDL_endian.h:
|
||||
|
||||
/usr/include/SDL/SDL_mutex.h:
|
||||
|
||||
/usr/include/SDL/SDL_thread.h:
|
||||
|
||||
/usr/include/SDL/SDL_rwops.h:
|
||||
|
||||
/usr/include/SDL/SDL_cdrom.h:
|
||||
|
||||
/usr/include/SDL/SDL_cpuinfo.h:
|
||||
|
||||
/usr/include/SDL/SDL_events.h:
|
||||
|
||||
/usr/include/SDL/SDL_active.h:
|
||||
|
||||
/usr/include/SDL/SDL_keyboard.h:
|
||||
|
||||
/usr/include/SDL/SDL_keysym.h:
|
||||
|
||||
/usr/include/SDL/SDL_mouse.h:
|
||||
|
||||
/usr/include/SDL/SDL_video.h:
|
||||
|
||||
/usr/include/SDL/SDL_joystick.h:
|
||||
|
||||
/usr/include/SDL/SDL_quit.h:
|
||||
|
||||
/usr/include/SDL/SDL_loadso.h:
|
||||
|
||||
/usr/include/SDL/SDL_timer.h:
|
||||
|
||||
/usr/include/SDL/SDL_version.h:
|
||||
|
||||
/usr/include/SDL/SDL_thread.h:
|
||||
|
||||
pcsound.h:
|
||||
|
||||
pcsound_internal.h:
|
187
dockerdoom/trunk/pcsound/.deps/pcsound_sdl.Po
Normal file
187
dockerdoom/trunk/pcsound/.deps/pcsound_sdl.Po
Normal file
@ -0,0 +1,187 @@
|
||||
pcsound_sdl.o: pcsound_sdl.c /usr/include/stdio.h /usr/include/features.h \
|
||||
/usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \
|
||||
/usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/stddef.h \
|
||||
/usr/include/bits/types.h /usr/include/bits/typesizes.h \
|
||||
/usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/stdarg.h \
|
||||
/usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
|
||||
/usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
|
||||
/usr/include/stdlib.h /usr/include/bits/waitflags.h \
|
||||
/usr/include/bits/waitstatus.h /usr/include/endian.h \
|
||||
/usr/include/bits/endian.h /usr/include/bits/byteswap.h \
|
||||
/usr/include/xlocale.h /usr/include/sys/types.h /usr/include/time.h \
|
||||
/usr/include/sys/select.h /usr/include/bits/select.h \
|
||||
/usr/include/bits/sigset.h /usr/include/bits/time.h \
|
||||
/usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \
|
||||
/usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/SDL/SDL.h \
|
||||
/usr/include/SDL/SDL_main.h /usr/include/SDL/SDL_stdinc.h \
|
||||
/usr/include/SDL/SDL_config.h /usr/include/SDL/SDL_platform.h \
|
||||
/usr/include/string.h /usr/include/bits/string.h \
|
||||
/usr/include/bits/string2.h /usr/include/bits/string3.h \
|
||||
/usr/include/strings.h /usr/include/inttypes.h \
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/stdint.h \
|
||||
/usr/include/stdint.h /usr/include/bits/wchar.h /usr/include/ctype.h \
|
||||
/usr/include/iconv.h /usr/include/SDL/begin_code.h \
|
||||
/usr/include/SDL/close_code.h /usr/include/SDL/SDL_audio.h \
|
||||
/usr/include/SDL/SDL_error.h /usr/include/SDL/SDL_endian.h \
|
||||
/usr/include/SDL/SDL_mutex.h /usr/include/SDL/SDL_thread.h \
|
||||
/usr/include/SDL/SDL_rwops.h /usr/include/SDL/SDL_cdrom.h \
|
||||
/usr/include/SDL/SDL_cpuinfo.h /usr/include/SDL/SDL_events.h \
|
||||
/usr/include/SDL/SDL_active.h /usr/include/SDL/SDL_keyboard.h \
|
||||
/usr/include/SDL/SDL_keysym.h /usr/include/SDL/SDL_mouse.h \
|
||||
/usr/include/SDL/SDL_video.h /usr/include/SDL/SDL_joystick.h \
|
||||
/usr/include/SDL/SDL_quit.h /usr/include/SDL/SDL_loadso.h \
|
||||
/usr/include/SDL/SDL_timer.h /usr/include/SDL/SDL_version.h \
|
||||
/usr/include/SDL/SDL_mixer.h /usr/include/SDL/SDL_types.h pcsound.h \
|
||||
pcsound_internal.h
|
||||
|
||||
/usr/include/stdio.h:
|
||||
|
||||
/usr/include/features.h:
|
||||
|
||||
/usr/include/sys/cdefs.h:
|
||||
|
||||
/usr/include/bits/wordsize.h:
|
||||
|
||||
/usr/include/gnu/stubs.h:
|
||||
|
||||
/usr/include/gnu/stubs-64.h:
|
||||
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/stddef.h:
|
||||
|
||||
/usr/include/bits/types.h:
|
||||
|
||||
/usr/include/bits/typesizes.h:
|
||||
|
||||
/usr/include/libio.h:
|
||||
|
||||
/usr/include/_G_config.h:
|
||||
|
||||
/usr/include/wchar.h:
|
||||
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/stdarg.h:
|
||||
|
||||
/usr/include/bits/stdio_lim.h:
|
||||
|
||||
/usr/include/bits/sys_errlist.h:
|
||||
|
||||
/usr/include/bits/stdio.h:
|
||||
|
||||
/usr/include/bits/stdio2.h:
|
||||
|
||||
/usr/include/stdlib.h:
|
||||
|
||||
/usr/include/bits/waitflags.h:
|
||||
|
||||
/usr/include/bits/waitstatus.h:
|
||||
|
||||
/usr/include/endian.h:
|
||||
|
||||
/usr/include/bits/endian.h:
|
||||
|
||||
/usr/include/bits/byteswap.h:
|
||||
|
||||
/usr/include/xlocale.h:
|
||||
|
||||
/usr/include/sys/types.h:
|
||||
|
||||
/usr/include/time.h:
|
||||
|
||||
/usr/include/sys/select.h:
|
||||
|
||||
/usr/include/bits/select.h:
|
||||
|
||||
/usr/include/bits/sigset.h:
|
||||
|
||||
/usr/include/bits/time.h:
|
||||
|
||||
/usr/include/sys/sysmacros.h:
|
||||
|
||||
/usr/include/bits/pthreadtypes.h:
|
||||
|
||||
/usr/include/alloca.h:
|
||||
|
||||
/usr/include/bits/stdlib.h:
|
||||
|
||||
/usr/include/SDL/SDL.h:
|
||||
|
||||
/usr/include/SDL/SDL_main.h:
|
||||
|
||||
/usr/include/SDL/SDL_stdinc.h:
|
||||
|
||||
/usr/include/SDL/SDL_config.h:
|
||||
|
||||
/usr/include/SDL/SDL_platform.h:
|
||||
|
||||
/usr/include/string.h:
|
||||
|
||||
/usr/include/bits/string.h:
|
||||
|
||||
/usr/include/bits/string2.h:
|
||||
|
||||
/usr/include/bits/string3.h:
|
||||
|
||||
/usr/include/strings.h:
|
||||
|
||||
/usr/include/inttypes.h:
|
||||
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/stdint.h:
|
||||
|
||||
/usr/include/stdint.h:
|
||||
|
||||
/usr/include/bits/wchar.h:
|
||||
|
||||
/usr/include/ctype.h:
|
||||
|
||||
/usr/include/iconv.h:
|
||||
|
||||
/usr/include/SDL/begin_code.h:
|
||||
|
||||
/usr/include/SDL/close_code.h:
|
||||
|
||||
/usr/include/SDL/SDL_audio.h:
|
||||
|
||||
/usr/include/SDL/SDL_error.h:
|
||||
|
||||
/usr/include/SDL/SDL_endian.h:
|
||||
|
||||
/usr/include/SDL/SDL_mutex.h:
|
||||
|
||||
/usr/include/SDL/SDL_thread.h:
|
||||
|
||||
/usr/include/SDL/SDL_rwops.h:
|
||||
|
||||
/usr/include/SDL/SDL_cdrom.h:
|
||||
|
||||
/usr/include/SDL/SDL_cpuinfo.h:
|
||||
|
||||
/usr/include/SDL/SDL_events.h:
|
||||
|
||||
/usr/include/SDL/SDL_active.h:
|
||||
|
||||
/usr/include/SDL/SDL_keyboard.h:
|
||||
|
||||
/usr/include/SDL/SDL_keysym.h:
|
||||
|
||||
/usr/include/SDL/SDL_mouse.h:
|
||||
|
||||
/usr/include/SDL/SDL_video.h:
|
||||
|
||||
/usr/include/SDL/SDL_joystick.h:
|
||||
|
||||
/usr/include/SDL/SDL_quit.h:
|
||||
|
||||
/usr/include/SDL/SDL_loadso.h:
|
||||
|
||||
/usr/include/SDL/SDL_timer.h:
|
||||
|
||||
/usr/include/SDL/SDL_version.h:
|
||||
|
||||
/usr/include/SDL/SDL_mixer.h:
|
||||
|
||||
/usr/include/SDL/SDL_types.h:
|
||||
|
||||
pcsound.h:
|
||||
|
||||
pcsound_internal.h:
|
1
dockerdoom/trunk/pcsound/.deps/pcsound_win32.Po
Normal file
1
dockerdoom/trunk/pcsound/.deps/pcsound_win32.Po
Normal file
@ -0,0 +1 @@
|
||||
pcsound_win32.o: pcsound_win32.c
|
447
dockerdoom/trunk/pcsound/Makefile
Normal file
447
dockerdoom/trunk/pcsound/Makefile
Normal file
@ -0,0 +1,447 @@
|
||||
# Makefile.in generated by automake 1.11.1 from Makefile.am.
|
||||
# pcsound/Makefile. Generated from Makefile.in by configure.
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
||||
# Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
|
||||
|
||||
pkgdatadir = $(datadir)/psdoom
|
||||
pkgincludedir = $(includedir)/psdoom
|
||||
pkglibdir = $(libdir)/psdoom
|
||||
pkglibexecdir = $(libexecdir)/psdoom
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
subdir = pcsound
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/configure.in
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
LIBRARIES = $(noinst_LIBRARIES)
|
||||
AR = ar
|
||||
ARFLAGS = cru
|
||||
libpcsound_a_AR = $(AR) $(ARFLAGS)
|
||||
libpcsound_a_LIBADD =
|
||||
am_libpcsound_a_OBJECTS = pcsound.$(OBJEXT) pcsound_bsd.$(OBJEXT) \
|
||||
pcsound_sdl.$(OBJEXT) pcsound_linux.$(OBJEXT) \
|
||||
pcsound_win32.$(OBJEXT)
|
||||
libpcsound_a_OBJECTS = $(am_libpcsound_a_OBJECTS)
|
||||
DEFAULT_INCLUDES = -I. -I$(top_builddir)
|
||||
depcomp = $(SHELL) $(top_srcdir)/autotools/depcomp
|
||||
am__depfiles_maybe = depfiles
|
||||
am__mv = mv -f
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
SOURCES = $(libpcsound_a_SOURCES)
|
||||
DIST_SOURCES = $(libpcsound_a_SOURCES)
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = ${SHELL} /home/orson/Downloads/chocolate-doom-1.6.0/autotools/missing --run aclocal-1.11
|
||||
AMTAR = ${SHELL} /home/orson/Downloads/chocolate-doom-1.6.0/autotools/missing --run tar
|
||||
AUTOCONF = ${SHELL} /home/orson/Downloads/chocolate-doom-1.6.0/autotools/missing --run autoconf
|
||||
AUTOHEADER = ${SHELL} /home/orson/Downloads/chocolate-doom-1.6.0/autotools/missing --run autoheader
|
||||
AUTOMAKE = ${SHELL} /home/orson/Downloads/chocolate-doom-1.6.0/autotools/missing --run automake-1.11
|
||||
AWK = gawk
|
||||
CC = gcc
|
||||
CCDEPMODE = depmode=gcc3
|
||||
CFLAGS = -O2 -g -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
|
||||
CPP = gcc -E
|
||||
CPPFLAGS =
|
||||
CYGPATH_W = echo
|
||||
DEFS = -DHAVE_CONFIG_H
|
||||
DEPDIR = .deps
|
||||
ECHO_C =
|
||||
ECHO_N = -n
|
||||
ECHO_T =
|
||||
EGREP = /bin/grep -E
|
||||
EXEEXT =
|
||||
GREP = /bin/grep
|
||||
HAVE_PYTHON = true
|
||||
INSTALL = /usr/bin/install -c
|
||||
INSTALL_DATA = ${INSTALL} -m 644
|
||||
INSTALL_PROGRAM = ${INSTALL}
|
||||
INSTALL_SCRIPT = ${INSTALL}
|
||||
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
|
||||
LDFLAGS = -lSDL -lpthread
|
||||
LIBOBJS =
|
||||
LIBS = -lm
|
||||
LTLIBOBJS =
|
||||
MAKEINFO = ${SHELL} /home/orson/Downloads/chocolate-doom-1.6.0/autotools/missing --run makeinfo
|
||||
MKDIR_P = /bin/mkdir -p
|
||||
OBJEXT = o
|
||||
PACKAGE = psdoom
|
||||
PACKAGE_BUGREPORT = orsonteodoro@yahoo.com
|
||||
PACKAGE_COPYRIGHT = Copyright (C) 1993-2012
|
||||
PACKAGE_LICENSE = GNU General Public License, version 2
|
||||
PACKAGE_MAINTAINER = Orson Teodoro
|
||||
PACKAGE_NAME = psdoom
|
||||
PACKAGE_SHORTDESC = psdoom-ng source port - psDooM with Chocolate Doom
|
||||
PACKAGE_STRING = psdoom 2012.02.05-1.6.0
|
||||
PACKAGE_TARNAME = psdoom
|
||||
PACKAGE_URL = https://github.com/orsonteodoro/psdoom-ng/
|
||||
PACKAGE_VERSION = 2012.02.05-1.6.0
|
||||
PATH_SEPARATOR = :
|
||||
PROGRAM_PREFIX = ps
|
||||
RANLIB = ranlib
|
||||
SDLMIXER_CFLAGS =
|
||||
SDLMIXER_LIBS = -lSDL_mixer
|
||||
SDLNET_CFLAGS =
|
||||
SDLNET_LIBS = -lSDL_net
|
||||
SDL_CFLAGS = -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
|
||||
SDL_CONFIG = /usr/bin/sdl-config
|
||||
SDL_LIBS = -lSDL -lpthread
|
||||
SET_MAKE =
|
||||
SHELL = /bin/sh
|
||||
STRIP = strip
|
||||
VERSION = 2012.02.05-1.6.0
|
||||
WINDOWS_RC_VERSION = 2012, 02, 05-1, 6, 0, 0
|
||||
WINDRES =
|
||||
abs_builddir = /home/orson/Downloads/chocolate-doom-1.6.0/pcsound
|
||||
abs_srcdir = /home/orson/Downloads/chocolate-doom-1.6.0/pcsound
|
||||
abs_top_builddir = /home/orson/Downloads/chocolate-doom-1.6.0
|
||||
abs_top_srcdir = /home/orson/Downloads/chocolate-doom-1.6.0
|
||||
ac_aux_dir = autotools
|
||||
ac_ct_CC = gcc
|
||||
am__include = include
|
||||
am__leading_dot = .
|
||||
am__quote =
|
||||
am__tar = ${AMTAR} chof - "$$tardir"
|
||||
am__untar = ${AMTAR} xf -
|
||||
bindir = ${exec_prefix}/bin
|
||||
build_alias =
|
||||
builddir = .
|
||||
datadir = ${datarootdir}
|
||||
datarootdir = ${prefix}/share
|
||||
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
|
||||
dvidir = ${docdir}
|
||||
exec_prefix = ${prefix}
|
||||
host_alias =
|
||||
htmldir = ${docdir}
|
||||
includedir = ${prefix}/include
|
||||
infodir = ${datarootdir}/info
|
||||
install_sh = ${SHELL} /home/orson/Downloads/chocolate-doom-1.6.0/autotools/install-sh
|
||||
libdir = ${exec_prefix}/lib
|
||||
libexecdir = ${exec_prefix}/libexec
|
||||
localedir = ${datarootdir}/locale
|
||||
localstatedir = ${prefix}/var
|
||||
mandir = ${datarootdir}/man
|
||||
mkdir_p = /bin/mkdir -p
|
||||
oldincludedir = /usr/include
|
||||
pdfdir = ${docdir}
|
||||
prefix = /usr/local
|
||||
program_transform_name = s,x,x,
|
||||
psdir = ${docdir}
|
||||
sbindir = ${exec_prefix}/sbin
|
||||
sharedstatedir = ${prefix}/com
|
||||
srcdir = .
|
||||
sysconfdir = ${prefix}/etc
|
||||
target_alias =
|
||||
top_build_prefix = ../
|
||||
top_builddir = ..
|
||||
top_srcdir = ..
|
||||
AM_CFLAGS =
|
||||
noinst_LIBRARIES = libpcsound.a
|
||||
libpcsound_a_SOURCES = \
|
||||
pcsound.c pcsound.h \
|
||||
pcsound_bsd.c \
|
||||
pcsound_sdl.c \
|
||||
pcsound_linux.c \
|
||||
pcsound_win32.c \
|
||||
pcsound_internal.h
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .obj
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu pcsound/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu pcsound/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(am__aclocal_m4_deps):
|
||||
|
||||
clean-noinstLIBRARIES:
|
||||
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
||||
libpcsound.a: $(libpcsound_a_OBJECTS) $(libpcsound_a_DEPENDENCIES)
|
||||
-rm -f libpcsound.a
|
||||
$(libpcsound_a_AR) libpcsound.a $(libpcsound_a_OBJECTS) $(libpcsound_a_LIBADD)
|
||||
$(RANLIB) libpcsound.a
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
|
||||
include ./$(DEPDIR)/pcsound.Po
|
||||
include ./$(DEPDIR)/pcsound_bsd.Po
|
||||
include ./$(DEPDIR)/pcsound_linux.Po
|
||||
include ./$(DEPDIR)/pcsound_sdl.Po
|
||||
include ./$(DEPDIR)/pcsound_win32.Po
|
||||
|
||||
.c.o:
|
||||
$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||
$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
# source='$<' object='$@' libtool=no \
|
||||
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
|
||||
# $(COMPILE) -c $<
|
||||
|
||||
.c.obj:
|
||||
$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
# source='$<' object='$@' libtool=no \
|
||||
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
|
||||
# $(COMPILE) -c `$(CYGPATH_W) '$<'`
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
mkid -fID $$unique
|
||||
tags: TAGS
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
set x; \
|
||||
here=`pwd`; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
shift; \
|
||||
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
if test $$# -gt 0; then \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
"$$@" $$unique; \
|
||||
else \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$unique; \
|
||||
fi; \
|
||||
fi
|
||||
ctags: CTAGS
|
||||
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& $(am__cd) $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(LIBRARIES)
|
||||
installdirs:
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-compile distclean-generic \
|
||||
distclean-tags
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-am
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am:
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
|
||||
clean-noinstLIBRARIES ctags distclean distclean-compile \
|
||||
distclean-generic distclean-tags distdir dvi dvi-am html \
|
||||
html-am info info-am install install-am install-data \
|
||||
install-data-am install-dvi install-dvi-am install-exec \
|
||||
install-exec-am install-html install-html-am install-info \
|
||||
install-info-am install-man install-pdf install-pdf-am \
|
||||
install-ps install-ps-am install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
|
||||
uninstall-am
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
13
dockerdoom/trunk/pcsound/Makefile.am
Normal file
13
dockerdoom/trunk/pcsound/Makefile.am
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
AM_CFLAGS=@SDLMIXER_CFLAGS@
|
||||
|
||||
noinst_LIBRARIES=libpcsound.a
|
||||
|
||||
libpcsound_a_SOURCES = \
|
||||
pcsound.c pcsound.h \
|
||||
pcsound_bsd.c \
|
||||
pcsound_sdl.c \
|
||||
pcsound_linux.c \
|
||||
pcsound_win32.c \
|
||||
pcsound_internal.h
|
||||
|
447
dockerdoom/trunk/pcsound/Makefile.in
Normal file
447
dockerdoom/trunk/pcsound/Makefile.in
Normal file
@ -0,0 +1,447 @@
|
||||
# Makefile.in generated by automake 1.11.1 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
||||
# Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
subdir = pcsound
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/configure.in
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
LIBRARIES = $(noinst_LIBRARIES)
|
||||
AR = ar
|
||||
ARFLAGS = cru
|
||||
libpcsound_a_AR = $(AR) $(ARFLAGS)
|
||||
libpcsound_a_LIBADD =
|
||||
am_libpcsound_a_OBJECTS = pcsound.$(OBJEXT) pcsound_bsd.$(OBJEXT) \
|
||||
pcsound_sdl.$(OBJEXT) pcsound_linux.$(OBJEXT) \
|
||||
pcsound_win32.$(OBJEXT)
|
||||
libpcsound_a_OBJECTS = $(am_libpcsound_a_OBJECTS)
|
||||
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
|
||||
depcomp = $(SHELL) $(top_srcdir)/autotools/depcomp
|
||||
am__depfiles_maybe = depfiles
|
||||
am__mv = mv -f
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
SOURCES = $(libpcsound_a_SOURCES)
|
||||
DIST_SOURCES = $(libpcsound_a_SOURCES)
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
GREP = @GREP@
|
||||
HAVE_PYTHON = @HAVE_PYTHON@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_COPYRIGHT = @PACKAGE_COPYRIGHT@
|
||||
PACKAGE_LICENSE = @PACKAGE_LICENSE@
|
||||
PACKAGE_MAINTAINER = @PACKAGE_MAINTAINER@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_SHORTDESC = @PACKAGE_SHORTDESC@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PROGRAM_PREFIX = @PROGRAM_PREFIX@
|
||||
RANLIB = @RANLIB@
|
||||
SDLMIXER_CFLAGS = @SDLMIXER_CFLAGS@
|
||||
SDLMIXER_LIBS = @SDLMIXER_LIBS@
|
||||
SDLNET_CFLAGS = @SDLNET_CFLAGS@
|
||||
SDLNET_LIBS = @SDLNET_LIBS@
|
||||
SDL_CFLAGS = @SDL_CFLAGS@
|
||||
SDL_CONFIG = @SDL_CONFIG@
|
||||
SDL_LIBS = @SDL_LIBS@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
VERSION = @VERSION@
|
||||
WINDOWS_RC_VERSION = @WINDOWS_RC_VERSION@
|
||||
WINDRES = @WINDRES@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_aux_dir = @ac_aux_dir@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build_alias = @build_alias@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host_alias = @host_alias@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
AM_CFLAGS = @SDLMIXER_CFLAGS@
|
||||
noinst_LIBRARIES = libpcsound.a
|
||||
libpcsound_a_SOURCES = \
|
||||
pcsound.c pcsound.h \
|
||||
pcsound_bsd.c \
|
||||
pcsound_sdl.c \
|
||||
pcsound_linux.c \
|
||||
pcsound_win32.c \
|
||||
pcsound_internal.h
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .obj
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu pcsound/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu pcsound/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(am__aclocal_m4_deps):
|
||||
|
||||
clean-noinstLIBRARIES:
|
||||
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
||||
libpcsound.a: $(libpcsound_a_OBJECTS) $(libpcsound_a_DEPENDENCIES)
|
||||
-rm -f libpcsound.a
|
||||
$(libpcsound_a_AR) libpcsound.a $(libpcsound_a_OBJECTS) $(libpcsound_a_LIBADD)
|
||||
$(RANLIB) libpcsound.a
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcsound.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcsound_bsd.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcsound_linux.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcsound_sdl.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcsound_win32.Po@am__quote@
|
||||
|
||||
.c.o:
|
||||
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(COMPILE) -c $<
|
||||
|
||||
.c.obj:
|
||||
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
mkid -fID $$unique
|
||||
tags: TAGS
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
set x; \
|
||||
here=`pwd`; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
shift; \
|
||||
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
if test $$# -gt 0; then \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
"$$@" $$unique; \
|
||||
else \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$unique; \
|
||||
fi; \
|
||||
fi
|
||||
ctags: CTAGS
|
||||
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& $(am__cd) $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(LIBRARIES)
|
||||
installdirs:
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-compile distclean-generic \
|
||||
distclean-tags
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-am
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am:
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
|
||||
clean-noinstLIBRARIES ctags distclean distclean-compile \
|
||||
distclean-generic distclean-tags distdir dvi dvi-am html \
|
||||
html-am info info-am install install-am install-data \
|
||||
install-data-am install-dvi install-dvi-am install-exec \
|
||||
install-exec-am install-html install-html-am install-info \
|
||||
install-info-am install-man install-pdf install-pdf-am \
|
||||
install-ps install-ps-am install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
|
||||
uninstall-am
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
150
dockerdoom/trunk/pcsound/pcsound.c
Normal file
150
dockerdoom/trunk/pcsound/pcsound.c
Normal file
@ -0,0 +1,150 @@
|
||||
// Emacs style mode select -*- C++ -*-
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// Copyright(C) 2007 Simon Howard
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
// as published by the Free Software Foundation; either version 2
|
||||
// of the License, or (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
// 02111-1307, USA.
|
||||
//
|
||||
// DESCRIPTION:
|
||||
// PC speaker interface.
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef _WIN32_WCE
|
||||
#include "libc_wince.h"
|
||||
#endif
|
||||
|
||||
#include "config.h"
|
||||
#include "pcsound.h"
|
||||
#include "pcsound_internal.h"
|
||||
|
||||
|
||||
#ifdef HAVE_DEV_ISA_SPKRIO_H
|
||||
#define HAVE_BSD_SPEAKER
|
||||
#endif
|
||||
#ifdef HAVE_DEV_SPEAKER_SPEAKER_H
|
||||
#define HAVE_BSD_SPEAKER
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
extern pcsound_driver_t pcsound_win32_driver;
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_BSD_SPEAKER
|
||||
extern pcsound_driver_t pcsound_bsd_driver;
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LINUX_KD_H
|
||||
extern pcsound_driver_t pcsound_linux_driver;
|
||||
#endif
|
||||
|
||||
extern pcsound_driver_t pcsound_sdl_driver;
|
||||
|
||||
static pcsound_driver_t *drivers[] =
|
||||
{
|
||||
#ifdef HAVE_LINUX_KD_H
|
||||
&pcsound_linux_driver,
|
||||
#endif
|
||||
#ifdef HAVE_BSD_SPEAKER
|
||||
&pcsound_bsd_driver,
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
&pcsound_win32_driver,
|
||||
#endif
|
||||
&pcsound_sdl_driver,
|
||||
NULL,
|
||||
};
|
||||
|
||||
static pcsound_driver_t *pcsound_driver = NULL;
|
||||
|
||||
int pcsound_sample_rate;
|
||||
|
||||
void PCSound_SetSampleRate(int rate)
|
||||
{
|
||||
pcsound_sample_rate = rate;
|
||||
}
|
||||
|
||||
int PCSound_Init(pcsound_callback_func callback_func)
|
||||
{
|
||||
char *driver_name;
|
||||
int i;
|
||||
|
||||
if (pcsound_driver != NULL)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Check if the environment variable is set
|
||||
|
||||
driver_name = getenv("PCSOUND_DRIVER");
|
||||
|
||||
if (driver_name != NULL)
|
||||
{
|
||||
for (i=0; drivers[i] != NULL; ++i)
|
||||
{
|
||||
if (!strcmp(drivers[i]->name, driver_name))
|
||||
{
|
||||
// Found the driver!
|
||||
|
||||
if (drivers[i]->init_func(callback_func))
|
||||
{
|
||||
pcsound_driver = drivers[i];
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("Failed to initialize PC sound driver: %s\n",
|
||||
drivers[i]->name);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Try all drivers until we find a working one
|
||||
|
||||
for (i=0; drivers[i] != NULL; ++i)
|
||||
{
|
||||
if (drivers[i]->init_func(callback_func))
|
||||
{
|
||||
pcsound_driver = drivers[i];
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (pcsound_driver != NULL)
|
||||
{
|
||||
printf("Using PC sound driver: %s\n", pcsound_driver->name);
|
||||
return 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("Failed to find a working PC sound driver.\n");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
void PCSound_Shutdown(void)
|
||||
{
|
||||
pcsound_driver->shutdown_func();
|
||||
pcsound_driver = NULL;
|
||||
}
|
||||
|
46
dockerdoom/trunk/pcsound/pcsound.h
Normal file
46
dockerdoom/trunk/pcsound/pcsound.h
Normal file
@ -0,0 +1,46 @@
|
||||
// Emacs style mode select -*- C++ -*-
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// Copyright(C) 2007 Simon Howard
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
// as published by the Free Software Foundation; either version 2
|
||||
// of the License, or (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
// 02111-1307, USA.
|
||||
//
|
||||
// DESCRIPTION:
|
||||
// PC speaker interface.
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef PCSOUND_H
|
||||
#define PCSOUND_H
|
||||
|
||||
typedef void (*pcsound_callback_func)(int *duration, int *frequency);
|
||||
|
||||
// Initialise the PC speaker subsystem. The given function is called
|
||||
// periodically to request more sound data to play.
|
||||
|
||||
int PCSound_Init(pcsound_callback_func callback_func);
|
||||
|
||||
// Shut down the PC speaker subsystem.
|
||||
|
||||
void PCSound_Shutdown(void);
|
||||
|
||||
// Set the preferred output sample rate when emulating a PC speaker.
|
||||
// This must be called before PCSound_Init.
|
||||
|
||||
void PCSound_SetSampleRate(int rate);
|
||||
|
||||
#endif /* #ifndef PCSOUND_H */
|
||||
|
327
dockerdoom/trunk/pcsound/pcsound_bsd.c
Normal file
327
dockerdoom/trunk/pcsound/pcsound_bsd.c
Normal file
@ -0,0 +1,327 @@
|
||||
// Emacs style mode select -*- C++ -*-
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// Copyright(C) 2007 Simon Howard
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
// as published by the Free Software Foundation; either version 2
|
||||
// of the License, or (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
// 02111-1307, USA.
|
||||
//
|
||||
// DESCRIPTION:
|
||||
// PC speaker driver for [Open]BSD
|
||||
// (Should be NetBSD as well, but untested).
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#include "config.h"
|
||||
|
||||
// OpenBSD/NetBSD:
|
||||
|
||||
#ifdef HAVE_DEV_ISA_SPKRIO_H
|
||||
#define HAVE_BSD_SPEAKER
|
||||
#include <dev/isa/spkrio.h>
|
||||
#endif
|
||||
|
||||
// FreeBSD
|
||||
|
||||
#ifdef HAVE_DEV_SPEAKER_SPEAKER_H
|
||||
#define HAVE_BSD_SPEAKER
|
||||
#include <dev/speaker/speaker.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_BSD_SPEAKER
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/signal.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "SDL.h"
|
||||
#include "SDL_thread.h"
|
||||
|
||||
#include "pcsound.h"
|
||||
#include "pcsound_internal.h"
|
||||
|
||||
#define SPEAKER_DEVICE "/dev/speaker"
|
||||
|
||||
//
|
||||
// This driver is far more complicated than it should be, because
|
||||
// OpenBSD has sucky support for threads. Because multithreading
|
||||
// is done in userspace, invoking the ioctl to make the speaker
|
||||
// beep will lock all threads until the beep has completed.
|
||||
//
|
||||
// Thus, to get the beeping to occur in real-time, we must invoke
|
||||
// the ioctl in a separate process. To do this, a separate
|
||||
// sound server is forked that listens on a socket for tones to
|
||||
// play. When a tone is received, a reply is sent back to the
|
||||
// main process and the tone played.
|
||||
//
|
||||
// Meanwhile, back in the main process, there is a sound thread
|
||||
// that runs, invoking the pcsound callback function to get
|
||||
// more tones. This blocks on the sound server socket, waiting
|
||||
// for replies. In this way, when the sound server finishes
|
||||
// playing a tone, the next one is sent.
|
||||
//
|
||||
// This driver is a bit less accurate than the others, because
|
||||
// we can only specify sound durations in 1/100ths of a second,
|
||||
// as opposed to the normal millisecond durations.
|
||||
|
||||
static pcsound_callback_func callback;
|
||||
static int sound_server_pid;
|
||||
static int sleep_adjust = 0;
|
||||
static int sound_thread_running;
|
||||
static SDL_Thread *sound_thread_handle;
|
||||
static int sound_server_pipe[2];
|
||||
|
||||
// Play a sound, checking how long the system call takes to complete
|
||||
// and autoadjusting for drift.
|
||||
|
||||
static void AdjustedBeep(int speaker_handle, int ms, int freq)
|
||||
{
|
||||
unsigned int start_time;
|
||||
unsigned int end_time;
|
||||
unsigned int actual_time;
|
||||
tone_t tone;
|
||||
|
||||
// Adjust based on previous error to keep the tempo right
|
||||
|
||||
if (sleep_adjust > ms)
|
||||
{
|
||||
sleep_adjust -= ms;
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
ms -= sleep_adjust;
|
||||
}
|
||||
|
||||
// Invoke the system call and time how long it takes
|
||||
|
||||
start_time = SDL_GetTicks();
|
||||
|
||||
tone.duration = ms / 10; // in 100ths of a second
|
||||
tone.frequency = freq;
|
||||
|
||||
// Always a positive duration
|
||||
|
||||
if (tone.duration < 1)
|
||||
{
|
||||
tone.duration = 1;
|
||||
}
|
||||
|
||||
if (ioctl(speaker_handle, SPKRTONE, &tone) != 0)
|
||||
{
|
||||
perror("ioctl");
|
||||
return;
|
||||
}
|
||||
|
||||
end_time = SDL_GetTicks();
|
||||
|
||||
if (end_time > start_time)
|
||||
{
|
||||
actual_time = end_time - start_time;
|
||||
}
|
||||
else
|
||||
{
|
||||
actual_time = ms;
|
||||
}
|
||||
|
||||
if (actual_time < ms)
|
||||
{
|
||||
actual_time = ms;
|
||||
}
|
||||
|
||||
// Save sleep_adjust for next time
|
||||
|
||||
sleep_adjust = actual_time - ms;
|
||||
}
|
||||
|
||||
static void SoundServer(int speaker_handle)
|
||||
{
|
||||
tone_t tone;
|
||||
int result;
|
||||
|
||||
// Run in a loop, invoking the callback
|
||||
|
||||
for (;;)
|
||||
{
|
||||
result = read(sound_server_pipe[1], &tone, sizeof(tone_t));
|
||||
|
||||
if (result < 0)
|
||||
{
|
||||
perror("read");
|
||||
return;
|
||||
}
|
||||
|
||||
// Send back a response, so the main process knows to send another
|
||||
|
||||
write(sound_server_pipe[1], &tone, sizeof(tone_t));
|
||||
|
||||
// Beep! (blocks until complete)
|
||||
|
||||
AdjustedBeep(speaker_handle, tone.duration, tone.frequency);
|
||||
}
|
||||
}
|
||||
|
||||
// Start up the sound server. Returns non-zero if successful.
|
||||
|
||||
static int StartSoundServer(void)
|
||||
{
|
||||
int result;
|
||||
int speaker_handle;
|
||||
|
||||
// Try to open the speaker device
|
||||
|
||||
speaker_handle = open(SPEAKER_DEVICE, O_WRONLY);
|
||||
|
||||
if (speaker_handle == -1)
|
||||
{
|
||||
// Don't have permissions for the console device?
|
||||
|
||||
fprintf(stderr, "StartSoundServer: Failed to open '%s': %s\n",
|
||||
SPEAKER_DEVICE, strerror(errno));
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Create a pipe for communications
|
||||
|
||||
if (socketpair(AF_UNIX, SOCK_STREAM, 0, sound_server_pipe) < 0)
|
||||
{
|
||||
perror("socketpair");
|
||||
close(speaker_handle);
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Start a separate process to generate PC speaker output
|
||||
// We can't use the SDL threading functions because OpenBSD's
|
||||
// threading sucks :-(
|
||||
|
||||
result = fork();
|
||||
|
||||
if (result < 0)
|
||||
{
|
||||
fprintf(stderr, "Failed to fork sound server!\n");
|
||||
close(speaker_handle);
|
||||
return 0;
|
||||
}
|
||||
else if (result == 0)
|
||||
{
|
||||
// This is the child (sound server)
|
||||
|
||||
SoundServer(speaker_handle);
|
||||
close(speaker_handle);
|
||||
|
||||
exit(0);
|
||||
}
|
||||
else
|
||||
{
|
||||
// This is the parent
|
||||
|
||||
sound_server_pid = result;
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
static void StopSoundServer(void)
|
||||
{
|
||||
int status;
|
||||
|
||||
kill(sound_server_pid, SIGINT);
|
||||
waitpid(sound_server_pid, &status, 0);
|
||||
}
|
||||
|
||||
static int SoundThread(void *unused)
|
||||
{
|
||||
tone_t tone;
|
||||
int duration;
|
||||
int frequency;
|
||||
|
||||
while (sound_thread_running)
|
||||
{
|
||||
// Get the next frequency to play
|
||||
|
||||
callback(&duration, &frequency);
|
||||
|
||||
//printf("dur: %i, freq: %i\n", duration, frequency);
|
||||
|
||||
// Build up a tone structure and send to the sound server
|
||||
|
||||
tone.frequency = frequency;
|
||||
tone.duration = duration;
|
||||
|
||||
if (write(sound_server_pipe[0], &tone, sizeof(tone_t)) < 0)
|
||||
{
|
||||
perror("write");
|
||||
break;
|
||||
}
|
||||
|
||||
// Wait until the sound server responds before sending another
|
||||
|
||||
if (read(sound_server_pipe[0], &tone, sizeof(tone_t)) < 0)
|
||||
{
|
||||
perror("read");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int PCSound_BSD_Init(pcsound_callback_func callback_func)
|
||||
{
|
||||
callback = callback_func;
|
||||
|
||||
if (!StartSoundServer())
|
||||
{
|
||||
fprintf(stderr, "PCSound_BSD_Init: Failed to start sound server.\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
sound_thread_running = 1;
|
||||
sound_thread_handle = SDL_CreateThread(SoundThread, NULL);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
static void PCSound_BSD_Shutdown(void)
|
||||
{
|
||||
// Stop the sound thread
|
||||
|
||||
sound_thread_running = 0;
|
||||
|
||||
SDL_WaitThread(sound_thread_handle, NULL);
|
||||
|
||||
// Stop the sound server
|
||||
|
||||
StopSoundServer();
|
||||
}
|
||||
|
||||
pcsound_driver_t pcsound_bsd_driver =
|
||||
{
|
||||
"BSD",
|
||||
PCSound_BSD_Init,
|
||||
PCSound_BSD_Shutdown,
|
||||
};
|
||||
|
||||
#endif /* #ifdef HAVE_BSD_SPEAKER */
|
||||
|
47
dockerdoom/trunk/pcsound/pcsound_internal.h
Normal file
47
dockerdoom/trunk/pcsound/pcsound_internal.h
Normal file
@ -0,0 +1,47 @@
|
||||
// Emacs style mode select -*- C++ -*-
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// Copyright(C) 2007 Simon Howard
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
// as published by the Free Software Foundation; either version 2
|
||||
// of the License, or (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
// 02111-1307, USA.
|
||||
//
|
||||
// DESCRIPTION:
|
||||
// PC speaker interface.
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef PCSOUND_INTERNAL_H
|
||||
#define PCSOUND_INTERNAL_H
|
||||
|
||||
#include "pcsound.h"
|
||||
|
||||
#define PCSOUND_8253_FREQUENCY 1193280
|
||||
|
||||
typedef struct pcsound_driver_s pcsound_driver_t;
|
||||
typedef int (*pcsound_init_func)(pcsound_callback_func callback);
|
||||
typedef void (*pcsound_shutdown_func)(void);
|
||||
|
||||
struct pcsound_driver_s
|
||||
{
|
||||
char *name;
|
||||
pcsound_init_func init_func;
|
||||
pcsound_shutdown_func shutdown_func;
|
||||
};
|
||||
|
||||
extern int pcsound_sample_rate;
|
||||
|
||||
#endif /* #ifndef PCSOUND_INTERNAL_H */
|
||||
|
173
dockerdoom/trunk/pcsound/pcsound_linux.c
Normal file
173
dockerdoom/trunk/pcsound/pcsound_linux.c
Normal file
@ -0,0 +1,173 @@
|
||||
// Emacs style mode select -*- C++ -*-
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// Copyright(C) 2007 Simon Howard
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
// as published by the Free Software Foundation; either version 2
|
||||
// of the License, or (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
// 02111-1307, USA.
|
||||
//
|
||||
// DESCRIPTION:
|
||||
// PC speaker driver for Linux.
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#ifdef HAVE_LINUX_KD_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <linux/kd.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "SDL.h"
|
||||
#include "SDL_thread.h"
|
||||
|
||||
#include "pcsound.h"
|
||||
#include "pcsound_internal.h"
|
||||
|
||||
#define CONSOLE_DEVICE "/dev/console"
|
||||
|
||||
static int console_handle;
|
||||
static pcsound_callback_func callback;
|
||||
static int sound_thread_running = 0;
|
||||
static SDL_Thread *sound_thread_handle;
|
||||
static int sleep_adjust = 0;
|
||||
|
||||
static void AdjustedSleep(unsigned int ms)
|
||||
{
|
||||
unsigned int start_time;
|
||||
unsigned int end_time;
|
||||
unsigned int actual_time;
|
||||
|
||||
// Adjust based on previous error to keep the tempo right
|
||||
|
||||
if (sleep_adjust > ms)
|
||||
{
|
||||
sleep_adjust -= ms;
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
ms -= sleep_adjust;
|
||||
}
|
||||
|
||||
// Do the sleep and record how long it takes
|
||||
|
||||
start_time = SDL_GetTicks();
|
||||
|
||||
SDL_Delay(ms);
|
||||
|
||||
end_time = SDL_GetTicks();
|
||||
|
||||
if (end_time > start_time)
|
||||
{
|
||||
actual_time = end_time - start_time;
|
||||
}
|
||||
else
|
||||
{
|
||||
actual_time = ms;
|
||||
}
|
||||
|
||||
if (actual_time < ms)
|
||||
{
|
||||
actual_time = ms;
|
||||
}
|
||||
|
||||
// Save sleep_adjust for next time
|
||||
|
||||
sleep_adjust = actual_time - ms;
|
||||
}
|
||||
|
||||
static int SoundThread(void *unused)
|
||||
{
|
||||
int frequency;
|
||||
int duration;
|
||||
int cycles;
|
||||
|
||||
while (sound_thread_running)
|
||||
{
|
||||
callback(&duration, &frequency);
|
||||
|
||||
if (frequency != 0)
|
||||
{
|
||||
cycles = PCSOUND_8253_FREQUENCY / frequency;
|
||||
}
|
||||
else
|
||||
{
|
||||
cycles = 0;
|
||||
}
|
||||
|
||||
ioctl(console_handle, KIOCSOUND, cycles);
|
||||
|
||||
AdjustedSleep(duration);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int PCSound_Linux_Init(pcsound_callback_func callback_func)
|
||||
{
|
||||
// Try to open the console
|
||||
|
||||
console_handle = open(CONSOLE_DEVICE, O_WRONLY);
|
||||
|
||||
if (console_handle == -1)
|
||||
{
|
||||
// Don't have permissions for the console device?
|
||||
|
||||
fprintf(stderr, "PCSound_Linux_Init: Failed to open '%s': %s\n",
|
||||
CONSOLE_DEVICE, strerror(errno));
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (ioctl(console_handle, KIOCSOUND, 0) < 0)
|
||||
{
|
||||
// KIOCSOUND not supported: non-PC linux?
|
||||
|
||||
close(console_handle);
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Start a thread up to generate PC speaker output
|
||||
|
||||
callback = callback_func;
|
||||
sound_thread_running = 1;
|
||||
|
||||
sound_thread_handle = SDL_CreateThread(SoundThread, NULL);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
static void PCSound_Linux_Shutdown(void)
|
||||
{
|
||||
sound_thread_running = 0;
|
||||
SDL_WaitThread(sound_thread_handle, NULL);
|
||||
close(console_handle);
|
||||
}
|
||||
|
||||
pcsound_driver_t pcsound_linux_driver =
|
||||
{
|
||||
"Linux",
|
||||
PCSound_Linux_Init,
|
||||
PCSound_Linux_Shutdown,
|
||||
};
|
||||
|
||||
#endif /* #ifdef HAVE_LINUX_KD_H */
|
||||
|
258
dockerdoom/trunk/pcsound/pcsound_sdl.c
Normal file
258
dockerdoom/trunk/pcsound/pcsound_sdl.c
Normal file
@ -0,0 +1,258 @@
|
||||
// Emacs style mode select -*- C++ -*-
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// Copyright(C) 2007 Simon Howard
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
// as published by the Free Software Foundation; either version 2
|
||||
// of the License, or (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
// 02111-1307, USA.
|
||||
//
|
||||
// DESCRIPTION:
|
||||
// PC speaker interface.
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "SDL.h"
|
||||
#include "SDL_mixer.h"
|
||||
|
||||
#include "pcsound.h"
|
||||
#include "pcsound_internal.h"
|
||||
|
||||
#define MAX_SOUND_SLICE_TIME 70 /* ms */
|
||||
#define SQUARE_WAVE_AMP 0x2000
|
||||
|
||||
// If true, we initialized SDL and have the responsibility to shut it
|
||||
// down
|
||||
|
||||
static int sdl_was_initialized = 0;
|
||||
|
||||
// Callback function to invoke when we want new sound data
|
||||
|
||||
static pcsound_callback_func callback;
|
||||
|
||||
// Output sound format
|
||||
|
||||
static int mixing_freq;
|
||||
static Uint16 mixing_format;
|
||||
static int mixing_channels;
|
||||
|
||||
// Currently playing sound
|
||||
// current_remaining is the number of remaining samples that must be played
|
||||
// before we invoke the callback to get the next frequency.
|
||||
|
||||
static int current_remaining;
|
||||
static int current_freq;
|
||||
|
||||
static int phase_offset = 0;
|
||||
|
||||
// Mixer function that does the PC speaker emulation
|
||||
|
||||
static void PCSound_Mix_Callback(void *udata, Uint8 *stream, int len)
|
||||
{
|
||||
Sint16 *leftptr;
|
||||
Sint16 *rightptr;
|
||||
Sint16 this_value;
|
||||
int oldfreq;
|
||||
int i;
|
||||
int nsamples;
|
||||
|
||||
// Number of samples is quadrupled, because of 16-bit and stereo
|
||||
|
||||
nsamples = len / 4;
|
||||
|
||||
leftptr = (Sint16 *) stream;
|
||||
rightptr = ((Sint16 *) stream) + 1;
|
||||
|
||||
// Fill the output buffer
|
||||
|
||||
for (i=0; i<nsamples; ++i)
|
||||
{
|
||||
// Has this sound expired? If so, invoke the callback to get
|
||||
// the next frequency.
|
||||
|
||||
while (current_remaining == 0)
|
||||
{
|
||||
oldfreq = current_freq;
|
||||
|
||||
// Get the next frequency to play
|
||||
|
||||
callback(¤t_remaining, ¤t_freq);
|
||||
|
||||
if (current_freq != 0)
|
||||
{
|
||||
// Adjust phase to match to the new frequency.
|
||||
// This gives us a smooth transition between different tones,
|
||||
// with no impulse changes.
|
||||
|
||||
phase_offset = (phase_offset * oldfreq) / current_freq;
|
||||
}
|
||||
|
||||
current_remaining = (current_remaining * mixing_freq) / 1000;
|
||||
}
|
||||
|
||||
// Set the value for this sample.
|
||||
|
||||
if (current_freq == 0)
|
||||
{
|
||||
// Silence
|
||||
|
||||
this_value = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
int frac;
|
||||
|
||||
// Determine whether we are at a peak or trough in the current
|
||||
// sound. Multiply by 2 so that frac % 2 will give 0 or 1
|
||||
// depending on whether we are at a peak or trough.
|
||||
|
||||
frac = (phase_offset * current_freq * 2) / mixing_freq;
|
||||
|
||||
if ((frac % 2) == 0)
|
||||
{
|
||||
this_value = SQUARE_WAVE_AMP;
|
||||
}
|
||||
else
|
||||
{
|
||||
this_value = -SQUARE_WAVE_AMP;
|
||||
}
|
||||
|
||||
++phase_offset;
|
||||
}
|
||||
|
||||
--current_remaining;
|
||||
|
||||
// Use the same value for the left and right channels.
|
||||
|
||||
*leftptr += this_value;
|
||||
*rightptr += this_value;
|
||||
|
||||
leftptr += 2;
|
||||
rightptr += 2;
|
||||
}
|
||||
}
|
||||
|
||||
static int SDLIsInitialized(void)
|
||||
{
|
||||
int freq, channels;
|
||||
Uint16 format;
|
||||
|
||||
return Mix_QuerySpec(&freq, &format, &channels);
|
||||
}
|
||||
|
||||
static void PCSound_SDL_Shutdown(void)
|
||||
{
|
||||
if (sdl_was_initialized)
|
||||
{
|
||||
Mix_CloseAudio();
|
||||
SDL_QuitSubSystem(SDL_INIT_AUDIO);
|
||||
sdl_was_initialized = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Calculate slice size, based on MAX_SOUND_SLICE_TIME.
|
||||
// The result must be a power of two.
|
||||
|
||||
static int GetSliceSize(void)
|
||||
{
|
||||
int limit;
|
||||
int n;
|
||||
|
||||
limit = (pcsound_sample_rate * MAX_SOUND_SLICE_TIME) / 1000;
|
||||
|
||||
// Try all powers of two, not exceeding the limit.
|
||||
|
||||
for (n=0;; ++n)
|
||||
{
|
||||
// 2^n <= limit < 2^n+1 ?
|
||||
|
||||
if ((1 << (n + 1)) > limit)
|
||||
{
|
||||
return (1 << n);
|
||||
}
|
||||
}
|
||||
|
||||
// Should never happen?
|
||||
|
||||
return 1024;
|
||||
}
|
||||
|
||||
static int PCSound_SDL_Init(pcsound_callback_func callback_func)
|
||||
{
|
||||
int slicesize;
|
||||
|
||||
// Check if SDL_mixer has been opened already
|
||||
// If not, we must initialize it now
|
||||
|
||||
if (!SDLIsInitialized())
|
||||
{
|
||||
if (SDL_Init(SDL_INIT_AUDIO) < 0)
|
||||
{
|
||||
fprintf(stderr, "Unable to set up sound.\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
slicesize = GetSliceSize();
|
||||
|
||||
if (Mix_OpenAudio(pcsound_sample_rate, AUDIO_S16SYS, 2, slicesize) < 0)
|
||||
{
|
||||
fprintf(stderr, "Error initializing SDL_mixer: %s\n", Mix_GetError());
|
||||
|
||||
SDL_QuitSubSystem(SDL_INIT_AUDIO);
|
||||
return 0;
|
||||
}
|
||||
|
||||
SDL_PauseAudio(0);
|
||||
|
||||
// When this module shuts down, it has the responsibility to
|
||||
// shut down SDL.
|
||||
|
||||
sdl_was_initialized = 1;
|
||||
}
|
||||
|
||||
// Get the mixer frequency, format and number of channels.
|
||||
|
||||
Mix_QuerySpec(&mixing_freq, &mixing_format, &mixing_channels);
|
||||
|
||||
// Only supports AUDIO_S16SYS
|
||||
|
||||
if (mixing_format != AUDIO_S16SYS || mixing_channels != 2)
|
||||
{
|
||||
fprintf(stderr,
|
||||
"PCSound_SDL only supports native signed 16-bit LSB, "
|
||||
"stereo format!\n");
|
||||
|
||||
PCSound_SDL_Shutdown();
|
||||
return 0;
|
||||
}
|
||||
|
||||
callback = callback_func;
|
||||
current_freq = 0;
|
||||
current_remaining = 0;
|
||||
|
||||
Mix_SetPostMix(PCSound_Mix_Callback, NULL);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
pcsound_driver_t pcsound_sdl_driver =
|
||||
{
|
||||
"SDL",
|
||||
PCSound_SDL_Init,
|
||||
PCSound_SDL_Shutdown,
|
||||
};
|
||||
|
117
dockerdoom/trunk/pcsound/pcsound_win32.c
Normal file
117
dockerdoom/trunk/pcsound/pcsound_win32.c
Normal file
@ -0,0 +1,117 @@
|
||||
// Emacs style mode select -*- C++ -*-
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// Copyright(C) 2007 Simon Howard
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
// as published by the Free Software Foundation; either version 2
|
||||
// of the License, or (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
// 02111-1307, USA.
|
||||
//
|
||||
// DESCRIPTION:
|
||||
// PC speaker interface.
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#include "SDL.h"
|
||||
#include "SDL_thread.h"
|
||||
#include <windows.h>
|
||||
|
||||
#include "pcsound.h"
|
||||
#include "pcsound_internal.h"
|
||||
|
||||
static SDL_Thread *sound_thread_handle;
|
||||
static int sound_thread_running;
|
||||
static pcsound_callback_func callback;
|
||||
|
||||
static int SoundThread(void *unused)
|
||||
{
|
||||
int frequency;
|
||||
int duration;
|
||||
|
||||
while (sound_thread_running)
|
||||
{
|
||||
callback(&duration, &frequency);
|
||||
|
||||
if (frequency != 0)
|
||||
{
|
||||
Beep(frequency, duration);
|
||||
}
|
||||
else
|
||||
{
|
||||
Sleep(duration);
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int PCSound_Win32_Init(pcsound_callback_func callback_func)
|
||||
{
|
||||
OSVERSIONINFO osvi;
|
||||
BOOL result;
|
||||
|
||||
// Temporarily disabled - the Windows scheduler is strange and
|
||||
// stupid.
|
||||
|
||||
return 0;
|
||||
|
||||
// Find the OS version
|
||||
|
||||
osvi.dwOSVersionInfoSize = sizeof(osvi);
|
||||
|
||||
result = GetVersionEx(&osvi);
|
||||
|
||||
if (!result)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Beep() ignores its arguments on win9x, so this driver will
|
||||
// not work there.
|
||||
|
||||
if (osvi.dwPlatformId != VER_PLATFORM_WIN32_NT)
|
||||
{
|
||||
// TODO: Use _out() to write directly to the PC speaker on
|
||||
// win9x: See PC/winsound.c in the Python standard library.
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Start a thread to play sound.
|
||||
|
||||
callback = callback_func;
|
||||
sound_thread_running = 1;
|
||||
|
||||
sound_thread_handle = SDL_CreateThread(SoundThread, NULL);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
static void PCSound_Win32_Shutdown(void)
|
||||
{
|
||||
sound_thread_running = 0;
|
||||
SDL_WaitThread(sound_thread_handle, NULL);
|
||||
}
|
||||
|
||||
pcsound_driver_t pcsound_win32_driver =
|
||||
{
|
||||
"Windows",
|
||||
PCSound_Win32_Init,
|
||||
PCSound_Win32_Shutdown,
|
||||
};
|
||||
|
||||
#endif /* #ifdef _WIN32 */
|
||||
|
Reference in New Issue
Block a user