annotate src/audacious/Makefile @ 2703:fa67680f3a29 trunk

[svn] - add mpris root node to dbus-bindings.
author nenolod
date Mon, 07 May 2007 17:51:05 -0700
parents c2b82432c1b6
children 7d9139b393ce
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
4
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
5 SUBDIRS = widgets glade images ui
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
6
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
7 OBJECTIVE_BINS = audacious
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
8 OBJECTIVE_LIBS_NOINST += $(DBUS_BINDINGS_H)
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
9
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
10 LDFLAGS += $(AUDLDFLAGS)
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
11
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
12 LDADD = \
2571
c293ff5ec46f [svn] - use $(LIBINTL) rule, not $(LTLIBINTL). unbreaks OSX platform port.
nenolod
parents: 2541
diff changeset
13 -L.. $(LIBINTL) \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
14 -L../libaudacious -laudacious \
2538
719e0898ff3c [svn] - Patch to use libsamplerate for high-quality interpolated upsampling,
nenolod
parents: 2537
diff changeset
15 $(samplerate_LIBS) \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
16 $(CHARDET_LIBS) \
2441
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
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) \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
20 $(LIBGLADE_LIBS) \
2441
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
21 $(REGEX_LIBS) \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
22 ./widgets/libwidgets.a
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
23
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
24 CFLAGS += \
2631
a2afa6ca7294 [svn] - integrate libmowgli requirement into buildsystem
nenolod
parents: 2589
diff changeset
25 $(MOWGLI_CFLAGS) \
2441
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
26 $(GTK_CFLAGS) \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
27 $(LIBGLADE_CFLAGS) \
2441
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
28 $(BEEP_DEFINES) \
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
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
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
32 $(REGEX_CFLAGS) \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
33 -D_AUDACIOUS_CORE \
2441
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
34 -I.. -I../.. \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
35 -I../intl
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
36
2367
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
37 HEADERS = \
2426
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents: 2422
diff changeset
38 formatter.h \
2537
7aac1b5ef85d [svn] - reinstate rcfile class for now
nenolod
parents: 2536
diff changeset
39 rcfile.h \
2387
af600aefd2cf [svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents: 2386
diff changeset
40 i18n.h \
2367
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
41 input.h \
2404
60f1bc20c19c [svn] - hooking implementation.
nenolod
parents: 2391
diff changeset
42 hook.h \
2386
86ef3bf12a59 [svn] - export main.h again
giacomo
parents: 2385
diff changeset
43 main.h \
2367
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
44 output.h \
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
45 playlist.h \
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
46 playlist_container.h \
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
47 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
48 strings.h \
2441
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
49 titlestring.h \
2367
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
50 ui_fileinfopopup.h \
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
51 ui_preferences.h \
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
52 util.h \
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
53 vfs.h \
2431
3ec22a11c83e [svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents: 2426
diff changeset
54 vfs_buffer.h \
2589
ea470384e752 [svn] - add vfs_buffered_file_release_live_fd().
nenolod
parents: 2571
diff changeset
55 vfs_buffered_file.h \
2431
3ec22a11c83e [svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents: 2426
diff changeset
56 xconvert.h
2367
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
57
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
58 SOURCES = \
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
59 build_stamp.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
60 controlsocket.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
61 $(DBUS_C) \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
62 dnd.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
63 dock.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
64 effect.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
65 fft.c \
2426
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents: 2422
diff changeset
66 formatter.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
67 general.c \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
68 genevent.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
69 glade.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
70 hints.c \
2404
60f1bc20c19c [svn] - hooking implementation.
nenolod
parents: 2391
diff changeset
71 hook.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
72 iir.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
73 iir_cfs.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
74 iir_fpu.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
75 input.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
76 logger.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
77 main.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
78 memorypool.c \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
79 output.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
80 pixbuf_effects.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
81 playback.c \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
82 playlist.c \
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
83 playlist_container.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
84 pluginenum.c \
2537
7aac1b5ef85d [svn] - reinstate rcfile class for now
nenolod
parents: 2536
diff changeset
85 rcfile.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
86 signals.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
87 strings.c \
2431
3ec22a11c83e [svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents: 2426
diff changeset
88 titlestring.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
89 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
90 ui_albumart.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
91 ui_credits.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
92 ui_equalizer.c \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
93 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
94 ui_fileinfopopup.c \
2416
0fd7f4f969ad [svn] integrated urldecode.* from libaudacious into audacious directory, made separate ui_fileopener.*
mf0102
parents: 2411
diff changeset
95 ui_fileopener.c \
2500
04642d2d0941 [svn] - split out jump to track
nenolod
parents: 2499
diff changeset
96 ui_jumptotrack.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
97 ui_main.c \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
98 ui_manager.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
99 ui_playlist.c \
2499
15a1f5ee4d1c [svn] - playlist_manager -> ui_playlist_manager, since it's a UI component.
nenolod
parents: 2494
diff changeset
100 ui_playlist_manager.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
101 ui_preferences.c \
2494
59661bd074b4 [svn] Try to put some skinned window code in a common place.
nenolod
parents: 2465
diff changeset
102 ui_skinned_cursor.c \
59661bd074b4 [svn] Try to put some skinned window code in a common place.
nenolod
parents: 2465
diff changeset
103 ui_skinned_window.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
104 ui_skinselector.c \
2422
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents: 2416
diff changeset
105 ui_urlopener.c \
2416
0fd7f4f969ad [svn] integrated urldecode.* from libaudacious into audacious directory, made separate ui_fileopener.*
mf0102
parents: 2411
diff changeset
106 urldecode.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
107 util.c \
2494
59661bd074b4 [svn] Try to put some skinned window code in a common place.
nenolod
parents: 2465
diff changeset
108 vfs.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
109 vfs_buffer.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
110 vfs_buffered_file.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
111 vfs_common.c \
2431
3ec22a11c83e [svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents: 2426
diff changeset
112 visualization.c \
3ec22a11c83e [svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents: 2426
diff changeset
113 xconvert.c
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
114
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
115 OBJECTS = ${SOURCES:.c=.o}
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
116
2691
ecfb79d60c3a [svn] maintenance of build system:
yaz
parents: 2631
diff changeset
117 LIBDEP = widgets/libwidgets.a ../libguess/libguess.a ../librcd/librcd.a
ecfb79d60c3a [svn] maintenance of build system:
yaz
parents: 2631
diff changeset
118
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
119 desktop_DATA = audacious.desktop
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
120 desktopdir = $(datadir)/applications
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
121
2691
ecfb79d60c3a [svn] maintenance of build system:
yaz
parents: 2631
diff changeset
122 audacious: $(OBJECTS) $(LIBDEP)
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
123 $(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
124 @printf "%10s %-20s\n" LINK $@
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
125
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
126 dbus-bindings.h:
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
127 $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=audacious_remote objects.xml > $@
2703
fa67680f3a29 [svn] - add mpris root node to dbus-bindings.
nenolod
parents: 2694
diff changeset
128 $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=mpris mpris_root.xml >> $@
fa67680f3a29 [svn] - add mpris root node to dbus-bindings.
nenolod
parents: 2694
diff changeset
129 @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
130
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
131 OBJECTIVE_DATA = audacious.desktop:$(datadir)/applications