annotate src/audacious/Makefile @ 4316:e55ecfc55d06

linkage to libSM should use pkg-config otherwise link error might occur on x86_64 dual libs environment.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Tue, 04 Mar 2008 21:00:55 +0900
parents c942eaef7bc6
children e960a507509d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3574
9ffd5a2c5f35 In this special case, we really need extra.mk at the top of the file.
Jonathan Schleifer <js@h3c.de>
parents: 3573
diff changeset
1 include ../../extra.mk
9ffd5a2c5f35 In this special case, we really need extra.mk at the top of the file.
Jonathan Schleifer <js@h3c.de>
parents: 3573
diff changeset
2
3572
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
3 SUBDIRS = ${INTL_OBJECTIVE}
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
4
3641
12500701b6dd Update buildsys (adds ${PROG_SUFFIX}).
Jonathan Schleifer <js@h3c.de>
parents: 3599
diff changeset
5 PROG = audacious${PROG_SUFFIX}
4299
a16edefb8836 - 1st attempt to integrate MPlayer's equalizer (will work in 24bit mode too).
Eugene Zagidullin <e.asphyx@gmail.com>
parents: 4281
diff changeset
6 SRCS = af_equalizer.c \
a16edefb8836 - 1st attempt to integrate MPlayer's equalizer (will work in 24bit mode too).
Eugene Zagidullin <e.asphyx@gmail.com>
parents: 4281
diff changeset
7 auddrct.c \
4053
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
8 build_stamp.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
9 configdb.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
10 custom_uri.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
11 discovery.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
12 dnd.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
13 dock.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
14 effect.c \
4299
a16edefb8836 - 1st attempt to integrate MPlayer's equalizer (will work in 24bit mode too).
Eugene Zagidullin <e.asphyx@gmail.com>
parents: 4281
diff changeset
15 equalizer_flow.c \
4053
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
16 eventqueue.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
17 fft.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
18 flow.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
19 formatter.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
20 general.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
21 hints.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
22 hook.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
23 icons-stock.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
24 input.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
25 logger.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
26 main.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
27 mime.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
28 output.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
29 pixbuf_effects.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
30 playback.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
31 playback_evlisteners.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
32 playlist.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
33 playlist_container.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
34 playlist_evlisteners.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
35 pluginenum.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
36 rcfile.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
37 signals.c \
4259
92642f860860 - added template for src_flow
Eugene Zagidullin <e.asphyx@gmail.com>
parents: 4237
diff changeset
38 src_flow.c \
4053
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
39 strings.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
40 tuple.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
41 tuple_formatter.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
42 tuple_compiler.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
43 skin.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
44 ui_about.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
45 ui_albumart.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
46 ui_credits.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
47 ui_equalizer.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
48 ui_fileinfo.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
49 ui_fileinfopopup.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
50 ui_fileopener.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
51 ui_jumptotrack.c \
4291
ca077e01ed3a Add caching to Jump to Track feature to speed up searches. (Bugzilla #180)
Jussi Judin <jjudin+audacious@iki.fi>
parents: 4281
diff changeset
52 ui_jumptotrack_cache.c \
4053
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
53 ui_main.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
54 ui_main_evlisteners.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
55 ui_manager.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
56 ui_playlist.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
57 ui_playlist_manager.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
58 ui_preferences.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
59 ui_skinned_cursor.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
60 ui_skinned_window.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
61 ui_skinned_button.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
62 ui_skinned_textbox.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
63 ui_skinned_number.c \
3572
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
64 ui_skinned_horizontal_slider.c \
4053
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
65 ui_vis.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
66 ui_svis.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
67 ui_skinned_menurow.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
68 ui_skinned_playstatus.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
69 ui_skinned_monostereo.c \
3572
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
70 ui_skinned_equalizer_slider.c \
4053
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
71 ui_skinned_equalizer_graph.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
72 ui_skinned_playlist_slider.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
73 ui_skinned_playlist.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
74 ui_skinselector.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
75 ui_urlopener.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
76 util.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
77 vfs.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
78 vfs_buffer.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
79 vfs_buffered_file.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
80 vfs_common.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
81 visualization.c \
838ef7dc0cd6 moved icon loading function from main.c to icons-stock.c
mf0102 <0102@gmx.at>
parents: 4046
diff changeset
82 volumecontrol.c \
4281
3c673b6803c1 Remove legacy XMMS format conversion API. We have a new audio engine which does this the correct way.
William Pitcock <nenolod@atheme.org>
parents: 4259
diff changeset
83 sync-menu.c
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
84
3574
9ffd5a2c5f35 In this special case, we really need extra.mk at the top of the file.
Jonathan Schleifer <js@h3c.de>
parents: 3573
diff changeset
85 ifdef USE_DBUS
9ffd5a2c5f35 In this special case, we really need extra.mk at the top of the file.
Jonathan Schleifer <js@h3c.de>
parents: 3573
diff changeset
86 SRCS += dbus.c
9ffd5a2c5f35 In this special case, we really need extra.mk at the top of the file.
Jonathan Schleifer <js@h3c.de>
parents: 3573
diff changeset
87 endif
9ffd5a2c5f35 In this special case, we really need extra.mk at the top of the file.
Jonathan Schleifer <js@h3c.de>
parents: 3573
diff changeset
88
3572
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
89 INCLUDES = auddrct.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
90 configdb.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
91 custom_uri.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
92 dbus.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
93 discovery.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
94 dbus-service.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
95 eventqueue.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
96 flow.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
97 formatter.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
98 rcfile.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
99 i18n.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
100 input.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
101 hook.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
102 main.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
103 mime.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
104 output.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
105 playback.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
106 playlist.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
107 playlist_container.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
108 plugin.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
109 strings.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
110 tuple.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
111 tuple_formatter.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
112 tuple_compiler.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
113 ui_fileinfopopup.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
114 ui_plugin_menu.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
115 ui_preferences.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
116 util.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
117 vfs.h \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
118 vfs_buffer.h \
4281
3c673b6803c1 Remove legacy XMMS format conversion API. We have a new audio engine which does this the correct way.
William Pitcock <nenolod@atheme.org>
parents: 4259
diff changeset
119 vfs_buffered_file.h
3572
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
120
4046
5f9227fe09e9 whoops, forgot to kick eq.png from Makefile
mf0102 <0102@gmx.at>
parents: 3993
diff changeset
121 DATA = images/about-logo.png \
5f9227fe09e9 whoops, forgot to kick eq.png from Makefile
mf0102 <0102@gmx.at>
parents: 3993
diff changeset
122 images/appearance.png \
5f9227fe09e9 whoops, forgot to kick eq.png from Makefile
mf0102 <0102@gmx.at>
parents: 3993
diff changeset
123 images/audacious_eq.xpm \
5f9227fe09e9 whoops, forgot to kick eq.png from Makefile
mf0102 <0102@gmx.at>
parents: 3993
diff changeset
124 images/audacious_player.xpm \
3572
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
125 images/audacious_playlist.xpm \
4046
5f9227fe09e9 whoops, forgot to kick eq.png from Makefile
mf0102 <0102@gmx.at>
parents: 3993
diff changeset
126 images/audio.png \
5f9227fe09e9 whoops, forgot to kick eq.png from Makefile
mf0102 <0102@gmx.at>
parents: 3993
diff changeset
127 images/connectivity.png \
4054
d3b549e75380 removed some old icons and replaced them with shiny, new ones
mf0102 <0102@gmx.at>
parents: 4053
diff changeset
128 images/menu_playlist.png \
d3b549e75380 removed some old icons and replaced them with shiny, new ones
mf0102 <0102@gmx.at>
parents: 4053
diff changeset
129 images/menu_plugin.png \
4046
5f9227fe09e9 whoops, forgot to kick eq.png from Makefile
mf0102 <0102@gmx.at>
parents: 3993
diff changeset
130 images/menu_queue_toggle.png \
3572
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
131 images/menu_randomize_playlist.png \
4046
5f9227fe09e9 whoops, forgot to kick eq.png from Makefile
mf0102 <0102@gmx.at>
parents: 3993
diff changeset
132 images/mouse.png \
4152
9289b6b424cd Added new Playback section
mf0102 <0102@gmx.at>
parents: 4054
diff changeset
133 images/playback.png \
4046
5f9227fe09e9 whoops, forgot to kick eq.png from Makefile
mf0102 <0102@gmx.at>
parents: 3993
diff changeset
134 images/playlist.png \
5f9227fe09e9 whoops, forgot to kick eq.png from Makefile
mf0102 <0102@gmx.at>
parents: 3993
diff changeset
135 images/plugins.png \
4237
8f6956130372 initial Replay Gain support
Eugene Zagidullin <e.asphyx@gmail.com>
parents: 4233
diff changeset
136 images/replay_gain.png \
4046
5f9227fe09e9 whoops, forgot to kick eq.png from Makefile
mf0102 <0102@gmx.at>
parents: 3993
diff changeset
137 ui/equalizer.ui \
5f9227fe09e9 whoops, forgot to kick eq.png from Makefile
mf0102 <0102@gmx.at>
parents: 3993
diff changeset
138 ui/mainwin.ui \
5f9227fe09e9 whoops, forgot to kick eq.png from Makefile
mf0102 <0102@gmx.at>
parents: 3993
diff changeset
139 ui/playlist.ui \
3572
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
140 ui/carbon-menubar.ui
2785
182aa34ae6c4 [svn] - implement some audacious-remote functions.
yaz
parents: 2771
diff changeset
141
3656
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3655
diff changeset
142 CLEAN = build_stamp.c libaudacious.exe.a
4233
74c6f3d3cf1d it buids successfully :)
Eugene Zagidullin <e.asphyx@gmail.com>
parents: 4152
diff changeset
143 EXT_DEPS = ../libguess/libguess.a \
4315
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents: 4303
diff changeset
144 ../libSAD/libSAD.a \
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents: 4303
diff changeset
145 ../libeggsmclient/libeggsmclient.a
3591
74d1f0c78456 Fix generation of build_stamp.c.
Jonathan Schleifer <js@h3c.de>
parents: 3586
diff changeset
146
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3485
diff changeset
147 include ../../buildsys.mk
3573
ae14a38d2553 AUDLDFLAGS isn't substitued, therefore remove it.
Jonathan Schleifer <js@h3c.de>
parents: 3572
diff changeset
148
3578
d07343b134a1 I hope i fixed the libaudclient & dbus problem
Calin Crisan ccrisan@gmail.com
parents: 3574
diff changeset
149 ifdef USE_DBUS
3536
66c6a8a79034 Fix depend-hook call.
William Pitcock <nenolod@atheme.org>
parents: 3535
diff changeset
150 CPPFLAGS += -I../libaudclient
66c6a8a79034 Fix depend-hook call.
William Pitcock <nenolod@atheme.org>
parents: 3535
diff changeset
151 DBUS_BINDINGS = dbus-server-bindings.h dbus-client-bindings.h
66c6a8a79034 Fix depend-hook call.
William Pitcock <nenolod@atheme.org>
parents: 3535
diff changeset
152 LIBS += -L../libaudclient -laudclient
66c6a8a79034 Fix depend-hook call.
William Pitcock <nenolod@atheme.org>
parents: 3535
diff changeset
153 endif
66c6a8a79034 Fix depend-hook call.
William Pitcock <nenolod@atheme.org>
parents: 3535
diff changeset
154
3593
85a49369c95f Actually, the last patch was wrong. depend has to depend on ${SRCS}.
Jonathan Schleifer <js@h3c.de>
parents: 3591
diff changeset
155 pre-depend: ${DBUS_BINDINGS}
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3485
diff changeset
156
3572
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
157 CPPFLAGS += -DHAVE_CONFIG_H \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
158 ${MOWGLI_CFLAGS} \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
159 ${GTK_CFLAGS} \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
160 ${BEEP_DEFINES} \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
161 ${ARCH_DEFINES} \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
162 ${DBUS_CFLAGS} \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
163 ${samplerate_CFLAGS} \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
164 ${REGEX_CFLAGS} \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
165 ${LIBMCS_CFLAGS} \
4233
74c6f3d3cf1d it buids successfully :)
Eugene Zagidullin <e.asphyx@gmail.com>
parents: 4152
diff changeset
166 ${SIMD_CFLAGS} \
3572
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
167 -D_AUDACIOUS_CORE \
4233
74c6f3d3cf1d it buids successfully :)
Eugene Zagidullin <e.asphyx@gmail.com>
parents: 4152
diff changeset
168 -I../libSAD \
4315
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents: 4303
diff changeset
169 -I../libeggsmclient \
3572
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
170 -I.. -I../.. \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
171 -I./intl
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3485
diff changeset
172
3656
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3655
diff changeset
173 LIBS += ${LDADD} \
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3655
diff changeset
174 ${LIBINTL} \
3572
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
175 ${samplerate_LIBS} \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
176 ../libguess/libguess.a \
4233
74c6f3d3cf1d it buids successfully :)
Eugene Zagidullin <e.asphyx@gmail.com>
parents: 4152
diff changeset
177 ../libSAD/libSAD.a \
4316
e55ecfc55d06 linkage to libSM should use pkg-config otherwise link error might occur on x86_64 dual libs environment.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 4315
diff changeset
178 ../libeggsmclient/libeggsmclient.a ${SM_LIBS} \
3572
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
179 ${GTK_LIBS} \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
180 ${DBUS_LIBS} \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
181 ${MOWGLI_LIBS} \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
182 ${LIBMCS_LIBS} \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
183 ${REGEX_LIBS}
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3485
diff changeset
184
3764
4db0817319c0 build fix
William Pitcock <nenolod@atheme.org>
parents: 3663
diff changeset
185 LDFLAGS += ${PROG_IMPLIB_LDFLAGS}
3651
a5a81f8d6fd7 Update buildsys + small fixes.
Jonathan Schleifer <js@h3c.de>
parents: 3641
diff changeset
186
2905
084d367e3577 separate build_stamp.c from depend-prehook to avoid excessive stamping.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 2842
diff changeset
187 build_stamp.c:
2837
b6b8fe38e1e3 Fix handling of buildstamp rule.
William Pitcock <nenolod@atheme.org>
parents: 2836
diff changeset
188 if [ -d ../../.hg ]; then \
b6b8fe38e1e3 Fix handling of buildstamp rule.
William Pitcock <nenolod@atheme.org>
parents: 2836
diff changeset
189 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
190 [ -z "$$revh" ] || echo "$$revh" > build_stamp.c; \
7035e35d4067 Remove build_stamp.c and generate it on demand.
William Pitcock <nenolod@atheme.org>
parents: 2785
diff changeset
191 fi
7035e35d4067 Remove build_stamp.c and generate it on demand.
William Pitcock <nenolod@atheme.org>
parents: 2785
diff changeset
192
3572
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
193 DBUS_BINDINGS_SOURCES = objects.xml \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
194 mpris_root.xml \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
195 mpris_tracklist.xml \
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
196 mpris_player.xml
2708
b66e6a928a6e [svn] - add dependency for dbus bindings.
yaz
parents: 2706
diff changeset
197
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
198 desktop_DATA = audacious.desktop
3572
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
199 desktopdir = ${datadir}/applicationu
2313
3149d4b1a9a9 [svn] - objective-make autodepend fixes
nenolod
parents:
diff changeset
200
3572
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
201 dbus-server-bindings.h: ${DBUS_BINDINGS_SOURCES}
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
202 ${DBUS_BINDING_TOOL} --mode=glib-server --prefix=audacious_rc objects.xml > $@
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
203 ${DBUS_BINDING_TOOL} --mode=glib-server --prefix=mpris_root mpris_root.xml >> $@
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
204 ${DBUS_BINDING_TOOL} --mode=glib-server --prefix=mpris_tracklist mpris_tracklist.xml >> $@
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
205 ${DBUS_BINDING_TOOL} --mode=glib-server --prefix=mpris_player mpris_player.xml >> $@
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
206
3572
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
207 dbus-client-bindings.h: ${DBUS_BINDINGS_SOURCES}
625af2797f35 Clean up Makefiles.
Jonathan Schleifer <js@h3c.de>
parents: 3554
diff changeset
208 ${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
209
3656
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3655
diff changeset
210 install-extra:
3660
c54dfcdc839e Add missing targets to .PHONY.
Jonathan Schleifer <js@h3c.de>
parents: 3659
diff changeset
211 if test x"${PROG_IMPLIB_NEEDED}" = x"yes"; then \
3658
00549db12332 Add implib to uninstall target.
Jonathan Schleifer <js@h3c.de>
parents: 3657
diff changeset
212 for i in ${PROG}; do \
3662
0a82e6c75d7f I should stop coding for today, I'm too unconcentrated.
Jonathan Schleifer <js@h3c.de>
parents: 3661
diff changeset
213 i="lib$$i.a"; \
3656
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3655
diff changeset
214 ${INSTALL_STATUS}; \
3661
19331a6b5d8e Fix wrong status message.
Jonathan Schleifer <js@h3c.de>
parents: 3660
diff changeset
215 if ${MKDIR_P} ${DESTDIR}${libdir} && install -m 644 $$i ${DESTDIR}${libdir}/$$i; then \
3656
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3655
diff changeset
216 ${INSTALL_OK}; \
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3655
diff changeset
217 else \
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3655
diff changeset
218 ${INSTALL_FAILED}; \
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3655
diff changeset
219 fi \
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3655
diff changeset
220 done \
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3655
diff changeset
221 fi
3658
00549db12332 Add implib to uninstall target.
Jonathan Schleifer <js@h3c.de>
parents: 3657
diff changeset
222
00549db12332 Add implib to uninstall target.
Jonathan Schleifer <js@h3c.de>
parents: 3657
diff changeset
223 uninstall-extra:
3660
c54dfcdc839e Add missing targets to .PHONY.
Jonathan Schleifer <js@h3c.de>
parents: 3659
diff changeset
224 if test x"${PROG_IMPLIB_NEEDED}" = x"yes"; then \
3658
00549db12332 Add implib to uninstall target.
Jonathan Schleifer <js@h3c.de>
parents: 3657
diff changeset
225 for i in ${PROG}; do \
3662
0a82e6c75d7f I should stop coding for today, I'm too unconcentrated.
Jonathan Schleifer <js@h3c.de>
parents: 3661
diff changeset
226 i="lib$$i.a"; \
3661
19331a6b5d8e Fix wrong status message.
Jonathan Schleifer <js@h3c.de>
parents: 3660
diff changeset
227 if test -f ${DESTDIR}${libdir}/$$i; then \
3663
75372888e065 I always forget something today :(.
Jonathan Schleifer <js@h3c.de>
parents: 3662
diff changeset
228 if rm -f ${DESTDIR}${libdir}/$$i; then \
3658
00549db12332 Add implib to uninstall target.
Jonathan Schleifer <js@h3c.de>
parents: 3657
diff changeset
229 ${DELETE_OK}; \
00549db12332 Add implib to uninstall target.
Jonathan Schleifer <js@h3c.de>
parents: 3657
diff changeset
230 else \
00549db12332 Add implib to uninstall target.
Jonathan Schleifer <js@h3c.de>
parents: 3657
diff changeset
231 ${DELETE_FAILED}; \
00549db12332 Add implib to uninstall target.
Jonathan Schleifer <js@h3c.de>
parents: 3657
diff changeset
232 fi \
00549db12332 Add implib to uninstall target.
Jonathan Schleifer <js@h3c.de>
parents: 3657
diff changeset
233 fi \
00549db12332 Add implib to uninstall target.
Jonathan Schleifer <js@h3c.de>
parents: 3657
diff changeset
234 done \
00549db12332 Add implib to uninstall target.
Jonathan Schleifer <js@h3c.de>
parents: 3657
diff changeset
235 fi