Mercurial > audlegacy
annotate src/audacious/Makefile @ 2365:cfc8431aceb5 trunk
[svn] cleanups in many regards
author | mf0102 |
---|---|
date | Fri, 19 Jan 2007 14:12:34 -0800 |
parents | 564e8a1fe09a |
children | d5522d3cd68f |
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 | |
30 SOURCES = \ | |
31 build_stamp.c \ | |
2365 | 32 controlsocket.c \ |
33 dnd.c \ | |
34 dock.c \ | |
35 effect.c \ | |
36 fft.c \ | |
37 general.c \ | |
2313 | 38 genevent.c \ |
2365 | 39 getopt1.c \ |
40 getopt.c \ | |
41 glade.c \ | |
42 hints.c \ | |
43 iir.c \ | |
44 iir_cfs.c \ | |
45 iir_fpu.c \ | |
46 input.c \ | |
47 logger.c \ | |
48 main.c \ | |
49 memorypool.c \ | |
2313 | 50 output.c \ |
2365 | 51 pixbuf_effects.c \ |
52 playback.c \ | |
2313 | 53 playlist.c \ |
54 playlist_container.c \ | |
55 playlist_manager.c \ | |
2365 | 56 pluginenum.c \ |
57 signals.c \ | |
58 strings.c \ | |
59 ui_about.c \ | |
60 ui_credits.c \ | |
61 ui_equalizer.c \ | |
2313 | 62 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
|
63 ui_fileinfopopup.c \ |
2365 | 64 ui_main.c \ |
2313 | 65 ui_manager.c \ |
2365 | 66 ui_playlist.c \ |
67 ui_preferences.c \ | |
68 ui_skinselector.c \ | |
69 util.c \ | |
70 vfs_buffer.c \ | |
71 vfs_buffered_file.c \ | |
72 vfs.c \ | |
73 vfs_common.c \ | |
74 visualization.c | |
2313 | 75 |
76 OBJECTS = ${SOURCES:.c=.o} | |
77 | |
78 desktop_DATA = audacious.desktop | |
79 desktopdir = $(datadir)/applications | |
80 | |
81 build-prehook: | |
82 if [ -d .svn ] && [ -f build_stamp.c ]; then \ | |
83 rm -f build_stamp.c; \ | |
84 printf "%10s %-20s\n" RM build_stamp.c; \ | |
85 fi | |
86 | |
87 build_stamp.c: | |
88 if [ -d .svn ] && [ ! -f build_stamp.c ]; then \ | |
89 ( \ | |
90 echo '/* SVN repository version.'; \ | |
91 echo ' * This auto-generated file must not be included in SVN; but must'; \ | |
92 echo ' * be included in release tarballs.'; \ | |
93 echo ' */'; \ | |
94 echo '#include <glib.h>'; \ | |
95 echo -n 'const gchar *svn_stamp = "'; \ | |
96 (svnversion -n .); \ | |
97 echo '";' \ | |
98 ) > build_stamp.c; \ | |
99 printf "%10s %-20s\n" STAMP build_stamp.c; \ | |
100 fi; | |
101 | |
102 audacious: $(OBJECTS) widgets/libwidgets.a | |
103 $(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ | |
104 @printf "%10s %-20s\n" LINK $@ | |
105 | |
106 OBJECTIVE_DATA = audacious.desktop:$(datadir)/applications |