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