2001-04-10 09:40:09 +00:00
|
|
|
lib_LTLIBRARIES = libQFsound.la
|
|
|
|
|
|
|
|
libQFsound_la_LDFLAGS = -version-info 1:0:0 $(CD_LIBS)
|
|
|
|
|
|
|
|
#if ASM_ARCH
|
|
|
|
sound_ASM= snd_mixa.S
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# ... Audio targets
|
|
|
|
#
|
2001-04-11 02:41:12 +00:00
|
|
|
common_sound_files= snd_common.c snd_dma.c snd_mem.c snd_mix.c
|
2001-04-10 09:40:09 +00:00
|
|
|
if SNDTYPE_SDL
|
2001-04-11 02:41:12 +00:00
|
|
|
libQFsound_la_SOURCES= $(common_sound_files) snd_sdl.c $(sound_ASM)
|
2001-04-10 09:40:09 +00:00
|
|
|
endif
|
|
|
|
if SNDTYPE_ALSA_0_5
|
2001-04-11 02:41:12 +00:00
|
|
|
libQFsound_la_SOURCES= $(common_sound_files) snd_alsa_0_5.c $(sound_ASM)
|
2001-04-10 09:40:09 +00:00
|
|
|
endif
|
|
|
|
if SNDTYPE_ALSA_0_9
|
2001-04-11 02:41:12 +00:00
|
|
|
libQFsound_la_SOURCES= $(common_sound_files) snd_alsa_0_9.c $(sound_ASM)
|
2001-04-10 09:40:09 +00:00
|
|
|
endif
|
|
|
|
# No idea what this is. it's in configure.in though...
|
|
|
|
#if SNDTYPE_MME
|
2001-04-11 02:41:12 +00:00
|
|
|
#libQFsound_la_SOURCES= $(common_sound_files) snd_mme.c $(sound_ASM)
|
2001-04-10 09:40:09 +00:00
|
|
|
#endif
|
|
|
|
if SNDTYPE_OSS
|
2001-04-11 02:41:12 +00:00
|
|
|
libQFsound_la_SOURCES= $(common_sound_files) snd_oss.c $(sound_ASM)
|
2001-04-10 09:40:09 +00:00
|
|
|
endif
|
|
|
|
if SNDTYPE_SGI
|
2001-04-11 02:41:12 +00:00
|
|
|
libQFsound_la_SOURCES= $(common_sound_files) snd_sgi.c $(sound_ASM)
|
2001-04-10 09:40:09 +00:00
|
|
|
endif
|
|
|
|
if SNDTYPE_SUN
|
2001-04-11 02:41:12 +00:00
|
|
|
libQFsound_la_SOURCES= $(common_sound_files) snd_sun.c $(sound_ASM)
|
2001-04-10 09:40:09 +00:00
|
|
|
endif
|
|
|
|
if SNDTYPE_WIN32
|
2001-04-11 02:41:12 +00:00
|
|
|
libQFsound_la_SOURCES= $(common_sound_files) snd_win.c $(sound_ASM)
|
2001-04-10 09:40:09 +00:00
|
|
|
endif
|
|
|
|
if SNDTYPE_NULL
|
2001-04-11 02:41:12 +00:00
|
|
|
libQFsound_la_SOURCES= snd_common.c snd_null.c
|
2001-04-10 09:40:09 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
LIBLIST = libQFsound.la @LIBRARY_SEARCH_PATH@
|