Mercurial > audlegacy
annotate src/audacious/Makefile @ 2441:af8b86badfdb trunk
[svn] - Cleaned up a bit
| author | mf0102 |
|---|---|
| date | Mon, 29 Jan 2007 09:55:26 -0800 |
| parents | 3ec22a11c83e |
| children | 44df6c17411b |
| 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 \ |
| 80 ui_credits.c \ | |
| 81 ui_equalizer.c \ | |
| 2313 | 82 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
|
83 ui_fileinfopopup.c \ |
|
2416
0fd7f4f969ad
[svn] integrated urldecode.* from libaudacious into audacious directory, made separate ui_fileopener.*
mf0102
parents:
2411
diff
changeset
|
84 ui_fileopener.c \ |
| 2365 | 85 ui_main.c \ |
| 2313 | 86 ui_manager.c \ |
| 2365 | 87 ui_playlist.c \ |
| 88 ui_preferences.c \ | |
| 89 ui_skinselector.c \ | |
| 2422 | 90 ui_urlopener.c \ |
|
2416
0fd7f4f969ad
[svn] integrated urldecode.* from libaudacious into audacious directory, made separate ui_fileopener.*
mf0102
parents:
2411
diff
changeset
|
91 urldecode.c \ |
| 2365 | 92 util.c \ |
| 93 vfs_buffer.c \ | |
| 94 vfs_buffered_file.c \ | |
| 95 vfs.c \ | |
| 96 vfs_common.c \ | |
|
2431
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
97 visualization.c \ |
|
3ec22a11c83e
[svn] - moved titlestring.* and xconvert.* from libaudacious to audacious
mf0102
parents:
2426
diff
changeset
|
98 xconvert.c |
| 2313 | 99 |
| 100 OBJECTS = ${SOURCES:.c=.o} | |
| 101 | |
| 102 desktop_DATA = audacious.desktop | |
| 103 desktopdir = $(datadir)/applications | |
| 104 | |
| 105 build-prehook: | |
| 106 if [ -d .svn ] && [ -f build_stamp.c ]; then \ | |
| 107 rm -f build_stamp.c; \ | |
| 108 printf "%10s %-20s\n" RM build_stamp.c; \ | |
| 109 fi | |
| 110 | |
| 111 build_stamp.c: | |
| 112 if [ -d .svn ] && [ ! -f build_stamp.c ]; then \ | |
| 113 ( \ | |
| 114 echo '/* SVN repository version.'; \ | |
| 115 echo ' * This auto-generated file must not be included in SVN; but must'; \ | |
| 116 echo ' * be included in release tarballs.'; \ | |
| 117 echo ' */'; \ | |
| 118 echo '#include <glib.h>'; \ | |
| 119 echo -n 'const gchar *svn_stamp = "'; \ | |
| 120 (svnversion -n .); \ | |
| 121 echo '";' \ | |
| 122 ) > build_stamp.c; \ | |
| 123 printf "%10s %-20s\n" STAMP build_stamp.c; \ | |
| 124 fi; | |
| 125 | |
| 126 audacious: $(OBJECTS) widgets/libwidgets.a | |
| 127 $(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ | |
| 128 @printf "%10s %-20s\n" LINK $@ | |
| 129 | |
| 130 OBJECTIVE_DATA = audacious.desktop:$(datadir)/applications |
