Mercurial > hg > xmms-sid
annotate Makefile.am @ 737:55e992b016a1
Update FAQ.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 05 Nov 2012 14:07:38 +0200 |
parents | 23ca05b27408 |
children | 469b341734b2 |
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 | |
472 | 10 themetune = Kummatti_City.sid |
11 libxmmssiddir = $(pkgdatadir) | |
12 libxmmssid_DATA = $(themetune) | |
13 | |
504 | 14 SUBDIRS = po |
472 | 15 |
181
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
16 # 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
|
17 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
|
18 |
1 | 19 # All the rest of the distributed files |
472 | 20 EXTRA_DIST = mkinstalldirs \ |
180
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
21 FAQ \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
22 BUGS \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
23 THANKS \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
24 ChangeLog.old \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
25 bootstrap.sh \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
26 xmms-sid.glade \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
27 xmms-sid.spec.in \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
28 xmms-sid.spec \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
29 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
|
30 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
|
31 Kummatti_City.sid |
60 | 32 |
187 | 33 |
34 # Update changelog | |
581 | 35 update: |
675 | 36 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
|
37 |
581 | 38 .changelog: update |
675 | 39 if test -e ".hg"; then hg2cl; fi |
597
ffaf0f200e14
Make ChangeLog re-generation conditional.
Matti Hamalainen <ccr@tnsp.org>
parents:
581
diff
changeset
|
40 touch $@ |
581 | 41 |
42 ChangeLog: .changelog | |
187 | 43 |
44 ### | |
45 ### Install/uninstall-targets for single user | |
46 ### | |
181
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
47 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
|
48 @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
|
49 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
|
50 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
|
51 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
|
52 $(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
|
53 else :; fi; \ |
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
54 done |
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
55 |
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
56 uninstall-user: |
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
57 @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
|
58 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
|
59 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
|
60 $(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
|
61 done |
be1cf864f28e
Added install-user and uninstall-user targets which install to current
Matti Hamalainen <ccr@tnsp.org>
parents:
180
diff
changeset
|
62 |
187 | 63 |
64 ### | |
65 ### Source targets | |
66 ### | |
180
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
67 # Generated libraries |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
68 lib_LTLIBRARIES = libxmmssid.la |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
69 |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
70 # Generals |
677
0e879fb48b48
Use the improved m4 macros; Some additional configure cleanups done; Added
Matti Hamalainen <ccr@tnsp.org>
parents:
675
diff
changeset
|
71 AM_CFLAGS = -W -Wall -D_REENTRANT @XMMS_CFLAGS@ @SIDPLAY1_CFLAGS@ \ |
0e879fb48b48
Use the improved m4 macros; Some additional configure cleanups done; Added
Matti Hamalainen <ccr@tnsp.org>
parents:
675
diff
changeset
|
72 @SIDPLAY2_CFLAGS@ @BUILDERS_CFLAGS@ \ |
495 | 73 -DTHEMETUNE_FILE="\"$(pkgdatadir)/$(themetune)\"" \ |
74 -DLOCALEDIR="\"$(localedir)\"" | |
472 | 75 |
180
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
76 AM_CXXFLAGS = $(AM_CFLAGS) |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
77 |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
78 libxmmssid_la_LDFLAGS = -module -avoid-version @BUILDERS_LDFLAGS@ |
677
0e879fb48b48
Use the improved m4 macros; Some additional configure cleanups done; Added
Matti Hamalainen <ccr@tnsp.org>
parents:
675
diff
changeset
|
79 libxmmssid_la_LIBADD = @XMMS_LIBS@ @SIDPLAY1_LIBS@ @SIDPLAY2_LIBS@ @BUILDERS_LIBS@ |
180
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
80 |
480
5abdb806a03f
Update Glade-generated files when xmms-sid.glade changes.
Matti Hamalainen <ccr@tnsp.org>
parents:
475
diff
changeset
|
81 # Glade-generated sources |
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 |
180
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
89 # Plugin sources |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
90 libxmmssid_la_SOURCES = \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
91 src/xs_init.c \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
92 src/xs_about.c \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
93 src/xs_support.c src/xs_support.h \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
94 src/xs_config.c src/xs_config.h \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
95 src/xs_md5.c src/xs_md5.h \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
96 src/xs_length.c src/xs_length.h \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
97 src/xs_genui.c src/xs_genui.h \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
98 src/xs_glade.c src/xs_glade.h \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
99 src/xs_interface.c src/xs_interface.h \ |
350 | 100 src/xs_curve.c src/xs_curve.h \ |
180
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
101 src/xs_stil.c src/xs_stil.h \ |
211
49bd07b7e724
Temporarily remove cvs2cl usage
Matti Hamalainen <ccr@tnsp.org>
parents:
200
diff
changeset
|
102 src/xs_title.c src/xs_title.h \ |
236 | 103 src/xs_fileinfo.c src/xs_fileinfo.h \ |
726
53a4210889e2
Move engine choosing / initialization code to xs_player.c
Matti Hamalainen <ccr@tnsp.org>
parents:
715
diff
changeset
|
104 src/xs_sidplay.h \ |
180
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
105 src/xs_sidplay1.cc src/xs_sidplay1.h \ |
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
106 src/xs_sidplay2.cc src/xs_sidplay2.h \ |
623 | 107 src/xs_slsup.c src/xs_slsup.h \ |
726
53a4210889e2
Move engine choosing / initialization code to xs_player.c
Matti Hamalainen <ccr@tnsp.org>
parents:
715
diff
changeset
|
108 src/xs_player.c src/xs_player.h \ |
180
d75e8051c84e
Not using recursive make anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
177
diff
changeset
|
109 src/xmms-sid.c src/xmms-sid.h |
254
d3a4d35f2a8f
Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents:
236
diff
changeset
|
110 |