Mercurial > audlegacy
annotate src/audacious/Makefile @ 2744:8ab4ef180201 trunk
[svn] - auddrct: more calls implemented (part 3)
author | giacomo |
---|---|
date | Fri, 11 May 2007 18:12:56 -0700 |
parents | 953001c668ae |
children | 313ac85816bb |
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) \ |
2730 | 14 -L../libaudclient -laudclient \ |
2538
719e0898ff3c
[svn] - Patch to use libsamplerate for high-quality interpolated upsampling,
nenolod
parents:
2537
diff
changeset
|
15 $(samplerate_LIBS) \ |
2313 | 16 $(CHARDET_LIBS) \ |
2441 | 17 $(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
|
18 $(DBUS_LIBS) \ |
2631
a2afa6ca7294
[svn] - integrate libmowgli requirement into buildsystem
nenolod
parents:
2589
diff
changeset
|
19 $(MOWGLI_LIBS) \ |
2722
3dc52411bdbe
[svn] MCS_LIBS != LIBMCS_LIBS, allow audacious binary to link.
chainsaw
parents:
2721
diff
changeset
|
20 $(LIBMCS_LIBS) \ |
2313 | 21 $(LIBGLADE_LIBS) \ |
2441 | 22 $(REGEX_LIBS) \ |
2313 | 23 ./widgets/libwidgets.a |
24 | |
25 CFLAGS += \ | |
2631
a2afa6ca7294
[svn] - integrate libmowgli requirement into buildsystem
nenolod
parents:
2589
diff
changeset
|
26 $(MOWGLI_CFLAGS) \ |
2441 | 27 $(GTK_CFLAGS) \ |
2313 | 28 $(LIBGLADE_CFLAGS) \ |
2441 | 29 $(BEEP_DEFINES) \ |
30 $(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
|
31 $(DBUS_CFLAGS) \ |
2538
719e0898ff3c
[svn] - Patch to use libsamplerate for high-quality interpolated upsampling,
nenolod
parents:
2537
diff
changeset
|
32 $(samplerate_CFLAGS) \ |
2441 | 33 $(REGEX_CFLAGS) \ |
2722
3dc52411bdbe
[svn] MCS_LIBS != LIBMCS_LIBS, allow audacious binary to link.
chainsaw
parents:
2721
diff
changeset
|
34 $(LIBMCS_CFLAGS) \ |
2313 | 35 -D_AUDACIOUS_CORE \ |
2441 | 36 -I.. -I../.. \ |
2313 | 37 -I../intl |
38 | |
2367 | 39 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
|
40 auddrct.h \ |
2712
aeb4d8da1543
[svn] - move configdb public API to audacious proper
nenolod
parents:
2711
diff
changeset
|
41 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
|
42 dbus.h \ |
2426 | 43 formatter.h \ |
2537 | 44 rcfile.h \ |
2387
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
2386
diff
changeset
|
45 i18n.h \ |
2367 | 46 input.h \ |
2404 | 47 hook.h \ |
2386 | 48 main.h \ |
2367 | 49 output.h \ |
50 playlist.h \ | |
51 playlist_container.h \ | |
52 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
|
53 strings.h \ |
2441 | 54 titlestring.h \ |
2367 | 55 ui_fileinfopopup.h \ |
56 ui_preferences.h \ | |
57 util.h \ | |
58 vfs.h \ | |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
59 vfs_buffer.h \ |
2589 | 60 vfs_buffered_file.h \ |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
61 xconvert.h |
2367 | 62 |
2313 | 63 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
|
64 auddrct.c \ |
2313 | 65 build_stamp.c \ |
2712
aeb4d8da1543
[svn] - move configdb public API to audacious proper
nenolod
parents:
2711
diff
changeset
|
66 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
|
67 $(DBUS_C) \ |
2365 | 68 dnd.c \ |
69 dock.c \ | |
70 effect.c \ | |
71 fft.c \ | |
2426 | 72 formatter.c \ |
2365 | 73 general.c \ |
2313 | 74 genevent.c \ |
2365 | 75 glade.c \ |
76 hints.c \ | |
2404 | 77 hook.c \ |
2365 | 78 iir.c \ |
79 iir_cfs.c \ | |
80 iir_fpu.c \ | |
81 input.c \ | |
82 logger.c \ | |
83 main.c \ | |
84 memorypool.c \ | |
2313 | 85 output.c \ |
2365 | 86 pixbuf_effects.c \ |
87 playback.c \ | |
2313 | 88 playlist.c \ |
89 playlist_container.c \ | |
2365 | 90 pluginenum.c \ |
2537 | 91 rcfile.c \ |
2365 | 92 signals.c \ |
93 strings.c \ | |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
94 titlestring.c \ |
2365 | 95 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
|
96 ui_albumart.c \ |
2365 | 97 ui_credits.c \ |
98 ui_equalizer.c \ | |
2313 | 99 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
|
100 ui_fileinfopopup.c \ |
2416
0fd7f4f969ad
[svn] integrated urldecode.* from libaudacious into audacious directory, made separate ui_fileopener.*
mf0102
parents:
2411
diff
changeset
|
101 ui_fileopener.c \ |
2500 | 102 ui_jumptotrack.c \ |
2365 | 103 ui_main.c \ |
2313 | 104 ui_manager.c \ |
2365 | 105 ui_playlist.c \ |
2499
15a1f5ee4d1c
[svn] - playlist_manager -> ui_playlist_manager, since it's a UI component.
nenolod
parents:
2494
diff
changeset
|
106 ui_playlist_manager.c \ |
2365 | 107 ui_preferences.c \ |
2494
59661bd074b4
[svn] Try to put some skinned window code in a common place.
nenolod
parents:
2465
diff
changeset
|
108 ui_skinned_cursor.c \ |
59661bd074b4
[svn] Try to put some skinned window code in a common place.
nenolod
parents:
2465
diff
changeset
|
109 ui_skinned_window.c \ |
2365 | 110 ui_skinselector.c \ |
2422 | 111 ui_urlopener.c \ |
2416
0fd7f4f969ad
[svn] integrated urldecode.* from libaudacious into audacious directory, made separate ui_fileopener.*
mf0102
parents:
2411
diff
changeset
|
112 urldecode.c \ |
2365 | 113 util.c \ |
2494
59661bd074b4
[svn] Try to put some skinned window code in a common place.
nenolod
parents:
2465
diff
changeset
|
114 vfs.c \ |
2365 | 115 vfs_buffer.c \ |
116 vfs_buffered_file.c \ | |
117 vfs_common.c \ | |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
118 visualization.c \ |
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
119 xconvert.c |
2313 | 120 |
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
|
121 DBUS_BINDINGS_SOURCES = \ |
2708 | 122 objects.xml \ |
123 mpris_root.xml \ | |
124 mpris_tracklist.xml \ | |
125 mpris_player.xml | |
126 | |
2313 | 127 OBJECTS = ${SOURCES:.c=.o} |
128 | |
2691 | 129 LIBDEP = widgets/libwidgets.a ../libguess/libguess.a ../librcd/librcd.a |
130 | |
2313 | 131 desktop_DATA = audacious.desktop |
132 desktopdir = $(datadir)/applications | |
133 | |
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
|
134 depend: $(DBUS_BINDINGS) |
2708 | 135 |
2691 | 136 audacious: $(OBJECTS) $(LIBDEP) |
2313 | 137 $(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ |
138 @printf "%10s %-20s\n" LINK $@ | |
139 | |
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
|
140 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
|
141 $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=audacious_rc objects.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_root mpris_root.xml >> $@ |
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
|
143 # $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=mpris_tracklist mpris_tracklist.xml >> $@ |
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
|
144 # $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=mpris_player mpris_player.xml >> $@ |
2703 | 145 @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
|
146 |
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
|
147 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
|
148 $(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
|
149 @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
|
150 |
2313 | 151 OBJECTIVE_DATA = audacious.desktop:$(datadir)/applications |