2001-05-19 00:05:35 +00:00
|
|
|
INCLUDES= -I$(top_srcdir)/include $(ALSA_CFLAGS) $(MME_CFLAGS) $(OSS_CFLAGS) $(SGISND_CFLAGS) $(SUNSND_CFLAGS) $(WIN32SND_CFLAGS) $(SDL_CFLAGS)
|
|
|
|
|
2001-05-28 19:30:32 +00:00
|
|
|
libdir = @PLUGINDIR@
|
|
|
|
|
2001-08-15 21:03:10 +00:00
|
|
|
if BUILD_SND_RENDERER
|
|
|
|
SND_RENDERER = libQFsoundrenderer.la
|
|
|
|
else
|
|
|
|
SND_RENDERER =
|
|
|
|
endif
|
|
|
|
|
|
|
|
SND_RENDERER_LIB = $(top_builddir)/libs/audio/targets/libQFsoundrenderer.la
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = $(SND_RENDERER) @SND_PLUGIN_TARGETS@
|
2001-06-07 03:37:05 +00:00
|
|
|
EXTRA_LTLIBRARIES = libsound_sdl.la libsound_alsa0_5.la libsound_alsa0_9.la libsound_oss.la libsound_sgi.la libsound_sun.la libsound_win.la libsound_null.la libsound_disk.la
|
2001-05-19 00:05:35 +00:00
|
|
|
|
2001-06-14 19:52:38 +00:00
|
|
|
if ASM_ARCH
|
|
|
|
ASM = libasm.la
|
|
|
|
else
|
|
|
|
ASM =
|
|
|
|
endif
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = $(ASM)
|
|
|
|
|
|
|
|
libasm_la_SOURCES = snd_mixa.S
|
|
|
|
|
2001-08-15 21:03:10 +00:00
|
|
|
libQFsoundrenderer_la_LDFLAGS= -version-info 1:0:0
|
|
|
|
libQFsoundrenderer_la_LIBADD = $(ASM)
|
|
|
|
libQFsoundrenderer_la_SOURCES= snd_dma.c snd_mem.c snd_mix.c
|
|
|
|
libQFsoundrenderer.la: $(libQFsoundrenderer_la_OBJECTS) $(libQFsoundrenderer_la_DEPENDENCIES)
|
|
|
|
$(LINK) -rpath $(pluginpath) $(libQFsoundrenderer_la_LDFLAGS) $(libQFsoundrenderer_la_OBJECTS) $(libQFsoundrenderer_la_LIBADD) $(LIBS)
|
|
|
|
|
2001-05-19 00:05:35 +00:00
|
|
|
|
2001-08-15 21:03:10 +00:00
|
|
|
libsound_sdl_la_LDFLAGS= -version-info 1:0:0 $(SDL_LIBS) -lQFsoundrenderer
|
|
|
|
libsound_sdl_la_LIBS = $(SND_RENDERER_LIB)
|
|
|
|
libsound_sdl_la_LIB_DEPS= $(SND_RENDERER_LIB)
|
|
|
|
libsound_sdl_la_SOURCES= snd_sdl.c
|
2001-05-19 00:05:35 +00:00
|
|
|
libsound_sdl.la: $(libsound_sdl_la_OBJECTS) $(libsound_sdl_la_DEPENDENCIES)
|
|
|
|
$(LINK) -rpath $(pluginpath) $(libsound_sdl_la_LDFLAGS) $(libsound_sdl_la_OBJECTS) $(libsound_sdl_la_LIBADD) $(LIBS)
|
|
|
|
|
2001-08-15 21:03:10 +00:00
|
|
|
libsound_alsa0_5_la_LDFLAGS= -version-info 1:0:0 $(ALSA_LIBS) -lQFsoundrenderer
|
|
|
|
libsound_alsa0_5_la_LIBS = $(SND_RENDERER_LIB)
|
|
|
|
libsound_alsa0_5_la_LIB_DEPS= $(SND_RENDERER_LIB)
|
|
|
|
libsound_alsa0_5_la_SOURCES= snd_alsa_0_5.c
|
2001-05-19 00:05:35 +00:00
|
|
|
libsound_alsa0_5.la: $(libsound_alsa0_5_la_OBJECTS) $(libsound_alsa0_5_la_DEPENDENCIES)
|
2001-05-19 02:09:59 +00:00
|
|
|
$(LINK) -rpath $(pluginpath) $(libsound_alsa0_5_la_LDFLAGS) $(libsound_alsa0_5_la_OBJECTS) $(libsound_alsa0_5_la_LIBADD) $(LIBS)
|
2001-05-19 00:05:35 +00:00
|
|
|
|
2001-08-15 21:03:10 +00:00
|
|
|
libsound_alsa0_9_la_LDFLAGS= -version-info 1:0:0 $(ALSA_LIBS) -lQFsoundrenderer
|
|
|
|
libsound_alsa0_9_la_LIBS = $(SND_RENDERER_LIB)
|
|
|
|
libsound_alsa0_9_la_LIB_DEPS= $(SND_RENDERER_LIB)
|
|
|
|
libsound_alsa0_9_la_SOURCES= snd_alsa_0_9.c
|
2001-05-19 00:05:35 +00:00
|
|
|
libsound_alsa0_9.la: $(libsound_alsa0_9_la_OBJECTS) $(libsound_alsa0_9_la_DEPENDENCIES)
|
2001-05-19 02:09:59 +00:00
|
|
|
$(LINK) -rpath $(pluginpath) $(libsound_alsa0_9_la_LDFLAGS) $(libsound_alsa0_9_la_OBJECTS) $(libsound_alsa0_9_la_LIBADD) $(LIBS)
|
2001-05-19 00:05:35 +00:00
|
|
|
|
2001-08-15 21:03:10 +00:00
|
|
|
libsound_oss_la_LDFLAGS= -version-info 1:0:0 $(OSS_LIBS) -lQFsoundrenderer
|
|
|
|
libsound_oss_la_LIBS = $(SND_RENDERER_LIB)
|
|
|
|
libsound_oss_la_LIB_DEPS= $(SND_RENDERER_LIB)
|
|
|
|
libsound_oss_la_SOURCES= snd_oss.c
|
2001-05-19 00:05:35 +00:00
|
|
|
libsound_oss.la: $(libsound_oss_la_OBJECTS) $(libsound_oss_la_DEPENDENCIES)
|
|
|
|
$(LINK) -rpath $(pluginpath) $(libsound_oss_la_LDFLAGS) $(libsound_oss_la_OBJECTS) $(libsound_oss_la_LIBADD) $(LIBS)
|
|
|
|
|
2001-08-15 21:03:10 +00:00
|
|
|
libsound_sgi_la_LDFLAGS= -version-info 1:0:0 $(SGISND_LIBS) -lQFsoundrenderer
|
|
|
|
libsound_sgi_la_LIBS = $(SND_RENDERER_LIB)
|
|
|
|
libsound_sgi_la_LIB_DEPS= $(SND_RENDERER_LIB)
|
|
|
|
libsound_sgi_la_SOURCES= snd_sgi.c
|
2001-05-19 00:05:35 +00:00
|
|
|
libsound_sgi.la: $(libsound_sgi_la_OBJECTS) $(libsound_sgi_la_DEPENDENCIES)
|
|
|
|
$(LINK) -rpath $(pluginpath) $(libsound_sgi_la_LDFLAGS) $(libsound_sgi_la_OBJECTS) $(libsound_sgi_la_LIBADD) $(LIBS)
|
|
|
|
|
2001-08-15 21:03:10 +00:00
|
|
|
libsound_sun_la_LDFLAGS= -version-info 1:0:0 $(SUN_LIBS) -lQFsoundrenderer
|
|
|
|
libsound_sun_la_LIBS = $(SND_RENDERER_LIB)
|
|
|
|
libsound_sun_la_LIB_DEPS= $(SND_RENDERER_LIB)
|
|
|
|
libsound_sun_la_SOURCES= snd_sun.c
|
2001-05-19 00:05:35 +00:00
|
|
|
libsound_sun.la: $(libsound_sun_la_OBJECTS) $(libsound_sun_la_DEPENDENCIES)
|
|
|
|
$(LINK) -rpath $(pluginpath) $(libsound_sun_la_LDFLAGS) $(libsound_sun_la_OBJECTS) $(libsound_sun_la_LIBADD) $(LIBS)
|
|
|
|
|
2001-08-15 21:03:10 +00:00
|
|
|
libsound_win_la_LDFLAGS= -version-info 1:0:0 $(WIN_LIBS) -lQFsoundrenderer
|
|
|
|
libsound_win_la_LIBS = $(SND_RENDERER_LIB)
|
|
|
|
libsound_win_la_LIB_DEPS= $(SND_RENDERER_LIB)
|
|
|
|
libsound_win_la_SOURCES= snd_win.c
|
2001-05-19 00:05:35 +00:00
|
|
|
libsound_win.la: $(libsound_win_la_OBJECTS) $(libsound_win_la_DEPENDENCIES)
|
|
|
|
$(LINK) -rpath $(pluginpath) $(libsound_win_la_LDFLAGS) $(libsound_win_la_OBJECTS) $(libsound_win_la_LIBADD) $(LIBS)
|
|
|
|
|
2001-08-15 21:03:10 +00:00
|
|
|
libsound_disk_la_LDFLAGS= -version-info 1:0:0 -lQFsoundrenderer
|
|
|
|
libsound_disk_la_LIBS = $(SND_RENDERER_LIB)
|
|
|
|
libsound_disk_la_LIB_DEPS= $(SND_RENDERER_LIB)
|
|
|
|
libsound_disk_la_SOURCES= snd_disk.c
|
2001-05-19 00:05:35 +00:00
|
|
|
libsound_disk.la: $(libsound_disk_la_OBJECTS) $(libsound_disk_la_DEPENDENCIES)
|
|
|
|
$(LINK) -rpath $(pluginpath) $(libsound_disk_la_LDFLAGS) $(libsound_disk_la_OBJECTS) $(libsound_disk_la_LIBADD) $(LIBS)
|
|
|
|
|
2001-05-22 20:34:03 +00:00
|
|
|
libsound_null_la_LDFLAGS= -version-info 1:0:0
|
2001-05-19 00:05:35 +00:00
|
|
|
libsound_null_la_SOURCES= snd_null.c
|
|
|
|
libsound_null.la: $(libsound_null_la_OBJECTS) $(libsound_null_la_DEPENDENCIES)
|
|
|
|
$(LINK) -rpath $(pluginpath) $(libsound_null_la_LDFLAGS) $(libsound_null_la_OBJECTS) $(libsound_null_la_LIBADD) $(LIBS)
|
|
|
|
|
2001-08-15 21:03:10 +00:00
|
|
|
LIBLIST = $(pkglib_LTLIBRARIES) libQFsoundrenderer.la @LIBRARY_SEARCH_PATH@
|