Mercurial > audlegacy
annotate src/audacious/Makefile @ 3535:9ddf21ab5c84 trunk
Transit to Mk2.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Mon, 17 Sep 2007 13:10:19 -0500 |
parents | 87003549ac36 |
children | 66c6a8a79034 |
rev | line source |
---|---|
3535 | 1 include ../../extra.mk |
2313 | 2 |
3251 | 3 SUBDIRS = $(INTL_OBJECTIVE) glade images ui |
2313 | 4 |
3535 | 5 PROG = audacious |
2313 | 6 |
7 LDFLAGS += $(AUDLDFLAGS) | |
8 | |
3535 | 9 INCLUDES = \ |
2739
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
2733
diff
changeset
|
10 auddrct.h \ |
2712
aeb4d8da1543
[svn] - move configdb public API to audacious proper
nenolod
parents:
2711
diff
changeset
|
11 configdb.h \ |
3340
a0c93cb34598
Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
3306
diff
changeset
|
12 custom_uri.h \ |
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
|
13 dbus.h \ |
3384
7ac9c5c6b44e
fixed the interface
Cristi Magherusan <majeru@atheme-project.org>
parents:
3251
diff
changeset
|
14 discovery.h \ |
3347
d3e667797310
include a header that had been missed
mf0102 <0102@gmx.at>
parents:
3340
diff
changeset
|
15 dbus-service.h \ |
3149
84c44d369969
Add eventqueue interface.
William Pitcock <nenolod@atheme-project.org>
parents:
3135
diff
changeset
|
16 eventqueue.h \ |
2426 | 17 formatter.h \ |
2537 | 18 rcfile.h \ |
2387
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
2386
diff
changeset
|
19 i18n.h \ |
2367 | 20 input.h \ |
2404 | 21 hook.h \ |
2386 | 22 main.h \ |
3009
9976e065e2f5
Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
3001
diff
changeset
|
23 mime.h \ |
2367 | 24 output.h \ |
3117
5ab658be1e9f
Export playback.h as part of the public API.
William Pitcock <nenolod@atheme-project.org>
parents:
3101
diff
changeset
|
25 playback.h \ |
2367 | 26 playlist.h \ |
27 playlist_container.h \ | |
28 plugin.h \ | |
2385
ab2b1b6f6179
[svn] - add missing inclusion of strings.h where necessary, do not export main.h and export strings.h
giacomo
parents:
2367
diff
changeset
|
29 strings.h \ |
3278
04df6bd984ad
Tuple API try 1.
William Pitcock <nenolod@atheme-project.org>
parents:
3270
diff
changeset
|
30 tuple.h \ |
3297
575f59c45eaf
install tuple_formatter headers
William Pitcock <nenolod@atheme-project.org>
parents:
3283
diff
changeset
|
31 tuple_formatter.h \ |
3409
86dafe2300f7
Added Tuplez compiler (not used yet, though) and some related changes in
Matti Hamalainen <ccr@tnsp.org>
parents:
3392
diff
changeset
|
32 tuple_compiler.h \ |
2367 | 33 ui_fileinfopopup.h \ |
3023
49ce30748980
added lastfm GUI stub
Cristi Magherusan <majeru@atheme-project.org>
parents:
3020
diff
changeset
|
34 ui_lastfm.h\ |
3306
404ffedef3e1
added support for plugin-customizable menus; plugins can add their own entries (and even submenus) in main and playlist popup menus
Giacomo Lozito <james@develia.org>
parents:
3298
diff
changeset
|
35 ui_plugin_menu.h \ |
2367 | 36 ui_preferences.h \ |
37 util.h \ | |
38 vfs.h \ | |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
39 vfs_buffer.h \ |
2589 | 40 vfs_buffered_file.h \ |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
41 xconvert.h |
2367 | 42 |
3535 | 43 SRCS = \ |
2739
953001c668ae
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
2733
diff
changeset
|
44 auddrct.c \ |
2313 | 45 build_stamp.c \ |
2712
aeb4d8da1543
[svn] - move configdb public API to audacious proper
nenolod
parents:
2711
diff
changeset
|
46 configdb.c \ |
3340
a0c93cb34598
Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
3306
diff
changeset
|
47 custom_uri.c \ |
3227
2619f4c62abe
added Discovery plugin type
Cristi Magherusan <majeru@atheme-project.org>
parents:
3217
diff
changeset
|
48 discovery.c \ |
2365 | 49 dnd.c \ |
50 dock.c \ | |
51 effect.c \ | |
3149
84c44d369969
Add eventqueue interface.
William Pitcock <nenolod@atheme-project.org>
parents:
3135
diff
changeset
|
52 eventqueue.c \ |
2365 | 53 fft.c \ |
2426 | 54 formatter.c \ |
2365 | 55 general.c \ |
56 glade.c \ | |
57 hints.c \ | |
2404 | 58 hook.c \ |
2365 | 59 iir.c \ |
60 iir_cfs.c \ | |
61 iir_fpu.c \ | |
62 input.c \ | |
63 logger.c \ | |
64 main.c \ | |
65 memorypool.c \ | |
3009
9976e065e2f5
Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
3001
diff
changeset
|
66 mime.c \ |
2313 | 67 output.c \ |
2365 | 68 pixbuf_effects.c \ |
69 playback.c \ | |
3152
c9471f83944c
Add playback_eof(). Plugins should use this instead of playback->eof = 1.
William Pitcock <nenolod@atheme-project.org>
parents:
3151
diff
changeset
|
70 playback_evlisteners.c \ |
2313 | 71 playlist.c \ |
72 playlist_container.c \ | |
3159
a2d552ea48f0
Use message passing to make sure the UI is updated in the main thread.
William Pitcock <nenolod@atheme-project.org>
parents:
3152
diff
changeset
|
73 playlist_evlisteners.c \ |
2365 | 74 pluginenum.c \ |
2537 | 75 rcfile.c \ |
2365 | 76 signals.c \ |
77 strings.c \ | |
3278
04df6bd984ad
Tuple API try 1.
William Pitcock <nenolod@atheme-project.org>
parents:
3270
diff
changeset
|
78 tuple.c \ |
3283
6062ef95818b
Add first revision parser code. May or may not work, not hooked up, so I can't test it yet. ;)
William Pitcock <nenolod@atheme-project.org>
parents:
3278
diff
changeset
|
79 tuple_formatter.c \ |
3409
86dafe2300f7
Added Tuplez compiler (not used yet, though) and some related changes in
Matti Hamalainen <ccr@tnsp.org>
parents:
3392
diff
changeset
|
80 tuple_compiler.c \ |
3251 | 81 skin.c \ |
2365 | 82 ui_about.c \ |
2442
44df6c17411b
[svn] - split out albumart locating functions into a seperate file and make the public API available in util.h
nenolod
parents:
2441
diff
changeset
|
83 ui_albumart.c \ |
2365 | 84 ui_credits.c \ |
85 ui_equalizer.c \ | |
2313 | 86 ui_fileinfo.c \ |
2348
564e8a1fe09a
[svn] - made a public API for fileinfopopup (popup that displays metadata, the same used in playlist); now plugins can include ui_fileinfopopup.h to display metadata popups (i.e. statusicon and libnotify plugins)
giacomo
parents:
2341
diff
changeset
|
87 ui_fileinfopopup.c \ |
2416
0fd7f4f969ad
[svn] integrated urldecode.* from libaudacious into audacious directory, made separate ui_fileopener.*
mf0102
parents:
2411
diff
changeset
|
88 ui_fileopener.c \ |
2500 | 89 ui_jumptotrack.c \ |
3023
49ce30748980
added lastfm GUI stub
Cristi Magherusan <majeru@atheme-project.org>
parents:
3020
diff
changeset
|
90 ui_lastfm.c\ |
2365 | 91 ui_main.c \ |
3165
8775dfc57ead
Remove mainwin_set_info_text() craq. Still some work to do.
William Pitcock <nenolod@atheme-project.org>
parents:
3159
diff
changeset
|
92 ui_main_evlisteners.c \ |
2313 | 93 ui_manager.c \ |
2365 | 94 ui_playlist.c \ |
2499
15a1f5ee4d1c
[svn] - playlist_manager -> ui_playlist_manager, since it's a UI component.
nenolod
parents:
2494
diff
changeset
|
95 ui_playlist_manager.c \ |
2365 | 96 ui_preferences.c \ |
2494
59661bd074b4
[svn] Try to put some skinned window code in a common place.
nenolod
parents:
2465
diff
changeset
|
97 ui_skinned_cursor.c \ |
59661bd074b4
[svn] Try to put some skinned window code in a common place.
nenolod
parents:
2465
diff
changeset
|
98 ui_skinned_window.c \ |
2842
c2622a939e9e
rename audacious_pbutton to ui_skinned_button
Tomasz Mon <desowin@gmail.com>
parents:
2837
diff
changeset
|
99 ui_skinned_button.c \ |
2911 | 100 ui_skinned_textbox.c \ |
3001
6d4b7b739232
fully implement UiSkinnedNumber, number.c no longer needed
Tomasz Mon <desowin@gmail.com>
parents:
2976
diff
changeset
|
101 ui_skinned_number.c \ |
3040
067e0186623a
import UiSkinnedHorizontalSlider
Tomasz Mon <desowin@gmail.com>
parents:
3023
diff
changeset
|
102 ui_skinned_horizontal_slider.c \ |
3020 | 103 ui_vis.c \ |
3054 | 104 ui_svis.c \ |
3069
093759970e44
replace Menurow with UiSkinnedMenurow
Tomasz Mon <desowin@gmail.com>
parents:
3054
diff
changeset
|
105 ui_skinned_menurow.c \ |
3072
84de3244aeaa
replace Playstatus with UiSkinnedPlaystatus
Tomasz Mon <desowin@gmail.com>
parents:
3069
diff
changeset
|
106 ui_skinned_playstatus.c \ |
3073
da99b90d63d3
replace MonoStereo with UiSkinnedMonoStereo
Tomasz Mon <desowin@gmail.com>
parents:
3072
diff
changeset
|
107 ui_skinned_monostereo.c \ |
3098
821a712c08a3
replace EqSlider with UiSkinnedEqualizerSlider
Tomasz Mon <desowin@gmail.com>
parents:
3092
diff
changeset
|
108 ui_skinned_equalizer_slider.c \ |
3101
b25db04ee2a1
replace EqGraph with UiSkinnedEqualizerGraph
Tomasz Mon <desowin@gmail.com>
parents:
3098
diff
changeset
|
109 ui_skinned_equalizer_graph.c \ |
3135
7cdcf8ab08da
replace PlaylistSlider with UiSkinnedPlaylistSlider
Tomasz Mon <desowin@gmail.com>
parents:
3117
diff
changeset
|
110 ui_skinned_playlist_slider.c \ |
3217 | 111 ui_skinned_playlist.c \ |
2365 | 112 ui_skinselector.c \ |
2422 | 113 ui_urlopener.c \ |
2365 | 114 util.c \ |
2494
59661bd074b4
[svn] Try to put some skinned window code in a common place.
nenolod
parents:
2465
diff
changeset
|
115 vfs.c \ |
2365 | 116 vfs_buffer.c \ |
117 vfs_buffered_file.c \ | |
118 vfs_common.c \ | |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
119 visualization.c \ |
3417
db83b4a786ed
MacOS platform: Add support code for the MacOS menubar.
William Pitcock <nenolod@atheme.org>
parents:
3409
diff
changeset
|
120 sync-menu.c \ |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
121 xconvert.c |
2313 | 122 |
3535 | 123 ifdef USE_DBUS |
124 SRCS += dbus.c | |
125 endif | |
126 | |
3251 | 127 LIBDEP = ../libguess/libguess.a |
2785 | 128 |
3535 | 129 include ../../buildsys.mk |
2771
4585019eb82e
[svn] -Renamed MPRIS /TrackList Shuffle method to Random
magma
parents:
2769
diff
changeset
|
130 |
3434 | 131 LIBADD += $(LDADD) |
132 | |
3535 | 133 depend-hook: $(DBUS_BINDINGS) |
134 | |
135 CPPFLAGS += -DHAVE_CONFIG_H \ | |
136 $(MOWGLI_CFLAGS) \ | |
137 $(GTK_CFLAGS) \ | |
138 $(LIBGLADE_CFLAGS) \ | |
139 $(BEEP_DEFINES) \ | |
140 $(ARCH_DEFINES) \ | |
141 $(DBUS_CFLAGS) \ | |
142 $(samplerate_CFLAGS) \ | |
143 $(REGEX_CFLAGS) \ | |
144 $(LIBMCS_CFLAGS) \ | |
145 -D_AUDACIOUS_CORE \ | |
146 -I.. -I../.. \ | |
147 -I./intl | |
148 | |
149 LIBS += \ | |
150 $(LIBINTL) \ | |
151 $(samplerate_LIBS) \ | |
152 ../libguess/libguess.a \ | |
153 $(GTK_LIBS) \ | |
154 $(DBUS_LIBS) \ | |
155 $(MOWGLI_LIBS) \ | |
156 $(LIBMCS_LIBS) \ | |
157 $(LIBGLADE_LIBS) \ | |
158 $(REGEX_LIBS) | |
159 | |
160 ifdef USE_DBUS | |
161 CPPFLAGS += -I../libaudclient | |
162 DBUS_BINDINGS = dbus-server-bindings.h dbus-client-bindings.h | |
163 LIBS += -L../libaudclient -laudclient | |
164 endif | |
2905
084d367e3577
separate build_stamp.c from depend-prehook to avoid excessive stamping.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2842
diff
changeset
|
165 |
084d367e3577
separate build_stamp.c from depend-prehook to avoid excessive stamping.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2842
diff
changeset
|
166 build_stamp.c: |
2837
b6b8fe38e1e3
Fix handling of buildstamp rule.
William Pitcock <nenolod@atheme.org>
parents:
2836
diff
changeset
|
167 if [ -d ../../.hg ]; then \ |
b6b8fe38e1e3
Fix handling of buildstamp rule.
William Pitcock <nenolod@atheme.org>
parents:
2836
diff
changeset
|
168 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
|
169 [ -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
|
170 fi |
7035e35d4067
Remove build_stamp.c and generate it on demand.
William Pitcock <nenolod@atheme.org>
parents:
2785
diff
changeset
|
171 |
3535 | 172 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
|
173 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
|
174 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
|
175 fi |
084d367e3577
separate build_stamp.c from depend-prehook to avoid excessive stamping.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2842
diff
changeset
|
176 |
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
|
177 DBUS_BINDINGS_SOURCES = \ |
2708 | 178 objects.xml \ |
179 mpris_root.xml \ | |
180 mpris_tracklist.xml \ | |
181 mpris_player.xml | |
182 | |
2313 | 183 desktop_DATA = audacious.desktop |
184 desktopdir = $(datadir)/applications | |
185 | |
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
|
186 dbus-server-bindings.h: $(DBUS_BINDINGS_SOURCES) |
2733
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2730
diff
changeset
|
187 $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=audacious_rc objects.xml > $@ |
2769
bf2d80abf76e
[svn] Implemented CMD_IS_ADVANCE and CMD_TOGGLE_ADVANCE. Added partial MPRIS support. Root is complete, Player is partially implemented, and TrackList has not been started.
magma
parents:
2768
diff
changeset
|
188 $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=mpris_root mpris_root.xml >> $@ |
2771
4585019eb82e
[svn] -Renamed MPRIS /TrackList Shuffle method to Random
magma
parents:
2769
diff
changeset
|
189 $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=mpris_tracklist mpris_tracklist.xml >> $@ |
2769
bf2d80abf76e
[svn] Implemented CMD_IS_ADVANCE and CMD_TOGGLE_ADVANCE. Added partial MPRIS support. Root is complete, Player is partially implemented, and TrackList has not been started.
magma
parents:
2768
diff
changeset
|
190 $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=mpris_player mpris_player.xml >> $@ |
2703 | 191 @printf "%10s %-20s\n" DBUS-BIND $@ |
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
|
192 |
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
|
193 dbus-client-bindings.h: $(DBUS_BINDINGS_SOURCES) |
2733
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2730
diff
changeset
|
194 $(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
|
195 @printf "%10s %-20s\n" DBUS-BIND $@ |
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
|
196 |
2313 | 197 OBJECTIVE_DATA = audacious.desktop:$(datadir)/applications |
3433
2f96a5ab1916
--enable-pch to use precompiled headers, does not properly work
William Pitcock <nenolod@atheme.org>
parents:
3431
diff
changeset
|
198 |