annotate src/audacious/Makefile @ 3277:949480cc9d98 trunk

don't do gtk_widget_show_all(mainwin) when player is not visible
author Tomasz Mon <desowin@gmail.com>
date Thu, 09 Aug 2007 10:08:54 +0200
parents 30ed2878807f
children 04df6bd984ad
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
3251
f02623377013 goodbye widgets directory
Tomasz Mon <desowin@gmail.com>
parents: 3227
diff changeset
5 SUBDIRS = $(INTL_OBJECTIVE) glade images ui
2313
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
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
8
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
9 LDFLAGS += $(AUDLDFLAGS)
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
10
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
11 LDADD = \
3044
994d8a688d99 Makefile adjustments.
William Pitcock <nenolod@atheme-project.org>
parents: 3043
diff changeset
12 $(LIBINTL) \
2538
719e0898ff3c [svn] - Patch to use libsamplerate for high-quality interpolated upsampling,
nenolod
parents: 2537
diff changeset
13 $(samplerate_LIBS) \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
14 $(CHARDET_LIBS) \
2441
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
15 $(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
16 $(DBUS_LIBS) \
2631
a2afa6ca7294 [svn] - integrate libmowgli requirement into buildsystem
nenolod
parents: 2589
diff changeset
17 $(MOWGLI_LIBS) \
2722
3dc52411bdbe [svn] MCS_LIBS != LIBMCS_LIBS, allow audacious binary to link.
chainsaw
parents: 2721
diff changeset
18 $(LIBMCS_LIBS) \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
19 $(LIBGLADE_LIBS) \
3251
f02623377013 goodbye widgets directory
Tomasz Mon <desowin@gmail.com>
parents: 3227
diff changeset
20 $(REGEX_LIBS)
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
21
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
22 CFLAGS += \
2631
a2afa6ca7294 [svn] - integrate libmowgli requirement into buildsystem
nenolod
parents: 2589
diff changeset
23 $(MOWGLI_CFLAGS) \
2441
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
24 $(GTK_CFLAGS) \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
25 $(LIBGLADE_CFLAGS) \
2441
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
26 $(BEEP_DEFINES) \
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
27 $(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
28 $(DBUS_CFLAGS) \
2538
719e0898ff3c [svn] - Patch to use libsamplerate for high-quality interpolated upsampling,
nenolod
parents: 2537
diff changeset
29 $(samplerate_CFLAGS) \
2441
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
30 $(REGEX_CFLAGS) \
2722
3dc52411bdbe [svn] MCS_LIBS != LIBMCS_LIBS, allow audacious binary to link.
chainsaw
parents: 2721
diff changeset
31 $(LIBMCS_CFLAGS) \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
32 -D_AUDACIOUS_CORE \
2441
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
33 -I.. -I../.. \
3044
994d8a688d99 Makefile adjustments.
William Pitcock <nenolod@atheme-project.org>
parents: 3043
diff changeset
34 -I./intl
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
35
2367
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
36 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
37 auddrct.h \
2712
aeb4d8da1543 [svn] - move configdb public API to audacious proper
nenolod
parents: 2711
diff changeset
38 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
39 dbus.h \
3149
84c44d369969 Add eventqueue interface.
William Pitcock <nenolod@atheme-project.org>
parents: 3135
diff changeset
40 eventqueue.h \
2426
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents: 2422
diff changeset
41 formatter.h \
2537
7aac1b5ef85d [svn] - reinstate rcfile class for now
nenolod
parents: 2536
diff changeset
42 rcfile.h \
2387
af600aefd2cf [svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents: 2386
diff changeset
43 i18n.h \
2367
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
44 input.h \
2404
60f1bc20c19c [svn] - hooking implementation.
nenolod
parents: 2391
diff changeset
45 hook.h \
2386
86ef3bf12a59 [svn] - export main.h again
giacomo
parents: 2385
diff changeset
46 main.h \
3009
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents: 3001
diff changeset
47 mime.h \
2367
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
48 output.h \
3117
5ab658be1e9f Export playback.h as part of the public API.
William Pitcock <nenolod@atheme-project.org>
parents: 3101
diff changeset
49 playback.h \
2367
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
50 playlist.h \
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
51 playlist_container.h \
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
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
af8b86badfdb [svn] - Cleaned up a bit
mf0102
parents: 2431
diff changeset
54 titlestring.h \
2367
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
55 ui_fileinfopopup.h \
3023
49ce30748980 added lastfm GUI stub
Cristi Magherusan <majeru@atheme-project.org>
parents: 3020
diff changeset
56 ui_lastfm.h\
2367
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
57 ui_preferences.h \
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
58 util.h \
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
59 vfs.h \
2431
3ec22a11c83e [svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents: 2426
diff changeset
60 vfs_buffer.h \
2589
ea470384e752 [svn] - add vfs_buffered_file_release_live_fd().
nenolod
parents: 2571
diff changeset
61 vfs_buffered_file.h \
2431
3ec22a11c83e [svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents: 2426
diff changeset
62 xconvert.h
2367
d5522d3cd68f [svn] fix a stupid bug of mine
mf0102
parents: 2365
diff changeset
63
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
64 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
65 auddrct.c \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
66 build_stamp.c \
2712
aeb4d8da1543 [svn] - move configdb public API to audacious proper
nenolod
parents: 2711
diff changeset
67 configdb.c \
3227
2619f4c62abe added Discovery plugin type
Cristi Magherusan <majeru@atheme-project.org>
parents: 3217
diff changeset
68 discovery.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
69 dnd.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
70 dock.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
71 effect.c \
3149
84c44d369969 Add eventqueue interface.
William Pitcock <nenolod@atheme-project.org>
parents: 3135
diff changeset
72 eventqueue.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
73 fft.c \
2426
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents: 2422
diff changeset
74 formatter.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
75 general.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
76 glade.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
77 hints.c \
2404
60f1bc20c19c [svn] - hooking implementation.
nenolod
parents: 2391
diff changeset
78 hook.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
79 iir.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
80 iir_cfs.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
81 iir_fpu.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
82 input.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
83 logger.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
84 main.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
85 memorypool.c \
3009
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents: 3001
diff changeset
86 mime.c \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
87 output.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
88 pixbuf_effects.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
89 playback.c \
3152
c9471f83944c Add playback_eof(). Plugins should use this instead of playback->eof = 1.
William Pitcock <nenolod@atheme-project.org>
parents: 3151
diff changeset
90 playback_evlisteners.c \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
91 playlist.c \
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
92 playlist_container.c \
3159
a2d552ea48f0 Use message passing to make sure the UI is updated in the main thread.
William Pitcock <nenolod@atheme-project.org>
parents: 3152
diff changeset
93 playlist_evlisteners.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
94 pluginenum.c \
2537
7aac1b5ef85d [svn] - reinstate rcfile class for now
nenolod
parents: 2536
diff changeset
95 rcfile.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
96 signals.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
97 strings.c \
2431
3ec22a11c83e [svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents: 2426
diff changeset
98 titlestring.c \
3251
f02623377013 goodbye widgets directory
Tomasz Mon <desowin@gmail.com>
parents: 3227
diff changeset
99 skin.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
100 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
101 ui_albumart.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
102 ui_credits.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
103 ui_equalizer.c \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
104 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
105 ui_fileinfopopup.c \
2416
0fd7f4f969ad [svn] integrated urldecode.* from libaudacious into audacious directory, made separate ui_fileopener.*
mf0102
parents: 2411
diff changeset
106 ui_fileopener.c \
2500
04642d2d0941 [svn] - split out jump to track
nenolod
parents: 2499
diff changeset
107 ui_jumptotrack.c \
3023
49ce30748980 added lastfm GUI stub
Cristi Magherusan <majeru@atheme-project.org>
parents: 3020
diff changeset
108 ui_lastfm.c\
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
109 ui_main.c \
3165
8775dfc57ead Remove mainwin_set_info_text() craq. Still some work to do.
William Pitcock <nenolod@atheme-project.org>
parents: 3159
diff changeset
110 ui_main_evlisteners.c \
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
111 ui_manager.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
112 ui_playlist.c \
2499
15a1f5ee4d1c [svn] - playlist_manager -> ui_playlist_manager, since it's a UI component.
nenolod
parents: 2494
diff changeset
113 ui_playlist_manager.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
114 ui_preferences.c \
2494
59661bd074b4 [svn] Try to put some skinned window code in a common place.
nenolod
parents: 2465
diff changeset
115 ui_skinned_cursor.c \
59661bd074b4 [svn] Try to put some skinned window code in a common place.
nenolod
parents: 2465
diff changeset
116 ui_skinned_window.c \
2842
c2622a939e9e rename audacious_pbutton to ui_skinned_button
Tomasz Mon <desowin@gmail.com>
parents: 2837
diff changeset
117 ui_skinned_button.c \
2911
cd21a4556dd2 include UiSkinnedTextbox
Tomasz Mon <desowin@gmail.com>
parents: 2905
diff changeset
118 ui_skinned_textbox.c \
3001
6d4b7b739232 fully implement UiSkinnedNumber, number.c no longer needed
Tomasz Mon <desowin@gmail.com>
parents: 2976
diff changeset
119 ui_skinned_number.c \
3040
067e0186623a import UiSkinnedHorizontalSlider
Tomasz Mon <desowin@gmail.com>
parents: 3023
diff changeset
120 ui_skinned_horizontal_slider.c \
3020
6065d70cb790 replace old Vis with UiVis
Tomasz Mon <desowin@gmail.com>
parents: 3009
diff changeset
121 ui_vis.c \
3054
34f37c59e87b replace svis with UiSVis
Tomasz Mon <desowin@gmail.com>
parents: 3044
diff changeset
122 ui_svis.c \
3069
093759970e44 replace Menurow with UiSkinnedMenurow
Tomasz Mon <desowin@gmail.com>
parents: 3054
diff changeset
123 ui_skinned_menurow.c \
3072
84de3244aeaa replace Playstatus with UiSkinnedPlaystatus
Tomasz Mon <desowin@gmail.com>
parents: 3069
diff changeset
124 ui_skinned_playstatus.c \
3073
da99b90d63d3 replace MonoStereo with UiSkinnedMonoStereo
Tomasz Mon <desowin@gmail.com>
parents: 3072
diff changeset
125 ui_skinned_monostereo.c \
3098
821a712c08a3 replace EqSlider with UiSkinnedEqualizerSlider
Tomasz Mon <desowin@gmail.com>
parents: 3092
diff changeset
126 ui_skinned_equalizer_slider.c \
3101
b25db04ee2a1 replace EqGraph with UiSkinnedEqualizerGraph
Tomasz Mon <desowin@gmail.com>
parents: 3098
diff changeset
127 ui_skinned_equalizer_graph.c \
3135
7cdcf8ab08da replace PlaylistSlider with UiSkinnedPlaylistSlider
Tomasz Mon <desowin@gmail.com>
parents: 3117
diff changeset
128 ui_skinned_playlist_slider.c \
3217
764e8f87c186 port PlayList_List to gtk2
Tomasz Mon <desowin@gmail.com>
parents: 3210
diff changeset
129 ui_skinned_playlist.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
130 ui_skinselector.c \
2422
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents: 2416
diff changeset
131 ui_urlopener.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
132 util.c \
2494
59661bd074b4 [svn] Try to put some skinned window code in a common place.
nenolod
parents: 2465
diff changeset
133 vfs.c \
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
134 vfs_buffer.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
135 vfs_buffered_file.c \
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents: 2348
diff changeset
136 vfs_common.c \
2431
3ec22a11c83e [svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents: 2426
diff changeset
137 visualization.c \
3ec22a11c83e [svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents: 2426
diff changeset
138 xconvert.c
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
139
3251
f02623377013 goodbye widgets directory
Tomasz Mon <desowin@gmail.com>
parents: 3227
diff changeset
140 LIBDEP = ../libguess/libguess.a
2785
182aa34ae6c4 [svn] - implement some audacious-remote functions.
yaz
parents: 2771
diff changeset
141
2771
4585019eb82e [svn] -Renamed MPRIS /TrackList Shuffle method to Random
magma
parents: 2769
diff changeset
142 ifdef USE_DBUS
4585019eb82e [svn] -Renamed MPRIS /TrackList Shuffle method to Random
magma
parents: 2769
diff changeset
143 SOURCES += dbus.c
2785
182aa34ae6c4 [svn] - implement some audacious-remote functions.
yaz
parents: 2771
diff changeset
144 CFLAGS += -I../libaudclient
2771
4585019eb82e [svn] -Renamed MPRIS /TrackList Shuffle method to Random
magma
parents: 2769
diff changeset
145 DBUS_BINDINGS = dbus-server-bindings.h dbus-client-bindings.h
4585019eb82e [svn] -Renamed MPRIS /TrackList Shuffle method to Random
magma
parents: 2769
diff changeset
146 OBJECTIVE_LIBS_NOINST += $(DBUS_BINDINGS)
3260
3d740a3c5e16 -Fixed a compilation issue with DBus on Mac
Ben Tucker <ben.tucker@gmail.com>
parents: 3165
diff changeset
147 LIBDEP += ../libaudclient/libaudclient$(SHARED_SUFFIX)
2785
182aa34ae6c4 [svn] - implement some audacious-remote functions.
yaz
parents: 2771
diff changeset
148 LDADD += -L../libaudclient -laudclient
2771
4585019eb82e [svn] -Renamed MPRIS /TrackList Shuffle method to Random
magma
parents: 2769
diff changeset
149 endif
4585019eb82e [svn] -Renamed MPRIS /TrackList Shuffle method to Random
magma
parents: 2769
diff changeset
150
2836
7035e35d4067 Remove build_stamp.c and generate it on demand.
William Pitcock <nenolod@atheme.org>
parents: 2785
diff changeset
151 depend-prehook: $(DBUS_BINDINGS)
2905
084d367e3577 separate build_stamp.c from depend-prehook to avoid excessive stamping.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 2842
diff changeset
152
084d367e3577 separate build_stamp.c from depend-prehook to avoid excessive stamping.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 2842
diff changeset
153 build_stamp.c:
2837
b6b8fe38e1e3 Fix handling of buildstamp rule.
William Pitcock <nenolod@atheme.org>
parents: 2836
diff changeset
154 if [ -d ../../.hg ]; then \
b6b8fe38e1e3 Fix handling of buildstamp rule.
William Pitcock <nenolod@atheme.org>
parents: 2836
diff changeset
155 revh=`hg tip --template 'const char *svn_stamp = "#rev#:#node|short#";\n' 2>/dev/null`; \
2836
7035e35d4067 Remove build_stamp.c and generate it on demand.
William Pitcock <nenolod@atheme.org>
parents: 2785
diff changeset
156 [ -z "$$revh" ] || echo "$$revh" > build_stamp.c; \
2837
b6b8fe38e1e3 Fix handling of buildstamp rule.
William Pitcock <nenolod@atheme.org>
parents: 2836
diff changeset
157 printf "%10s %-20s\n" STAMP "build_stamp.c"; \
2836
7035e35d4067 Remove build_stamp.c and generate it on demand.
William Pitcock <nenolod@atheme.org>
parents: 2785
diff changeset
158 fi
7035e35d4067 Remove build_stamp.c and generate it on demand.
William Pitcock <nenolod@atheme.org>
parents: 2785
diff changeset
159
2905
084d367e3577 separate build_stamp.c from depend-prehook to avoid excessive stamping.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 2842
diff changeset
160 clean-prehook:
084d367e3577 separate build_stamp.c from depend-prehook to avoid excessive stamping.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 2842
diff changeset
161 if [ -d ../../.hg ]; then \
084d367e3577 separate build_stamp.c from depend-prehook to avoid excessive stamping.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 2842
diff changeset
162 rm -f build_stamp.c; \
084d367e3577 separate build_stamp.c from depend-prehook to avoid excessive stamping.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 2842
diff changeset
163 fi
084d367e3577 separate build_stamp.c from depend-prehook to avoid excessive stamping.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 2842
diff changeset
164
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
165 DBUS_BINDINGS_SOURCES = \
2708
b66e6a928a6e [svn] - add dependency for dbus bindings.
yaz
parents: 2706
diff changeset
166 objects.xml \
b66e6a928a6e [svn] - add dependency for dbus bindings.
yaz
parents: 2706
diff changeset
167 mpris_root.xml \
b66e6a928a6e [svn] - add dependency for dbus bindings.
yaz
parents: 2706
diff changeset
168 mpris_tracklist.xml \
b66e6a928a6e [svn] - add dependency for dbus bindings.
yaz
parents: 2706
diff changeset
169 mpris_player.xml
b66e6a928a6e [svn] - add dependency for dbus bindings.
yaz
parents: 2706
diff changeset
170
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
171 OBJECTS = ${SOURCES:.c=.o}
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
172
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
173 desktop_DATA = audacious.desktop
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
174 desktopdir = $(datadir)/applications
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
175
2691
ecfb79d60c3a [svn] maintenance of build system:
yaz
parents: 2631
diff changeset
176 audacious: $(OBJECTS) $(LIBDEP)
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
177 $(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
178 @printf "%10s %-20s\n" LINK $@
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
179
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
180 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
181 $(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
182 $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=mpris_root mpris_root.xml >> $@
2771
4585019eb82e [svn] -Renamed MPRIS /TrackList Shuffle method to Random
magma
parents: 2769
diff changeset
183 $(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
184 $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=mpris_player mpris_player.xml >> $@
2703
fa67680f3a29 [svn] - add mpris root node to dbus-bindings.
nenolod
parents: 2694
diff changeset
185 @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
186
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
187 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
188 $(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
189 @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
190
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
191 OBJECTIVE_DATA = audacious.desktop:$(datadir)/applications