quakeforge/libs/audio/targets/Makefile.am
Bill Currie ef81af9245 the "two birds with one stone" commit
1) when /not/ building static plugins, the plugin info name is, once again,
   PluginInfo, but is still type_name_PluginInfo for static plugins. This
   allows plugins to be symlinked (highly desirable for the debian packages,
   and likely others). This also requires plugins to /not/ be loaded with
   RTLD_GLOBAL.
2) because of 1, snd_alsa_0_9 has to explicitly load libasound itself. This
   just happens to fix my segfault on shutdown in RedHat 6.2.
2002-04-19 20:08:54 +00:00

47 lines
1.9 KiB
Makefile

AUTOMAKE_OPTIONS= foreign
INCLUDES= -I$(top_srcdir)/include $(ALSA_CFLAGS) $(MME_CFLAGS) $(OSS_CFLAGS) $(SGISND_CFLAGS) $(SUNSND_CFLAGS) $(WIN32SND_CFLAGS) $(SDL_CFLAGS)
SDL_LIBS = @SDL_LIBS@
PLUGIN_RPATH= @PLUGIN_RPATH@
plugin_LTLIBRARIES= @SND_PLUGIN_TARGETS@
noinst_LTLIBRARIES= @SND_PLUGIN_STATIC@
EXTRA_LTLIBRARIES= \
libsnd_output_sdl.la libsnd_output_alsa0_5.la libsnd_output_alsa0_9.la \
libsnd_output_oss.la libsnd_output_sgi.la libsnd_output_sun.la \
libsnd_output_win.la libsnd_output_null.la libsnd_output_disk.la
libsnd_output_sdl_la_LDFLAGS= $(plugin_LDFLAGS) -version-info 1:0:0 $(PLUGIN_RPATH)
libsnd_output_sdl_la_LIBADD= $(SDL_LIBS) $(plugin_LIBADD)
libsnd_output_sdl_la_SOURCES= snd_sdl.c
libsnd_output_alsa0_5_la_LDFLAGS= -version-info 1:0:0 $(PLUGIN_RPATH)
libsnd_output_alsa0_5_la_LIBADD= $(ALSA_LIBS)
libsnd_output_alsa0_5_la_SOURCES= snd_alsa_0_5.c
libsnd_output_alsa0_9_la_LDFLAGS= -version-info 1:0:0 $(PLUGIN_RPATH)
libsnd_output_alsa0_9_la_LIBADD=
libsnd_output_alsa0_9_la_SOURCES= snd_alsa_0_9.c
libsnd_output_oss_la_LDFLAGS= -version-info 1:0:0 $(PLUGIN_RPATH)
libsnd_output_oss_la_LIBADD= $(OSS_LIBS)
libsnd_output_oss_la_SOURCES= snd_oss.c
libsnd_output_sgi_la_LDFLAGS= -version-info 1:0:0 $(PLUGIN_RPATH)
libsnd_output_sgi_la_LIBADD= $(SGISND_LIBS)
libsnd_output_sgi_la_SOURCES= snd_sgi.c
libsnd_output_sun_la_LDFLAGS= -version-info 1:0:0 $(PLUGIN_RPATH)
libsnd_output_sun_la_SOURCES= snd_sun.c
libsnd_output_win_la_LDFLAGS= $(plugin_LDFLAGS) -version-info 1:0:0 $(PLUGIN_RPATH)
libsnd_output_win_la_LIBADD= $(WINSND_LIBS) $(plugin_LIBADD)
libsnd_output_win_la_SOURCES= snd_win.c
libsnd_output_disk_la_LDFLAGS= $(plugin_LDFLAGS) -version-info 1:0:0 $(PLUGIN_RPATH)
libsnd_output_disk_la_LIBADD= $(plugin_LIBADD)
libsnd_output_disk_la_SOURCES= snd_disk.c
libsnd_output_null_la_LDFLAGS= $(plugin_LDFLAGS) -version-info 1:0:0 $(PLUGIN_RPATH)
libsnd_output_null_la_LIBADD= $(plugin_LIBADD)
libsnd_output_null_la_SOURCES= snd_null.c