Mercurial > audlegacy
annotate src/audacious/Makefile @ 2730:596abc2be8f0 trunk
[svn] - build fix.
author | yaz |
---|---|
date | Thu, 10 May 2007 16:59:22 -0700 |
parents | 3dc52411bdbe |
children | cf080b11c3fa |
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 = \ |
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 = \ |
63 build_stamp.c \ | |
2712
aeb4d8da1543
[svn] - move configdb public API to audacious proper
nenolod
parents:
2711
diff
changeset
|
64 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
|
65 $(DBUS_C) \ |
2365 | 66 dnd.c \ |
67 dock.c \ | |
68 effect.c \ | |
69 fft.c \ | |
2426 | 70 formatter.c \ |
2365 | 71 general.c \ |
2313 | 72 genevent.c \ |
2365 | 73 glade.c \ |
74 hints.c \ | |
2404 | 75 hook.c \ |
2365 | 76 iir.c \ |
77 iir_cfs.c \ | |
78 iir_fpu.c \ | |
79 input.c \ | |
80 logger.c \ | |
81 main.c \ | |
82 memorypool.c \ | |
2313 | 83 output.c \ |
2365 | 84 pixbuf_effects.c \ |
85 playback.c \ | |
2313 | 86 playlist.c \ |
87 playlist_container.c \ | |
2365 | 88 pluginenum.c \ |
2537 | 89 rcfile.c \ |
2365 | 90 signals.c \ |
91 strings.c \ | |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
92 titlestring.c \ |
2365 | 93 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
|
94 ui_albumart.c \ |
2365 | 95 ui_credits.c \ |
96 ui_equalizer.c \ | |
2313 | 97 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
|
98 ui_fileinfopopup.c \ |
2416
0fd7f4f969ad
[svn] integrated urldecode.* from libaudacious into audacious directory, made separate ui_fileopener.*
mf0102
parents:
2411
diff
changeset
|
99 ui_fileopener.c \ |
2500 | 100 ui_jumptotrack.c \ |
2365 | 101 ui_main.c \ |
2313 | 102 ui_manager.c \ |
2365 | 103 ui_playlist.c \ |
2499
15a1f5ee4d1c
[svn] - playlist_manager -> ui_playlist_manager, since it's a UI component.
nenolod
parents:
2494
diff
changeset
|
104 ui_playlist_manager.c \ |
2365 | 105 ui_preferences.c \ |
2494
59661bd074b4
[svn] Try to put some skinned window code in a common place.
nenolod
parents:
2465
diff
changeset
|
106 ui_skinned_cursor.c \ |
59661bd074b4
[svn] Try to put some skinned window code in a common place.
nenolod
parents:
2465
diff
changeset
|
107 ui_skinned_window.c \ |
2365 | 108 ui_skinselector.c \ |
2422 | 109 ui_urlopener.c \ |
2416
0fd7f4f969ad
[svn] integrated urldecode.* from libaudacious into audacious directory, made separate ui_fileopener.*
mf0102
parents:
2411
diff
changeset
|
110 urldecode.c \ |
2365 | 111 util.c \ |
2494
59661bd074b4
[svn] Try to put some skinned window code in a common place.
nenolod
parents:
2465
diff
changeset
|
112 vfs.c \ |
2365 | 113 vfs_buffer.c \ |
114 vfs_buffered_file.c \ | |
115 vfs_common.c \ | |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
116 visualization.c \ |
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
117 xconvert.c |
2313 | 118 |
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
|
119 DBUS_BINDINGS_SOURCES = \ |
2708 | 120 objects.xml \ |
121 mpris_root.xml \ | |
122 mpris_tracklist.xml \ | |
123 mpris_player.xml | |
124 | |
2313 | 125 OBJECTS = ${SOURCES:.c=.o} |
126 | |
2691 | 127 LIBDEP = widgets/libwidgets.a ../libguess/libguess.a ../librcd/librcd.a |
128 | |
2313 | 129 desktop_DATA = audacious.desktop |
130 desktopdir = $(datadir)/applications | |
131 | |
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
|
132 depend: $(DBUS_BINDINGS) |
2708 | 133 |
2691 | 134 audacious: $(OBJECTS) $(LIBDEP) |
2313 | 135 $(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ |
136 @printf "%10s %-20s\n" LINK $@ | |
137 | |
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
|
138 dbus-server-bindings.h: $(DBUS_BINDINGS_SOURCES) |
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
|
139 $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=audacious_remote 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
|
140 # $(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
|
141 # $(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
|
142 # $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=mpris_player mpris_player.xml >> $@ |
2703 | 143 @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
|
144 |
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
|
145 dbus-client-bindings.h: $(DBUS_BINDINGS_SOURCES) |
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_BINDING_TOOL) --mode=glib-client --prefix=audacious_remote objects.xml > $@ |
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 @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
|
148 |
2313 | 149 OBJECTIVE_DATA = audacious.desktop:$(datadir)/applications |