Mercurial > audlegacy
annotate src/audacious/Makefile @ 2442:44df6c17411b trunk
[svn] - split out albumart locating functions into a seperate file and make the public API available in util.h
author | nenolod |
---|---|
date | Mon, 29 Jan 2007 10:11:01 -0800 |
parents | af8b86badfdb |
children | 890f503325bb |
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 | 4 |
5 SUBDIRS = widgets glade images ui | |
6 | |
7 OBJECTIVE_BINS = audacious | |
8 | |
9 LDFLAGS += $(AUDLDFLAGS) | |
10 | |
11 LDADD = \ | |
2441 | 12 -L.. $(LTLIBINTL) \ |
2313 | 13 -L../libaudacious -laudacious \ |
14 $(CHARDET_LIBS) \ | |
2441 | 15 $(GTK_LIBS) \ |
2313 | 16 $(LIBGLADE_LIBS) \ |
2441 | 17 $(REGEX_LIBS) \ |
2313 | 18 ./widgets/libwidgets.a |
19 | |
20 CFLAGS += \ | |
2441 | 21 $(GTK_CFLAGS) \ |
2313 | 22 $(LIBGLADE_CFLAGS) \ |
2441 | 23 $(BEEP_DEFINES) \ |
24 $(ARCH_DEFINES) \ | |
25 $(REGEX_CFLAGS) \ | |
2313 | 26 -D_AUDACIOUS_CORE \ |
2441 | 27 -I.. -I../.. \ |
2313 | 28 -I../intl |
29 | |
2367 | 30 HEADERS = \ |
2426 | 31 formatter.h \ |
2387
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
2386
diff
changeset
|
32 i18n.h \ |
2367 | 33 input.h \ |
2404 | 34 hook.h \ |
2386 | 35 main.h \ |
2367 | 36 output.h \ |
37 playlist.h \ | |
38 playlist_container.h \ | |
39 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
|
40 strings.h \ |
2441 | 41 titlestring.h \ |
2367 | 42 ui_fileinfopopup.h \ |
43 ui_preferences.h \ | |
44 util.h \ | |
45 vfs.h \ | |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
46 vfs_buffer.h \ |
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
47 xconvert.h |
2367 | 48 |
2313 | 49 SOURCES = \ |
50 build_stamp.c \ | |
2365 | 51 controlsocket.c \ |
52 dnd.c \ | |
53 dock.c \ | |
54 effect.c \ | |
55 fft.c \ | |
2426 | 56 formatter.c \ |
2365 | 57 general.c \ |
2313 | 58 genevent.c \ |
2365 | 59 glade.c \ |
60 hints.c \ | |
2404 | 61 hook.c \ |
2365 | 62 iir.c \ |
63 iir_cfs.c \ | |
64 iir_fpu.c \ | |
65 input.c \ | |
66 logger.c \ | |
67 main.c \ | |
68 memorypool.c \ | |
2313 | 69 output.c \ |
2365 | 70 pixbuf_effects.c \ |
71 playback.c \ | |
2313 | 72 playlist.c \ |
73 playlist_container.c \ | |
74 playlist_manager.c \ | |
2365 | 75 pluginenum.c \ |
76 signals.c \ | |
77 strings.c \ | |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
78 titlestring.c \ |
2365 | 79 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
|
80 ui_albumart.c \ |
2365 | 81 ui_credits.c \ |
82 ui_equalizer.c \ | |
2313 | 83 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
|
84 ui_fileinfopopup.c \ |
2416
0fd7f4f969ad
[svn] integrated urldecode.* from libaudacious into audacious directory, made separate ui_fileopener.*
mf0102
parents:
2411
diff
changeset
|
85 ui_fileopener.c \ |
2365 | 86 ui_main.c \ |
2313 | 87 ui_manager.c \ |
2365 | 88 ui_playlist.c \ |
89 ui_preferences.c \ | |
90 ui_skinselector.c \ | |
2422 | 91 ui_urlopener.c \ |
2416
0fd7f4f969ad
[svn] integrated urldecode.* from libaudacious into audacious directory, made separate ui_fileopener.*
mf0102
parents:
2411
diff
changeset
|
92 urldecode.c \ |
2365 | 93 util.c \ |
94 vfs_buffer.c \ | |
95 vfs_buffered_file.c \ | |
96 vfs.c \ | |
97 vfs_common.c \ | |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
98 visualization.c \ |
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
99 xconvert.c |
2313 | 100 |
101 OBJECTS = ${SOURCES:.c=.o} | |
102 | |
103 desktop_DATA = audacious.desktop | |
104 desktopdir = $(datadir)/applications | |
105 | |
106 build-prehook: | |
107 if [ -d .svn ] && [ -f build_stamp.c ]; then \ | |
108 rm -f build_stamp.c; \ | |
109 printf "%10s %-20s\n" RM build_stamp.c; \ | |
110 fi | |
111 | |
112 build_stamp.c: | |
113 if [ -d .svn ] && [ ! -f build_stamp.c ]; then \ | |
114 ( \ | |
115 echo '/* SVN repository version.'; \ | |
116 echo ' * This auto-generated file must not be included in SVN; but must'; \ | |
117 echo ' * be included in release tarballs.'; \ | |
118 echo ' */'; \ | |
119 echo '#include <glib.h>'; \ | |
120 echo -n 'const gchar *svn_stamp = "'; \ | |
121 (svnversion -n .); \ | |
122 echo '";' \ | |
123 ) > build_stamp.c; \ | |
124 printf "%10s %-20s\n" STAMP build_stamp.c; \ | |
125 fi; | |
126 | |
127 audacious: $(OBJECTS) widgets/libwidgets.a | |
128 $(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ | |
129 @printf "%10s %-20s\n" LINK $@ | |
130 | |
131 OBJECTIVE_DATA = audacious.desktop:$(datadir)/applications |