Mercurial > hg > xmms-sid
view Makefile.am @ 957:0e60e5d56fdd
Change how the backend emulator library is initialized for libSIDPlay2 and
FP, as it seems the engine configuration has some persistence despite
reconfiguration between loaded files if same engine object is retained. This
caused, for example, 2SID stereo tunes being played "mono" if played after a
normal 1-SID tune. Duh.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 20 Nov 2012 22:13:48 +0200 |
parents | 9dcb4e0090ee |
children | 5b68f771d262 |
line wrap: on
line source
### ### Makefile.am for XMMS-SID ### # Require latest automake AUTOMAKE_OPTIONS = 1.9 PACKAGE = @PACKAGE@ VERSION = @VERSION@ ACLOCAL_AMFLAGS = -I m4 themetune = Kummatti_City.sid libxmmssiddir = $(pkgdatadir) libxmmssid_DATA = $(themetune) SUBDIRS = po # Personal XMMS directory in user's home USERHOMEPREFIX = $$HOME/.xmms/Plugins # All the rest of the distributed files EXTRA_DIST = mkinstalldirs \ FAQ \ BUGS \ THANKS \ ChangeLog.old \ bootstrap.sh \ xmms-sid.glade \ xmms-sid.spec.in \ xmms-sid.spec \ xmms-1.2.10-songpos.patch \ src/xmms-sid-logo.xpm \ Kummatti_City.sid # Update changelog update: if test -e ".hg"; then hg update tip; fi .changelog: update if test -e ".hg"; then hg2cl; fi touch $@ ChangeLog: .changelog ### ### Install/uninstall-targets for single user ### install-user: $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f="`echo $$p | sed -e 's|^.*/||'`"; \ echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(USERHOMEPREFIX)/$$f"; \ $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(USERHOMEPREFIX)/$$f; \ else :; fi; \ done uninstall-user: @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ p="`echo $$p | sed -e 's|^.*/||'`"; \ echo " $(LIBTOOL) --mode=uninstall rm -f $(USERHOMEPREFIX)/$$p"; \ $(LIBTOOL) --mode=uninstall rm -f $(USERHOMEPREFIX)/$$p; \ done ### ### Package signature targets ### dist-gzip-sign: dist-gzip @gpg -sba $(distdir).tar.gz dist-xz-sign: dist-xz @gpg -sba $(distdir).tar.xz dist-bzip2-sign: dist-bzip2 @gpg -sba $(distdir).tar.bz2 ### ### Glade-generated sources ### update-glade: xmms-sid.glade glade -w $< touch $@ #src/xs_genui.c src/xs_genui.h src/xs_glade.c src/xs_glade.h src/xs_interface.c src/xs_interface.h: update-glade ### ### Source targets ### # Generated libraries lib_LTLIBRARIES = libxmmssid.la noinst_LTLIBRARIES = libxs_sidplay1.la libxs_sidplay2.la libxs_sidplayfp.la # Generals AM_CFLAGS = -W -Wall -D_REENTRANT @XMMS_CFLAGS@ \ -DTHEMETUNE_FILE="\"$(pkgdatadir)/$(themetune)\"" \ -DLOCALEDIR="\"$(localedir)\"" AM_CXXFLAGS = $(AM_CFLAGS) libxmmssid_la_LDFLAGS = -module -avoid-version @BUILDERS_LDFLAGS@ libxmmssid_la_LIBADD = \ libxs_sidplay1.la libxs_sidplay2.la libxs_sidplayfp.la \ @XMMS_LIBS@ @SIDPLAY1_LIBS@ @SIDPLAY2_LIBS@ @BUILDERS_LIBS@ @SIDPLAYFP_LIBS@ # Backend interface sources libxs_sidplay1_la_SOURCES = src/xmms-sid.h src/xs_backend.h src/xs_sidplay1.cpp src/xs_sidplay1.h libxs_sidplay1_la_CFLAGS = @SIDPLAY1_CFLAGS@ libxs_sidplay2_la_SOURCES = src/xmms-sid.h src/xs_backend.h src/xs_sidplay2.cpp src/xs_sidplay2.h libxs_sidplay2_la_CFLAGS = @SIDPLAY2_CFLAGS@ @BUILDERS_CFLAGS@ libxs_sidplayfp_la_SOURCES = src/xmms-sid.h src/xs_backend.h src/xs_sidplayfp.cpp src/xs_sidplayfp.h libxs_sidplayfp_la_CFLAGS = @SIDPLAYFP_CFLAGS@ # Plugin sources libxmmssid_la_SOURCES = \ src/xs_init.c \ src/xs_about.c \ src/xs_support.c src/xs_support.h \ src/xs_config.c src/xs_config.h \ src/xs_length.c src/xs_length.h \ src/xs_genui.c src/xs_genui.h \ src/xs_glade.c src/xs_glade.h \ src/xs_interface.c src/xs_interface.h \ src/xs_curve.c src/xs_curve.h \ src/xs_stil.c src/xs_stil.h \ src/xs_title.c src/xs_title.h \ src/xs_fileinfo.c src/xs_fileinfo.h \ src/xs_slsup.c src/xs_slsup.h \ src/xs_backend.c src/xs_backend.h \ src/xmms-sid.c src/xmms-sid.h