## ## Process this file with automake to produce Makefile.in ## AUTOMAKE_OPTIONS = foreign lib_LTLIBRARIES = libcrossfade.la ## ## If HAVE_GTK_2_0 is selected, use files generated by Glade 2.0 ## if HAVE_GTK gtk_sources = \ callbacks.c \ callbacks.h \ configure.c \ configure.h \ monitor.c \ monitor.h if HAVE_GTK_2_0 glade_sources = \ interface-2.0.c \ interface-2.0.h \ support-2.0.c \ support-2.0.h else glade_sources = \ interface.c \ interface.h \ support.c \ support.h endif endif if HAVE_OSS_COND oss_sources = oss.c oss.h endif if HAVE_LIBFFTW_COND fftw_sources = fft.c fft.h fftw_libs = -lfftw -lrfftw endif if HAVE_LIBSAMPLERATE_COND samplerate_libs = -lsamplerate endif ## ## finally, define source files to compile ## libcrossfade_la_LDFLAGS = -module -avoid-version -export-symbols $(top_srcdir)/export.sym @ID3_CPPFLAGS@ libcrossfade_la_LIBADD = $(fftw_libs) $(samplerate_libs) @ID3_LIBS@ libcrossfade_la_SOURCES = \ cfgutil.c \ cfgutil.h \ crossfade.c \ crossfade.h \ convert.c \ convert.h \ debug.c \ debug.h \ effect.c \ effect.h \ format.c \ format.h \ player.c \ player.h \ rate.c \ rate.h \ timing.c \ timing.h \ volume.c \ volume.h \ $(gtk_sources) \ $(glade_sources) \ $(oss_sources) \ $(fftw_sources) INCLUDES = @XF_CFLAGS@ CFLAGS = -Wall ## ## Including FFT and OSS sources so that they end up in the ## distribution even if they have not been activated in the ## configure switches. ## ## Also, add RPM spec stuff and player patches. ## EXTRA_DIST = @PACKAGE@.spec.in \ m4/ac_lib_id3.m4 \ fft.c oss.c \ interface.glade \ interface.c support.c \ interface.h support.h \ interface-2.0.glade \ interface-2.0.gladep \ interface-2.0.c support-2.0.c \ interface-2.0.h support-2.0.h \ patches/bmp-0.9.7.1.patch \ patches/xmms-1.2.10-custom_config.patch \ patches/xmms-1.2.10-fadeinfo.patch \ patches/xmms-1.2.10-force_session.patch \ patches/xmms-1.2.10-is_quitting.patch \ patches/xmms-ALL-1.2.10-gentoo-r16.patch \ patches/xmms-ALL-1.2.10.patch \ patches/gentoo-build-xmms.sh \ patches/README \ export.sym dist-hook: @PACKAGE@.spec.in cp @PACKAGE@.spec $(distdir)