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