Mercurial > hg > xmms-sid
annotate 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 |
rev | line source |
---|---|
187 | 1 ### |
2 ### Makefile.am for XMMS-SID | |
3 ### | |
7 | 4 # Require latest automake |
472 | 5 AUTOMAKE_OPTIONS = 1.9 |
1 | 6 |
431 | 7 PACKAGE = @PACKAGE@ |
8 VERSION = @VERSION@ | |
9 | |
806 | 10 ACLOCAL_AMFLAGS = -I m4 |
11 | |
472 | 12 themetune = Kummatti_City.sid |
13 libxmmssiddir = $(pkgdatadir) | |
14 libxmmssid_DATA = $(themetune) | |
15 | |
504 | 16 SUBDIRS = po |
472 | 17 |
181
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
18 # Personal XMMS directory in user's home |
731
23ca05b27408
Fix "userdir only" installation via 'make install-user'.
Matti Hamalainen <ccr@tnsp.org>
parents:
726
diff
changeset
|
19 USERHOMEPREFIX = $$HOME/.xmms/Plugins |
181
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
20 |
1 | 21 # All the rest of the distributed files |
472 | 22 EXTRA_DIST = mkinstalldirs \ |
180
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
23 FAQ \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
24 BUGS \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
25 THANKS \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
26 ChangeLog.old \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
27 bootstrap.sh \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
28 xmms-sid.glade \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
29 xmms-sid.spec.in \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
30 xmms-sid.spec \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
31 xmms-1.2.10-songpos.patch \ |
254
d3a4d35f2a8f
Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents:
236
diff
changeset
|
32 src/xmms-sid-logo.xpm \ |
d3a4d35f2a8f
Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents:
236
diff
changeset
|
33 Kummatti_City.sid |
60 | 34 |
187 | 35 |
36 # Update changelog | |
581 | 37 update: |
675 | 38 if test -e ".hg"; then hg update tip; fi |
180
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
39 |
581 | 40 .changelog: update |
675 | 41 if test -e ".hg"; then hg2cl; fi |
597
ffaf0f200e14
Make ChangeLog re-generation conditional.
Matti Hamalainen <ccr@tnsp.org>
parents:
581
diff
changeset
|
42 touch $@ |
581 | 43 |
44 ChangeLog: .changelog | |
187 | 45 |
46 ### | |
47 ### Install/uninstall-targets for single user | |
48 ### | |
181
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
49 install-user: $(lib_LTLIBRARIES) |
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
50 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ |
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
51 if test -f $$p; then \ |
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
52 f="`echo $$p | sed -e 's|^.*/||'`"; \ |
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
53 echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(USERHOMEPREFIX)/$$f"; \ |
731
23ca05b27408
Fix "userdir only" installation via 'make install-user'.
Matti Hamalainen <ccr@tnsp.org>
parents:
726
diff
changeset
|
54 $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(USERHOMEPREFIX)/$$f; \ |
181
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
55 else :; fi; \ |
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
56 done |
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
57 |
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
58 uninstall-user: |
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
59 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ |
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
60 p="`echo $$p | sed -e 's|^.*/||'`"; \ |
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
61 echo " $(LIBTOOL) --mode=uninstall rm -f $(USERHOMEPREFIX)/$$p"; \ |
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
62 $(LIBTOOL) --mode=uninstall rm -f $(USERHOMEPREFIX)/$$p; \ |
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
63 done |
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
64 |
187 | 65 |
66 ### | |
825
7ba7f095548d
Add dist tarball signing targets.
Matti Hamalainen <ccr@tnsp.org>
parents:
806
diff
changeset
|
67 ### Package signature targets |
7ba7f095548d
Add dist tarball signing targets.
Matti Hamalainen <ccr@tnsp.org>
parents:
806
diff
changeset
|
68 ### |
7ba7f095548d
Add dist tarball signing targets.
Matti Hamalainen <ccr@tnsp.org>
parents:
806
diff
changeset
|
69 dist-gzip-sign: dist-gzip |
7ba7f095548d
Add dist tarball signing targets.
Matti Hamalainen <ccr@tnsp.org>
parents:
806
diff
changeset
|
70 @gpg -sba $(distdir).tar.gz |
7ba7f095548d
Add dist tarball signing targets.
Matti Hamalainen <ccr@tnsp.org>
parents:
806
diff
changeset
|
71 |
7ba7f095548d
Add dist tarball signing targets.
Matti Hamalainen <ccr@tnsp.org>
parents:
806
diff
changeset
|
72 dist-xz-sign: dist-xz |
7ba7f095548d
Add dist tarball signing targets.
Matti Hamalainen <ccr@tnsp.org>
parents:
806
diff
changeset
|
73 @gpg -sba $(distdir).tar.xz |
7ba7f095548d
Add dist tarball signing targets.
Matti Hamalainen <ccr@tnsp.org>
parents:
806
diff
changeset
|
74 |
7ba7f095548d
Add dist tarball signing targets.
Matti Hamalainen <ccr@tnsp.org>
parents:
806
diff
changeset
|
75 dist-bzip2-sign: dist-bzip2 |
7ba7f095548d
Add dist tarball signing targets.
Matti Hamalainen <ccr@tnsp.org>
parents:
806
diff
changeset
|
76 @gpg -sba $(distdir).tar.bz2 |
7ba7f095548d
Add dist tarball signing targets.
Matti Hamalainen <ccr@tnsp.org>
parents:
806
diff
changeset
|
77 |
7ba7f095548d
Add dist tarball signing targets.
Matti Hamalainen <ccr@tnsp.org>
parents:
806
diff
changeset
|
78 |
7ba7f095548d
Add dist tarball signing targets.
Matti Hamalainen <ccr@tnsp.org>
parents:
806
diff
changeset
|
79 ### |
852
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
80 ### Glade-generated sources |
187 | 81 ### |
480
5abdb806a03f
Update Glade-generated files when xmms-sid.glade changes.
Matti Hamalainen <ccr@tnsp.org>
parents:
475
diff
changeset
|
82 update-glade: xmms-sid.glade |
5abdb806a03f
Update Glade-generated files when xmms-sid.glade changes.
Matti Hamalainen <ccr@tnsp.org>
parents:
475
diff
changeset
|
83 glade -w $< |
5abdb806a03f
Update Glade-generated files when xmms-sid.glade changes.
Matti Hamalainen <ccr@tnsp.org>
parents:
475
diff
changeset
|
84 touch $@ |
5abdb806a03f
Update Glade-generated files when xmms-sid.glade changes.
Matti Hamalainen <ccr@tnsp.org>
parents:
475
diff
changeset
|
85 |
507
1c301e659af8
update-glade target for updating Glade generated files.
Matti Hamalainen <ccr@tnsp.org>
parents:
504
diff
changeset
|
86 #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 |
480
5abdb806a03f
Update Glade-generated files when xmms-sid.glade changes.
Matti Hamalainen <ccr@tnsp.org>
parents:
475
diff
changeset
|
87 |
5abdb806a03f
Update Glade-generated files when xmms-sid.glade changes.
Matti Hamalainen <ccr@tnsp.org>
parents:
475
diff
changeset
|
88 |
852
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
89 ### |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
90 ### Source targets |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
91 ### |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
92 # Generated libraries |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
93 lib_LTLIBRARIES = libxmmssid.la |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
94 noinst_LTLIBRARIES = libxs_sidplay1.la libxs_sidplay2.la libxs_sidplayfp.la |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
95 |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
96 # Generals |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
97 AM_CFLAGS = -W -Wall -D_REENTRANT @XMMS_CFLAGS@ \ |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
98 -DTHEMETUNE_FILE="\"$(pkgdatadir)/$(themetune)\"" \ |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
99 -DLOCALEDIR="\"$(localedir)\"" |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
100 |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
101 AM_CXXFLAGS = $(AM_CFLAGS) |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
102 |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
103 |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
104 libxmmssid_la_LDFLAGS = -module -avoid-version @BUILDERS_LDFLAGS@ |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
105 libxmmssid_la_LIBADD = \ |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
106 libxs_sidplay1.la libxs_sidplay2.la libxs_sidplayfp.la \ |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
107 @XMMS_LIBS@ @SIDPLAY1_LIBS@ @SIDPLAY2_LIBS@ @BUILDERS_LIBS@ @SIDPLAYFP_LIBS@ |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
108 |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
109 # Backend interface sources |
883
9dcb4e0090ee
Oops. Durr. Wrong header file in the build. Fixed.
Matti Hamalainen <ccr@tnsp.org>
parents:
872
diff
changeset
|
110 libxs_sidplay1_la_SOURCES = src/xmms-sid.h src/xs_backend.h src/xs_sidplay1.cpp src/xs_sidplay1.h |
852
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
111 libxs_sidplay1_la_CFLAGS = @SIDPLAY1_CFLAGS@ |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
112 |
883
9dcb4e0090ee
Oops. Durr. Wrong header file in the build. Fixed.
Matti Hamalainen <ccr@tnsp.org>
parents:
872
diff
changeset
|
113 libxs_sidplay2_la_SOURCES = src/xmms-sid.h src/xs_backend.h src/xs_sidplay2.cpp src/xs_sidplay2.h |
852
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
114 libxs_sidplay2_la_CFLAGS = @SIDPLAY2_CFLAGS@ @BUILDERS_CFLAGS@ |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
115 |
883
9dcb4e0090ee
Oops. Durr. Wrong header file in the build. Fixed.
Matti Hamalainen <ccr@tnsp.org>
parents:
872
diff
changeset
|
116 libxs_sidplayfp_la_SOURCES = src/xmms-sid.h src/xs_backend.h src/xs_sidplayfp.cpp src/xs_sidplayfp.h |
852
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
117 libxs_sidplayfp_la_CFLAGS = @SIDPLAYFP_CFLAGS@ |
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
118 |
180
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
119 # Plugin sources |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
120 libxmmssid_la_SOURCES = \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
121 src/xs_init.c \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
122 src/xs_about.c \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
123 src/xs_support.c src/xs_support.h \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
124 src/xs_config.c src/xs_config.h \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
125 src/xs_length.c src/xs_length.h \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
126 src/xs_genui.c src/xs_genui.h \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
127 src/xs_glade.c src/xs_glade.h \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
128 src/xs_interface.c src/xs_interface.h \ |
350 | 129 src/xs_curve.c src/xs_curve.h \ |
180
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
130 src/xs_stil.c src/xs_stil.h \ |
211
49bd07b7e724
Temporarily remove cvs2cl usage
Matti Hamalainen <ccr@tnsp.org>
parents:
200
diff
changeset
|
131 src/xs_title.c src/xs_title.h \ |
236 | 132 src/xs_fileinfo.c src/xs_fileinfo.h \ |
623 | 133 src/xs_slsup.c src/xs_slsup.h \ |
872
b02f934d8224
Move some code to xs_backend.
Matti Hamalainen <ccr@tnsp.org>
parents:
862
diff
changeset
|
134 src/xs_backend.c src/xs_backend.h \ |
180
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
135 src/xmms-sid.c src/xmms-sid.h |
852
8329dca1bea5
Separate backends into sub-libraries.
Matti Hamalainen <ccr@tnsp.org>
parents:
838
diff
changeset
|
136 |