Mercurial > audlegacy
annotate src/audacious/Makefile @ 2769:bf2d80abf76e trunk
[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.
author | magma |
---|---|
date | Sun, 13 May 2007 18:38:53 -0700 |
parents | 4a5cdf975bb3 |
children | 4585019eb82e |
rev | line source |
---|---|
2409
30ab29ed32d8
[svn] - back out objective-make topdir probe stuff, it doesnt work on some
nenolod
parents:
2404
diff
changeset
|
1 include ../../mk/rules.mk |
30ab29ed32d8
[svn] - back out objective-make topdir probe stuff, it doesnt work on some
nenolod
parents:
2404
diff
changeset
|
2 include ../../mk/init.mk |
30ab29ed32d8
[svn] - back out objective-make topdir probe stuff, it doesnt work on some
nenolod
parents:
2404
diff
changeset
|
3 include ../../mk/objective.mk |
2313 | 4 |
5 SUBDIRS = widgets glade images ui | |
6 | |
7 OBJECTIVE_BINS = audacious | |
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
|
8 OBJECTIVE_LIBS_NOINST = $(DBUS_BINDINGS) |
2313 | 9 |
10 LDFLAGS += $(AUDLDFLAGS) | |
11 | |
12 LDADD = \ | |
2571
c293ff5ec46f
[svn] - use $(LIBINTL) rule, not $(LTLIBINTL). unbreaks OSX platform port.
nenolod
parents:
2541
diff
changeset
|
13 -L.. $(LIBINTL) \ |
2538
719e0898ff3c
[svn] - Patch to use libsamplerate for high-quality interpolated upsampling,
nenolod
parents:
2537
diff
changeset
|
14 $(samplerate_LIBS) \ |
2313 | 15 $(CHARDET_LIBS) \ |
2441 | 16 $(GTK_LIBS) \ |
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
|
17 $(DBUS_LIBS) \ |
2631
a2afa6ca7294
[svn] - integrate libmowgli requirement into buildsystem
nenolod
parents:
2589
diff
changeset
|
18 $(MOWGLI_LIBS) \ |
2722
3dc52411bdbe
[svn] MCS_LIBS != LIBMCS_LIBS, allow audacious binary to link.
chainsaw
parents:
2721
diff
changeset
|
19 $(LIBMCS_LIBS) \ |
2313 | 20 $(LIBGLADE_LIBS) \ |
2441 | 21 $(REGEX_LIBS) \ |
2313 | 22 ./widgets/libwidgets.a |
23 | |
24 CFLAGS += \ | |
2631
a2afa6ca7294
[svn] - integrate libmowgli requirement into buildsystem
nenolod
parents:
2589
diff
changeset
|
25 $(MOWGLI_CFLAGS) \ |
2441 | 26 $(GTK_CFLAGS) \ |
2313 | 27 $(LIBGLADE_CFLAGS) \ |
2441 | 28 $(BEEP_DEFINES) \ |
29 $(ARCH_DEFINES) \ | |
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
|
30 $(DBUS_CFLAGS) \ |
2538
719e0898ff3c
[svn] - Patch to use libsamplerate for high-quality interpolated upsampling,
nenolod
parents:
2537
diff
changeset
|
31 $(samplerate_CFLAGS) \ |
2441 | 32 $(REGEX_CFLAGS) \ |
2722
3dc52411bdbe
[svn] MCS_LIBS != LIBMCS_LIBS, allow audacious binary to link.
chainsaw
parents:
2721
diff
changeset
|
33 $(LIBMCS_CFLAGS) \ |
2313 | 34 -D_AUDACIOUS_CORE \ |
2441 | 35 -I.. -I../.. \ |
2313 | 36 -I../intl |
37 | |
2367 | 38 HEADERS = \ |
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
|
39 auddrct.h \ |
2712
aeb4d8da1543
[svn] - move configdb public API to audacious proper
nenolod
parents:
2711
diff
changeset
|
40 configdb.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
|
41 dbus.h \ |
2426 | 42 formatter.h \ |
2537 | 43 rcfile.h \ |
2387
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
2386
diff
changeset
|
44 i18n.h \ |
2367 | 45 input.h \ |
2404 | 46 hook.h \ |
2386 | 47 main.h \ |
2367 | 48 output.h \ |
49 playlist.h \ | |
50 playlist_container.h \ | |
51 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
|
52 strings.h \ |
2441 | 53 titlestring.h \ |
2367 | 54 ui_fileinfopopup.h \ |
55 ui_preferences.h \ | |
56 util.h \ | |
57 vfs.h \ | |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
58 vfs_buffer.h \ |
2589 | 59 vfs_buffered_file.h \ |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
60 xconvert.h |
2367 | 61 |
2313 | 62 SOURCES = \ |
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
|
63 auddrct.c \ |
2313 | 64 build_stamp.c \ |
2712
aeb4d8da1543
[svn] - move configdb public API to audacious proper
nenolod
parents:
2711
diff
changeset
|
65 configdb.c \ |
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
|
66 $(DBUS_C) \ |
2365 | 67 dnd.c \ |
68 dock.c \ | |
69 effect.c \ | |
70 fft.c \ | |
2426 | 71 formatter.c \ |
2365 | 72 general.c \ |
2313 | 73 genevent.c \ |
2365 | 74 glade.c \ |
75 hints.c \ | |
2404 | 76 hook.c \ |
2365 | 77 iir.c \ |
78 iir_cfs.c \ | |
79 iir_fpu.c \ | |
80 input.c \ | |
81 logger.c \ | |
82 main.c \ | |
83 memorypool.c \ | |
2313 | 84 output.c \ |
2365 | 85 pixbuf_effects.c \ |
86 playback.c \ | |
2313 | 87 playlist.c \ |
88 playlist_container.c \ | |
2365 | 89 pluginenum.c \ |
2537 | 90 rcfile.c \ |
2365 | 91 signals.c \ |
92 strings.c \ | |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
93 titlestring.c \ |
2365 | 94 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
|
95 ui_albumart.c \ |
2365 | 96 ui_credits.c \ |
97 ui_equalizer.c \ | |
2313 | 98 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
|
99 ui_fileinfopopup.c \ |
2416
0fd7f4f969ad
[svn] integrated urldecode.* from libaudacious into audacious directory, made separate ui_fileopener.*
mf0102
parents:
2411
diff
changeset
|
100 ui_fileopener.c \ |
2500 | 101 ui_jumptotrack.c \ |
2365 | 102 ui_main.c \ |
2313 | 103 ui_manager.c \ |
2365 | 104 ui_playlist.c \ |
2499
15a1f5ee4d1c
[svn] - playlist_manager -> ui_playlist_manager, since it's a UI component.
nenolod
parents:
2494
diff
changeset
|
105 ui_playlist_manager.c \ |
2365 | 106 ui_preferences.c \ |
2494
59661bd074b4
[svn] Try to put some skinned window code in a common place.
nenolod
parents:
2465
diff
changeset
|
107 ui_skinned_cursor.c \ |
59661bd074b4
[svn] Try to put some skinned window code in a common place.
nenolod
parents:
2465
diff
changeset
|
108 ui_skinned_window.c \ |
2365 | 109 ui_skinselector.c \ |
2422 | 110 ui_urlopener.c \ |
2416
0fd7f4f969ad
[svn] integrated urldecode.* from libaudacious into audacious directory, made separate ui_fileopener.*
mf0102
parents:
2411
diff
changeset
|
111 urldecode.c \ |
2365 | 112 util.c \ |
2494
59661bd074b4
[svn] Try to put some skinned window code in a common place.
nenolod
parents:
2465
diff
changeset
|
113 vfs.c \ |
2365 | 114 vfs_buffer.c \ |
115 vfs_buffered_file.c \ | |
116 vfs_common.c \ | |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
117 visualization.c \ |
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
118 xconvert.c |
2313 | 119 |
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
|
120 DBUS_BINDINGS_SOURCES = \ |
2708 | 121 objects.xml \ |
122 mpris_root.xml \ | |
123 mpris_tracklist.xml \ | |
124 mpris_player.xml | |
125 | |
2313 | 126 OBJECTS = ${SOURCES:.c=.o} |
127 | |
2691 | 128 LIBDEP = widgets/libwidgets.a ../libguess/libguess.a ../librcd/librcd.a |
129 | |
2313 | 130 desktop_DATA = audacious.desktop |
131 desktopdir = $(datadir)/applications | |
132 | |
2768
4a5cdf975bb3
[svn] Added a hook when building dependencies so that the dbus-bindings are created first without producing any error messages.
magma
parents:
2765
diff
changeset
|
133 depend-prehook: $(DBUS_BINDINGS) |
2708 | 134 |
2691 | 135 audacious: $(OBJECTS) $(LIBDEP) |
2313 | 136 $(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ |
137 @printf "%10s %-20s\n" LINK $@ | |
138 | |
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
|
139 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
|
140 $(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
|
141 $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=mpris_root mpris_root.xml >> $@ |
2706
958d12f78138
[svn] Completed the implementation of all the stubs in dbus.c, and commented the creation of the mpris dbus bindings to fix compilation issues.
magma
parents:
2705
diff
changeset
|
142 # $(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
|
143 $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=mpris_player mpris_player.xml >> $@ |
2703 | 144 @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
|
145 |
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
|
146 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
|
147 $(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
|
148 @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
|
149 |
2313 | 150 OBJECTIVE_DATA = audacious.desktop:$(datadir)/applications |