Mercurial > audlegacy
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 |
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 | |
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 | 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) \ |
2313 | 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 | 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) \ |
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) \ |
2313 | 33 -D_AUDACIOUS_CORE \ |
2441 | 34 -I.. -I../.. \ |
2313 | 35 -I../intl |
36 | |
2367 | 37 HEADERS = \ |
2426 | 38 formatter.h \ |
2537 | 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 | 41 input.h \ |
2404 | 42 hook.h \ |
2386 | 43 main.h \ |
2367 | 44 output.h \ |
45 playlist.h \ | |
46 playlist_container.h \ | |
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 | 49 titlestring.h \ |
2367 | 50 ui_fileinfopopup.h \ |
51 ui_preferences.h \ | |
52 util.h \ | |
53 vfs.h \ | |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
54 vfs_buffer.h \ |
2589 | 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 | 57 |
2313 | 58 SOURCES = \ |
59 build_stamp.c \ | |
2365 | 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 | 62 dnd.c \ |
63 dock.c \ | |
64 effect.c \ | |
65 fft.c \ | |
2426 | 66 formatter.c \ |
2365 | 67 general.c \ |
2313 | 68 genevent.c \ |
2365 | 69 glade.c \ |
70 hints.c \ | |
2404 | 71 hook.c \ |
2365 | 72 iir.c \ |
73 iir_cfs.c \ | |
74 iir_fpu.c \ | |
75 input.c \ | |
76 logger.c \ | |
77 main.c \ | |
78 memorypool.c \ | |
2313 | 79 output.c \ |
2365 | 80 pixbuf_effects.c \ |
81 playback.c \ | |
2313 | 82 playlist.c \ |
83 playlist_container.c \ | |
2365 | 84 pluginenum.c \ |
2537 | 85 rcfile.c \ |
2365 | 86 signals.c \ |
87 strings.c \ | |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
88 titlestring.c \ |
2365 | 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 | 91 ui_credits.c \ |
92 ui_equalizer.c \ | |
2313 | 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 | 96 ui_jumptotrack.c \ |
2365 | 97 ui_main.c \ |
2313 | 98 ui_manager.c \ |
2365 | 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 | 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 | 104 ui_skinselector.c \ |
2422 | 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 | 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 | 109 vfs_buffer.c \ |
110 vfs_buffered_file.c \ | |
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 | 114 |
115 OBJECTS = ${SOURCES:.c=.o} | |
116 | |
2691 | 117 LIBDEP = widgets/libwidgets.a ../libguess/libguess.a ../librcd/librcd.a |
118 | |
2313 | 119 desktop_DATA = audacious.desktop |
120 desktopdir = $(datadir)/applications | |
121 | |
2691 | 122 audacious: $(OBJECTS) $(LIBDEP) |
2313 | 123 $(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ |
124 @printf "%10s %-20s\n" LINK $@ | |
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 | 128 $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=mpris mpris_root.xml >> $@ |
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 | 131 OBJECTIVE_DATA = audacious.desktop:$(datadir)/applications |