Mercurial > audlegacy
annotate src/audacious/Makefile @ 2412:f0d65a33bf64 trunk
[svn] - handle unknown options
| author | nenolod |
|---|---|
| date | Fri, 26 Jan 2007 07:37:53 -0800 |
| parents | ffbac11b3a77 |
| children | 0fd7f4f969ad |
| 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 = \ |
|
2387
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
2386
diff
changeset
|
31 i18n.h \ |
| 2367 | 32 input.h \ |
| 2404 | 33 hook.h \ |
| 2386 | 34 main.h \ |
| 2367 | 35 output.h \ |
| 36 playlist.h \ | |
| 37 playlist_container.h \ | |
| 38 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
|
39 strings.h \ |
| 2367 | 40 ui_fileinfopopup.h \ |
| 41 ui_preferences.h \ | |
| 42 util.h \ | |
|
2389
2413a9314bed
[svn] - strings.h should be installed because plugins may use str_to_utf8().
yaz
parents:
2387
diff
changeset
|
43 strings.h \ |
| 2367 | 44 vfs.h \ |
| 45 vfs_buffer.h | |
| 46 | |
| 2313 | 47 SOURCES = \ |
| 48 build_stamp.c \ | |
| 2365 | 49 controlsocket.c \ |
| 50 dnd.c \ | |
| 51 dock.c \ | |
| 52 effect.c \ | |
| 53 fft.c \ | |
| 54 general.c \ | |
| 2313 | 55 genevent.c \ |
| 2365 | 56 glade.c \ |
| 57 hints.c \ | |
| 2404 | 58 hook.c \ |
| 2365 | 59 iir.c \ |
| 60 iir_cfs.c \ | |
| 61 iir_fpu.c \ | |
| 62 input.c \ | |
| 63 logger.c \ | |
| 64 main.c \ | |
| 65 memorypool.c \ | |
| 2313 | 66 output.c \ |
| 2365 | 67 pixbuf_effects.c \ |
| 68 playback.c \ | |
| 2313 | 69 playlist.c \ |
| 70 playlist_container.c \ | |
| 71 playlist_manager.c \ | |
| 2365 | 72 pluginenum.c \ |
| 73 signals.c \ | |
| 74 strings.c \ | |
| 75 ui_about.c \ | |
| 76 ui_credits.c \ | |
| 77 ui_equalizer.c \ | |
| 2313 | 78 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
|
79 ui_fileinfopopup.c \ |
| 2365 | 80 ui_main.c \ |
| 2313 | 81 ui_manager.c \ |
| 2365 | 82 ui_playlist.c \ |
| 83 ui_preferences.c \ | |
| 84 ui_skinselector.c \ | |
| 85 util.c \ | |
| 86 vfs_buffer.c \ | |
| 87 vfs_buffered_file.c \ | |
| 88 vfs.c \ | |
| 89 vfs_common.c \ | |
| 90 visualization.c | |
| 2313 | 91 |
| 92 OBJECTS = ${SOURCES:.c=.o} | |
| 93 | |
| 94 desktop_DATA = audacious.desktop | |
| 95 desktopdir = $(datadir)/applications | |
| 96 | |
| 97 build-prehook: | |
| 98 if [ -d .svn ] && [ -f build_stamp.c ]; then \ | |
| 99 rm -f build_stamp.c; \ | |
| 100 printf "%10s %-20s\n" RM build_stamp.c; \ | |
| 101 fi | |
| 102 | |
| 103 build_stamp.c: | |
| 104 if [ -d .svn ] && [ ! -f build_stamp.c ]; then \ | |
| 105 ( \ | |
| 106 echo '/* SVN repository version.'; \ | |
| 107 echo ' * This auto-generated file must not be included in SVN; but must'; \ | |
| 108 echo ' * be included in release tarballs.'; \ | |
| 109 echo ' */'; \ | |
| 110 echo '#include <glib.h>'; \ | |
| 111 echo -n 'const gchar *svn_stamp = "'; \ | |
| 112 (svnversion -n .); \ | |
| 113 echo '";' \ | |
| 114 ) > build_stamp.c; \ | |
| 115 printf "%10s %-20s\n" STAMP build_stamp.c; \ | |
| 116 fi; | |
| 117 | |
| 118 audacious: $(OBJECTS) widgets/libwidgets.a | |
| 119 $(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ | |
| 120 @printf "%10s %-20s\n" LINK $@ | |
| 121 | |
| 122 OBJECTIVE_DATA = audacious.desktop:$(datadir)/applications |
