Mercurial > audlegacy
annotate src/audacious/Makefile @ 2430:4e2fc64d95ef trunk
[svn] - make vfs_buffered_file_new_from_uri declaration const
- cope properly with subsong URIs
| author | nenolod |
|---|---|
| date | Sat, 27 Jan 2007 11:40:05 -0800 |
| parents | 193bae6b2c8f |
| children | 3ec22a11c83e |
| 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 \ |
| 2367 | 45 vfs.h \ |
| 46 vfs_buffer.h | |
| 47 | |
| 2313 | 48 SOURCES = \ |
| 49 build_stamp.c \ | |
| 2365 | 50 controlsocket.c \ |
| 51 dnd.c \ | |
| 52 dock.c \ | |
| 53 effect.c \ | |
| 54 fft.c \ | |
| 2426 | 55 formatter.c \ |
| 2365 | 56 general.c \ |
| 2313 | 57 genevent.c \ |
| 2365 | 58 glade.c \ |
| 59 hints.c \ | |
| 2404 | 60 hook.c \ |
| 2365 | 61 iir.c \ |
| 62 iir_cfs.c \ | |
| 63 iir_fpu.c \ | |
| 64 input.c \ | |
| 65 logger.c \ | |
| 66 main.c \ | |
| 67 memorypool.c \ | |
| 2313 | 68 output.c \ |
| 2365 | 69 pixbuf_effects.c \ |
| 70 playback.c \ | |
| 2313 | 71 playlist.c \ |
| 72 playlist_container.c \ | |
| 73 playlist_manager.c \ | |
| 2365 | 74 pluginenum.c \ |
| 75 signals.c \ | |
| 76 strings.c \ | |
| 77 ui_about.c \ | |
| 78 ui_credits.c \ | |
| 79 ui_equalizer.c \ | |
| 2313 | 80 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
|
81 ui_fileinfopopup.c \ |
|
2416
0fd7f4f969ad
[svn] integrated urldecode.* from libaudacious into audacious directory, made separate ui_fileopener.*
mf0102
parents:
2411
diff
changeset
|
82 ui_fileopener.c \ |
| 2365 | 83 ui_main.c \ |
| 2313 | 84 ui_manager.c \ |
| 2365 | 85 ui_playlist.c \ |
| 86 ui_preferences.c \ | |
| 87 ui_skinselector.c \ | |
| 2422 | 88 ui_urlopener.c \ |
|
2416
0fd7f4f969ad
[svn] integrated urldecode.* from libaudacious into audacious directory, made separate ui_fileopener.*
mf0102
parents:
2411
diff
changeset
|
89 urldecode.c \ |
| 2365 | 90 util.c \ |
| 91 vfs_buffer.c \ | |
| 92 vfs_buffered_file.c \ | |
| 93 vfs.c \ | |
| 94 vfs_common.c \ | |
| 95 visualization.c | |
| 2313 | 96 |
| 97 OBJECTS = ${SOURCES:.c=.o} | |
| 98 | |
| 99 desktop_DATA = audacious.desktop | |
| 100 desktopdir = $(datadir)/applications | |
| 101 | |
| 102 build-prehook: | |
| 103 if [ -d .svn ] && [ -f build_stamp.c ]; then \ | |
| 104 rm -f build_stamp.c; \ | |
| 105 printf "%10s %-20s\n" RM build_stamp.c; \ | |
| 106 fi | |
| 107 | |
| 108 build_stamp.c: | |
| 109 if [ -d .svn ] && [ ! -f build_stamp.c ]; then \ | |
| 110 ( \ | |
| 111 echo '/* SVN repository version.'; \ | |
| 112 echo ' * This auto-generated file must not be included in SVN; but must'; \ | |
| 113 echo ' * be included in release tarballs.'; \ | |
| 114 echo ' */'; \ | |
| 115 echo '#include <glib.h>'; \ | |
| 116 echo -n 'const gchar *svn_stamp = "'; \ | |
| 117 (svnversion -n .); \ | |
| 118 echo '";' \ | |
| 119 ) > build_stamp.c; \ | |
| 120 printf "%10s %-20s\n" STAMP build_stamp.c; \ | |
| 121 fi; | |
| 122 | |
| 123 audacious: $(OBJECTS) widgets/libwidgets.a | |
| 124 $(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ | |
| 125 @printf "%10s %-20s\n" LINK $@ | |
| 126 | |
| 127 OBJECTIVE_DATA = audacious.desktop:$(datadir)/applications |
