2001-11-12 16:23:41 +00:00
|
|
|
AUTOMAKE_OPTIONS= foreign
|
|
|
|
|
2012-02-07 11:17:32 +00:00
|
|
|
AM_CFLAGS= @PREFER_PIC@ \
|
|
|
|
$(VORBIS_CFLAGS) $(OGG_CFLAGS) $(SAMPLERATE_CFLAGS) $(JACK_CFLAGS)
|
2001-08-23 04:01:46 +00:00
|
|
|
INCLUDES= -I$(top_srcdir)/include
|
2010-12-25 09:45:39 +00:00
|
|
|
plugin_ldflags= @plugin_ldflags@ -avoid-version -module -rpath $(plugindir)
|
2002-04-29 19:19:26 +00:00
|
|
|
plugin_libadd= @plugin_libadd@
|
2002-08-01 19:49:10 +00:00
|
|
|
EXEEXT=
|
2001-08-23 04:01:46 +00:00
|
|
|
|
2004-11-18 06:08:00 +00:00
|
|
|
plugin_LTLIBRARIES= @SND_REND_TARGETS@
|
2007-03-17 03:10:45 +00:00
|
|
|
EXTRA_LTLIBRARIES= snd_render_default.la snd_render_jack.la
|
2001-08-23 04:01:46 +00:00
|
|
|
|
2004-11-18 06:08:00 +00:00
|
|
|
noinst_LTLIBRARIES= @SND_REND_STATIC@
|
2001-10-03 17:50:36 +00:00
|
|
|
|
2010-08-11 23:42:42 +00:00
|
|
|
flac_src=flac.c
|
|
|
|
midi_src=midi.c
|
|
|
|
vorbis_src=vorbis.c
|
|
|
|
wav_src=wav.c
|
|
|
|
|
|
|
|
if HAVE_FLAC
|
|
|
|
have_flac_src=$(flac_src)
|
|
|
|
else
|
|
|
|
have_flac_src=
|
|
|
|
endif
|
|
|
|
if HAVE_MIDI
|
|
|
|
have_midi_src=$(midi_src)
|
|
|
|
else
|
|
|
|
have_midi_src=
|
|
|
|
endif
|
|
|
|
if HAVE_VORBIS
|
|
|
|
have_vorbis_src=$(vorbis_src)
|
|
|
|
else
|
|
|
|
have_vorbis_src=
|
|
|
|
endif
|
|
|
|
have_wav_src=$(wav_src)
|
|
|
|
|
|
|
|
format_src=$(have_flac_src) $(have_midi_src) $(have_vorbis_src) $(have_wav_src)
|
2012-02-07 11:17:32 +00:00
|
|
|
format_libs= \
|
|
|
|
$(SAMPLERATE_LIBS) $(VORBISFILE_LIBS) $(VORBIS_LIBS) $(FLAC_LIBS) \
|
|
|
|
$(OGG_LIBS) $(WM_LIBS)
|
2010-08-11 23:42:42 +00:00
|
|
|
extra_format_src=flac.c midi.c vorbis.c wav.c
|
2012-02-07 07:04:19 +00:00
|
|
|
snd_common=snd_channels.c snd_mem.c snd_mix.c snd_resample.c snd_sfx.c
|
2012-02-07 11:17:32 +00:00
|
|
|
snd_libs= \
|
|
|
|
$(top_builddir)/libs/models/libQFmodels.la \
|
|
|
|
$(top_builddir)/libs/util/libQFutil.la
|
2012-02-07 07:04:19 +00:00
|
|
|
|
|
|
|
snd_render_default_la_LDFLAGS= $(plugin_ldflags)
|
|
|
|
snd_render_default_la_SOURCES= snd_dma.c $(snd_common) $(format_src)
|
2012-02-07 11:17:32 +00:00
|
|
|
snd_render_default_la_LIBADD= $(snd_libs) $(format_libs)
|
|
|
|
snd_render_default_la_DEPENDENCIES= $(snd_libs)
|
2012-02-07 07:04:19 +00:00
|
|
|
EXTRA_snd_render_default_la_SOURCES=$(extra_format_src)
|
|
|
|
|
|
|
|
snd_render_jack_la_LDFLAGS= $(plugin_ldflags)
|
|
|
|
snd_render_jack_la_SOURCES= snd_jack.c $(snd_common) $(format_src)
|
2012-02-07 11:17:32 +00:00
|
|
|
snd_render_jack_la_LIBADD= $(snd_libs) $(format_libs) $(JACK_LIBS)
|
|
|
|
snd_render_jack_la_DEPENDENCIES= $(snd_libs)
|
2012-02-07 07:04:19 +00:00
|
|
|
EXTRA_snd_render_jack_la_SOURCES= $(extra_format_src)
|