Mercurial > audlegacy
view audacious/Makefile @ 1917:01d4bed2c4c9 trunk
[svn] - svn is stoned again part 2
author | nenolod |
---|---|
date | Mon, 30 Oct 2006 13:41:36 -0800 |
parents | 90d95cd7edb5 |
children | 57e92364c354 |
line wrap: on
line source
include ../mk/rules.mk include ../mk/init.mk include ../mk/objective.mk SUBDIRS = widgets glade images beepincludedir = $(includedir)/audacious OBJECTIVE_BINS = audacious LDFLAGS += $(AUDLDFLAGS) LDADD = \ -L.. $(LTLIBINTL) \ -L../libaudacious -laudacious \ $(CHARDET_LIBS) \ $(GTK_LIBS) \ $(LIBGLADE_LIBS) \ ./widgets/libwidgets.a CFLAGS += \ $(GTK_CFLAGS) \ $(LIBGLADE_CFLAGS) \ $(BEEP_DEFINES) \ $(ARCH_DEFINES) \ -D_AUDACIOUS_CORE \ -I.. \ -I../intl HEADERS = \ input.h \ main.h \ output.h \ playlist.h \ playlist_container.h \ plugin.h \ prefswin.h \ util.h SOURCES = \ build_stamp.c \ genevent.c \ util.c \ output.c \ fft.c \ input.c \ effect.c \ general.c \ visualization.c \ pluginenum.c \ playlist.c \ playlist_container.c \ controlsocket.c \ dock.c \ playback.c \ main.c \ logger.c \ mainwin.c \ skinwin.c \ prefswin.c \ ui_fileinfo.c \ ui_playlist.c \ equalizer.c \ glade.c \ hints.c \ about.c credits.c \ softvolume.c \ getopt.c getopt1.c \ urldecode.c \ iir.c \ iir_cfs.c \ iir_fpu.c OBJECTS = ${SOURCES:.c=.o} beepinclude_HEADERS = plugin.h output.h input.h desktop_DATA = audacious.desktop desktopdir = $(datadir)/applications build_stamp.c: if [ -d .svn ] || [ ! -f build_stamp.c ]; then \ ( \ echo '/* SVN repository version.'; \ echo ' * This auto-generated file must not be included in SVN; but must'; \ echo ' * be included in release tarballs.'; \ echo ' */'; \ echo '#include <glib.h>'; \ echo -n 'const gchar *svn_stamp = "'; \ (cd ..; svnversion -n .); \ echo '";' \ ) > build_stamp.c; \ fi; audacious: $(OBJECTS) widgets/libwidgets.a $(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ @printf "%10s %-20s\n" LINK $@