Mercurial > audlegacy
annotate src/audacious/Makefile @ 3572:625af2797f35 trunk
Clean up Makefiles.
author | Jonathan Schleifer <js@h3c.de> |
---|---|
date | Wed, 19 Sep 2007 17:32:47 +0200 |
parents | 3ff87aafe1a4 |
children | ae14a38d2553 |
rev | line source |
---|---|
3572 | 1 SUBDIRS = ${INTL_OBJECTIVE} |
2313 | 2 |
3535 | 3 PROG = audacious |
3572 | 4 SRCS = auddrct.c \ |
5 build_stamp.c \ | |
6 configdb.c \ | |
7 custom_uri.c \ | |
8 discovery.c \ | |
9 dnd.c \ | |
10 dock.c \ | |
11 effect.c \ | |
12 eventqueue.c \ | |
13 fft.c \ | |
14 flow.c \ | |
15 formatter.c \ | |
16 general.c \ | |
17 glade.c \ | |
18 hints.c \ | |
19 hook.c \ | |
20 iir.c \ | |
21 iir_cfs.c \ | |
22 iir_fpu.c \ | |
23 input.c \ | |
24 logger.c \ | |
25 main.c \ | |
26 memorypool.c \ | |
27 mime.c \ | |
28 output.c \ | |
29 pixbuf_effects.c \ | |
30 playback.c \ | |
31 playback_evlisteners.c \ | |
32 playlist.c \ | |
33 playlist_container.c \ | |
34 playlist_evlisteners.c \ | |
35 pluginenum.c \ | |
36 rcfile.c \ | |
37 signals.c \ | |
38 strings.c \ | |
39 tuple.c \ | |
40 tuple_formatter.c \ | |
41 tuple_compiler.c \ | |
42 skin.c \ | |
43 ui_about.c \ | |
44 ui_albumart.c \ | |
45 ui_credits.c \ | |
46 ui_equalizer.c \ | |
47 ui_fileinfo.c \ | |
48 ui_fileinfopopup.c \ | |
49 ui_fileopener.c \ | |
50 ui_jumptotrack.c \ | |
51 ui_lastfm.c \ | |
52 ui_main.c \ | |
53 ui_main_evlisteners.c \ | |
54 ui_manager.c \ | |
55 ui_playlist.c \ | |
56 ui_playlist_manager.c \ | |
57 ui_preferences.c \ | |
58 ui_skinned_cursor.c \ | |
59 ui_skinned_window.c \ | |
60 ui_skinned_button.c \ | |
61 ui_skinned_textbox.c \ | |
62 ui_skinned_number.c \ | |
63 ui_skinned_horizontal_slider.c \ | |
64 ui_vis.c \ | |
65 ui_svis.c \ | |
66 ui_skinned_menurow.c \ | |
67 ui_skinned_playstatus.c \ | |
68 ui_skinned_monostereo.c \ | |
69 ui_skinned_equalizer_slider.c \ | |
70 ui_skinned_equalizer_graph.c \ | |
71 ui_skinned_playlist_slider.c \ | |
72 ui_skinned_playlist.c \ | |
73 ui_skinselector.c \ | |
74 ui_urlopener.c \ | |
75 util.c \ | |
76 vfs.c \ | |
77 vfs_buffer.c \ | |
78 vfs_buffered_file.c \ | |
79 vfs_common.c \ | |
80 visualization.c \ | |
81 volumecontrol.c \ | |
82 sync-menu.c \ | |
83 xconvert.c | |
2313 | 84 |
3535 | 85 ifdef USE_DBUS |
86 SRCS += dbus.c | |
87 endif | |
88 | |
3572 | 89 INCLUDES = auddrct.h \ |
90 configdb.h \ | |
91 custom_uri.h \ | |
92 dbus.h \ | |
93 discovery.h \ | |
94 dbus-service.h \ | |
95 eventqueue.h \ | |
96 flow.h \ | |
97 formatter.h \ | |
98 rcfile.h \ | |
99 i18n.h \ | |
100 input.h \ | |
101 hook.h \ | |
102 main.h \ | |
103 mime.h \ | |
104 output.h \ | |
105 playback.h \ | |
106 playlist.h \ | |
107 playlist_container.h \ | |
108 plugin.h \ | |
109 strings.h \ | |
110 tuple.h \ | |
111 tuple_formatter.h \ | |
112 tuple_compiler.h \ | |
113 ui_fileinfopopup.h \ | |
114 ui_lastfm.h \ | |
115 ui_plugin_menu.h \ | |
116 ui_preferences.h \ | |
117 util.h \ | |
118 vfs.h \ | |
119 vfs_buffer.h \ | |
120 vfs_buffered_file.h \ | |
121 xconvert.h | |
122 | |
123 DATA = glade/fileinfo.glade \ | |
124 glade/prefswin.glade \ | |
125 images/about-logo.png \ | |
126 images/appearance.png \ | |
127 images/audacious_eq.xpm \ | |
128 images/audacious_player.xpm \ | |
129 images/audacious_playlist.xpm \ | |
130 images/audio.png \ | |
131 images/connectivity.png \ | |
132 images/eq.png \ | |
133 images/info.png \ | |
134 images/menu_invert_playlist.png \ | |
135 images/menu_queue_toggle.png \ | |
136 images/menu_randomize_playlist.png \ | |
137 images/menu_remove_dups.png \ | |
138 images/menu_remove_unavail.png \ | |
139 images/menu_select_all.png \ | |
140 images/menu_select_invert.png \ | |
141 images/menu_select_none.png \ | |
142 images/menu_sort_artist.png \ | |
143 images/menu_sort_filename.png \ | |
144 images/menu_sort_pathfile.png \ | |
145 images/menu_sort_title.png \ | |
146 images/mouse.png \ | |
147 images/pl.png \ | |
148 images/play.png \ | |
149 images/playlist.png \ | |
150 images/plugins.png \ | |
151 ui/equalizer.ui \ | |
152 ui/mainwin.ui \ | |
153 ui/playlist.ui \ | |
154 ui/carbon-menubar.ui | |
2785 | 155 |
3535 | 156 include ../../buildsys.mk |
3572 | 157 include ../../extra.mk |
2771
4585019eb82e
[svn] -Renamed MPRIS /TrackList Shuffle method to Random
magma
parents:
2769
diff
changeset
|
158 |
3572 | 159 LDFLAGS += ${AUDLDFLAGS} ${EXPORTDYN} |
160 LIBS += ${LDADD} | |
3434 | 161 |
3536
66c6a8a79034
Fix depend-hook call.
William Pitcock <nenolod@atheme.org>
parents:
3535
diff
changeset
|
162 ifdef USE_DBUS |
66c6a8a79034
Fix depend-hook call.
William Pitcock <nenolod@atheme.org>
parents:
3535
diff
changeset
|
163 CPPFLAGS += -I../libaudclient |
66c6a8a79034
Fix depend-hook call.
William Pitcock <nenolod@atheme.org>
parents:
3535
diff
changeset
|
164 DBUS_BINDINGS = dbus-server-bindings.h dbus-client-bindings.h |
66c6a8a79034
Fix depend-hook call.
William Pitcock <nenolod@atheme.org>
parents:
3535
diff
changeset
|
165 LIBS += -L../libaudclient -laudclient |
66c6a8a79034
Fix depend-hook call.
William Pitcock <nenolod@atheme.org>
parents:
3535
diff
changeset
|
166 endif |
66c6a8a79034
Fix depend-hook call.
William Pitcock <nenolod@atheme.org>
parents:
3535
diff
changeset
|
167 |
3572 | 168 depend-hook: ${DBUS_BINDINGS} |
3535 | 169 |
3572 | 170 CPPFLAGS += -DHAVE_CONFIG_H \ |
171 ${MOWGLI_CFLAGS} \ | |
172 ${GTK_CFLAGS} \ | |
173 ${LIBGLADE_CFLAGS} \ | |
174 ${BEEP_DEFINES} \ | |
175 ${ARCH_DEFINES} \ | |
176 ${DBUS_CFLAGS} \ | |
177 ${samplerate_CFLAGS} \ | |
178 ${REGEX_CFLAGS} \ | |
179 ${LIBMCS_CFLAGS} \ | |
180 -D_AUDACIOUS_CORE \ | |
181 -I.. -I../.. \ | |
182 -I./intl | |
3535 | 183 |
3572 | 184 LIBS += ${LIBINTL} \ |
185 ${samplerate_LIBS} \ | |
186 ../libguess/libguess.a \ | |
187 ${GTK_LIBS} \ | |
188 ${DBUS_LIBS} \ | |
189 ${MOWGLI_LIBS} \ | |
190 ${LIBMCS_LIBS} \ | |
191 ${LIBGLADE_LIBS} \ | |
192 ${REGEX_LIBS} | |
3535 | 193 |
2905
084d367e3577
separate build_stamp.c from depend-prehook to avoid excessive stamping.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2842
diff
changeset
|
194 build_stamp.c: |
2837
b6b8fe38e1e3
Fix handling of buildstamp rule.
William Pitcock <nenolod@atheme.org>
parents:
2836
diff
changeset
|
195 if [ -d ../../.hg ]; then \ |
b6b8fe38e1e3
Fix handling of buildstamp rule.
William Pitcock <nenolod@atheme.org>
parents:
2836
diff
changeset
|
196 revh=`hg tip --template 'const char *svn_stamp = "#rev#:#node|short#";\n' 2>/dev/null`; \ |
2836
7035e35d4067
Remove build_stamp.c and generate it on demand.
William Pitcock <nenolod@atheme.org>
parents:
2785
diff
changeset
|
197 [ -z "$$revh" ] || echo "$$revh" > build_stamp.c; \ |
7035e35d4067
Remove build_stamp.c and generate it on demand.
William Pitcock <nenolod@atheme.org>
parents:
2785
diff
changeset
|
198 fi |
7035e35d4067
Remove build_stamp.c and generate it on demand.
William Pitcock <nenolod@atheme.org>
parents:
2785
diff
changeset
|
199 |
3535 | 200 clean-hook: |
2905
084d367e3577
separate build_stamp.c from depend-prehook to avoid excessive stamping.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2842
diff
changeset
|
201 if [ -d ../../.hg ]; then \ |
084d367e3577
separate build_stamp.c from depend-prehook to avoid excessive stamping.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2842
diff
changeset
|
202 rm -f build_stamp.c; \ |
084d367e3577
separate build_stamp.c from depend-prehook to avoid excessive stamping.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2842
diff
changeset
|
203 fi |
084d367e3577
separate build_stamp.c from depend-prehook to avoid excessive stamping.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2842
diff
changeset
|
204 |
3572 | 205 DBUS_BINDINGS_SOURCES = objects.xml \ |
206 mpris_root.xml \ | |
207 mpris_tracklist.xml \ | |
208 mpris_player.xml | |
2708 | 209 |
2313 | 210 desktop_DATA = audacious.desktop |
3572 | 211 desktopdir = ${datadir}/applicationu |
2313 | 212 |
3572 | 213 dbus-server-bindings.h: ${DBUS_BINDINGS_SOURCES} |
214 ${DBUS_BINDING_TOOL} --mode=glib-server --prefix=audacious_rc objects.xml > $@ | |
215 ${DBUS_BINDING_TOOL} --mode=glib-server --prefix=mpris_root mpris_root.xml >> $@ | |
216 ${DBUS_BINDING_TOOL} --mode=glib-server --prefix=mpris_tracklist mpris_tracklist.xml >> $@ | |
217 ${DBUS_BINDING_TOOL} --mode=glib-server --prefix=mpris_player mpris_player.xml >> $@ | |
2694
c2b82432c1b6
[svn] Added basic DBus support, disabled by default with a configuration option to enable it. The general and playback information/manipulation methods are currently the only ones implemented. That is version, play, pause, stop, playing, paused, stopped, status, and seek. There are stubs for many unimplemented methods.
magma
parents:
2691
diff
changeset
|
218 |
3572 | 219 dbus-client-bindings.h: ${DBUS_BINDINGS_SOURCES} |
220 ${DBUS_BINDING_TOOL} --mode=glib-client --prefix=audacious_rc objects.xml > $@ | |
2711
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
2709
diff
changeset
|
221 |
3572 | 222 OBJECTIVE_DATA = audacious.desktop:${datadir}/applications |