Mercurial > audlegacy
annotate src/audacious/Makefile @ 2431:3ec22a11c83e trunk
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
author | mf0102 |
---|---|
date | Sat, 27 Jan 2007 12:10:21 -0800 |
parents | 193bae6b2c8f |
children | af8b86badfdb |
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 = \ | |
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 \ | |
2409
30ab29ed32d8
[svn] - back out objective-make topdir probe stuff, it doesnt work on some
nenolod
parents:
2404
diff
changeset
|
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 \ |
2367 | 41 ui_fileinfopopup.h \ |
42 ui_preferences.h \ | |
43 util.h \ | |
2389
2413a9314bed
[svn] - strings.h should be installed because plugins may use str_to_utf8().
yaz
parents:
2387
diff
changeset
|
44 strings.h \ |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
45 titlestring.h \ |
2367 | 46 vfs.h \ |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
47 vfs_buffer.h \ |
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
48 xconvert.h |
2367 | 49 |
2313 | 50 SOURCES = \ |
51 build_stamp.c \ | |
2365 | 52 controlsocket.c \ |
53 dnd.c \ | |
54 dock.c \ | |
55 effect.c \ | |
56 fft.c \ | |
2426 | 57 formatter.c \ |
2365 | 58 general.c \ |
2313 | 59 genevent.c \ |
2365 | 60 glade.c \ |
61 hints.c \ | |
2404 | 62 hook.c \ |
2365 | 63 iir.c \ |
64 iir_cfs.c \ | |
65 iir_fpu.c \ | |
66 input.c \ | |
67 logger.c \ | |
68 main.c \ | |
69 memorypool.c \ | |
2313 | 70 output.c \ |
2365 | 71 pixbuf_effects.c \ |
72 playback.c \ | |
2313 | 73 playlist.c \ |
74 playlist_container.c \ | |
75 playlist_manager.c \ | |
2365 | 76 pluginenum.c \ |
77 signals.c \ | |
78 strings.c \ | |
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
79 titlestring.c \ |
2365 | 80 ui_about.c \ |
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 |