Mercurial > audlegacy
annotate src/audacious/Makefile @ 2341:02a850a2533b trunk
[svn] - automatically buffering deriv-class of VFSFile. will be used to speed up probing of network sources.
author | nenolod |
---|---|
date | Mon, 15 Jan 2007 18:33:42 -0800 |
parents | 3149d4b1a9a9 |
children | 564e8a1fe09a |
rev | line source |
---|---|
2313 | 1 include ../../mk/rules.mk |
2 include ../../mk/init.mk | |
3 include ../../mk/objective.mk | |
4 | |
5 SUBDIRS = widgets glade images ui | |
6 | |
7 beepincludedir = $(includedir)/audacious | |
8 | |
9 OBJECTIVE_BINS = audacious | |
10 | |
11 LDFLAGS += $(AUDLDFLAGS) | |
12 | |
13 LDADD = \ | |
14 -L.. $(LTLIBINTL) \ | |
15 -L../libaudacious -laudacious \ | |
16 $(CHARDET_LIBS) \ | |
17 $(GTK_LIBS) \ | |
18 $(LIBGLADE_LIBS) \ | |
19 $(REGEX_LIBS) \ | |
20 ./widgets/libwidgets.a | |
21 | |
22 CFLAGS += \ | |
23 $(GTK_CFLAGS) \ | |
24 $(LIBGLADE_CFLAGS) \ | |
25 $(BEEP_DEFINES) \ | |
26 $(ARCH_DEFINES) \ | |
27 $(REGEX_CFLAGS) \ | |
28 -D_AUDACIOUS_CORE \ | |
29 -I.. -I../.. \ | |
30 -I../intl | |
31 | |
32 HEADERS = \ | |
33 input.h \ | |
34 main.h \ | |
35 output.h \ | |
36 playlist.h \ | |
37 playlist_container.h \ | |
38 plugin.h \ | |
39 ui_preferences.h \ | |
40 util.h \ | |
41 vfs.h \ | |
42 vfs_buffer.h | |
43 | |
44 SOURCES = \ | |
45 build_stamp.c \ | |
46 vfs.c \ | |
47 vfs_buffer.c \ | |
2341
02a850a2533b
[svn] - automatically buffering deriv-class of VFSFile. will be used to speed up probing of network sources.
nenolod
parents:
2313
diff
changeset
|
48 vfs_buffered_file.c \ |
2313 | 49 vfs_common.c \ |
50 genevent.c \ | |
51 util.c \ | |
52 output.c \ | |
53 fft.c \ | |
54 input.c \ | |
55 effect.c \ | |
56 general.c \ | |
57 visualization.c \ | |
58 pluginenum.c \ | |
59 playlist.c \ | |
60 playlist_container.c \ | |
61 playlist_manager.c \ | |
62 controlsocket.c \ | |
63 dock.c \ | |
64 playback.c \ | |
65 main.c \ | |
66 logger.c \ | |
67 ui_skinselector.c \ | |
68 ui_preferences.c \ | |
69 ui_fileinfo.c \ | |
70 ui_playlist.c \ | |
71 ui_manager.c \ | |
72 ui_equalizer.c \ | |
73 ui_main.c \ | |
74 ui_about.c ui_credits.c \ | |
75 glade.c \ | |
76 hints.c \ | |
77 getopt.c getopt1.c \ | |
78 iir.c \ | |
79 iir_cfs.c \ | |
80 iir_fpu.c \ | |
81 signals.c \ | |
82 strings.c \ | |
83 pixbuf_effects.c \ | |
84 memorypool.c | |
85 | |
86 OBJECTS = ${SOURCES:.c=.o} | |
87 | |
88 desktop_DATA = audacious.desktop | |
89 desktopdir = $(datadir)/applications | |
90 | |
91 build-prehook: | |
92 if [ -d .svn ] && [ -f build_stamp.c ]; then \ | |
93 rm -f build_stamp.c; \ | |
94 printf "%10s %-20s\n" RM build_stamp.c; \ | |
95 fi | |
96 | |
97 build_stamp.c: | |
98 if [ -d .svn ] && [ ! -f build_stamp.c ]; then \ | |
99 ( \ | |
100 echo '/* SVN repository version.'; \ | |
101 echo ' * This auto-generated file must not be included in SVN; but must'; \ | |
102 echo ' * be included in release tarballs.'; \ | |
103 echo ' */'; \ | |
104 echo '#include <glib.h>'; \ | |
105 echo -n 'const gchar *svn_stamp = "'; \ | |
106 (svnversion -n .); \ | |
107 echo '";' \ | |
108 ) > build_stamp.c; \ | |
109 printf "%10s %-20s\n" STAMP build_stamp.c; \ | |
110 fi; | |
111 | |
112 audacious: $(OBJECTS) widgets/libwidgets.a | |
113 $(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ | |
114 @printf "%10s %-20s\n" LINK $@ | |
115 | |
116 OBJECTIVE_DATA = audacious.desktop:$(datadir)/applications |