changeset 582:fcb9cebe14fc trunk

[svn] Convert audacious over to a binary objective.
author nenolod
date Thu, 02 Feb 2006 17:32:49 -0800
parents 572cbb4c25ba
children 2abba1360af4
files audacious/Makefile.am audacious/Makefile.in
diffstat 2 files changed, 111 insertions(+), 108 deletions(-) [+]
line wrap: on
line diff
--- a/audacious/Makefile.am	Thu Feb 02 16:20:49 2006 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,108 +0,0 @@
-SUBDIRS = glade images
-
-beepincludedir = $(includedir)/audacious
-
-bin_PROGRAMS = audacious
-
-audacious_LDFLAGS = -export-dynamic
-audacious_LDADD = \
-	$(GTK_LIBS)      \
-	$(LIBGLADE_LIBS) \
-	$(LTLIBINTL)     \
-	$(top_builddir)/libaudacious/libaudacious.la
-
-audacious_CFLAGS = \
-	$(GTK_CFLAGS)      \
-	$(LIBGLADE_CFLAGS) \
-	$(BEEP_DEFINES)    \
-	$(ARCH_DEFINES)    \
-	-I$(top_srcdir)    \
-	-I$(top_srcdir)/intl
-
-audacious_SOURCES = \
-	build_stamp.c build_stamp.h \
-	genevent.c genevent.h \
-	skin.c skin.h \
-	util.c util.h \
-	output.c output.h \
-	fft.c fft.h \
-	input.c input.h \
-	effect.c effect.h \
-	general.c general.h \
-	visualization.c visualization.h \
-	pluginenum.c pluginenum.h \
-	playlist.c playlist.h \
-	controlsocket.c controlsocket.h \
-	dock.c dock.h \
-	widget.c widget.h \
-	sbutton.c sbutton.h \
-	pbutton.c pbutton.h \
-	tbutton.c tbutton.h \
-	textbox.c textbox.h \
-	menurow.c menurow.h \
-	hslider.c hslider.h \
-	monostereo.c monostereo.h \
-	vis.c vis.h \
-	svis.c svis.h \
-	number.c number.h \
-	playback.c playback.h \
-	playstatus.c playstatus.h \
-	playlist_list.c playlist_list.h \
-	playlist_slider.c playlist_slider.h \
-	playlist_popup.c playlist_popup.h \
-	eq_graph.c eq_graph.h \
-	eq_slider.c eq_slider.h \
-	main.c main.h \
-	logger.c logger.h \
-	mainwin.c mainwin.h \
-	skinwin.c skinwin.h \
-	prefswin.c prefswin.h \
-	ui_playlist.c ui_playlist.h \
-	equalizer.c equalizer.h \
-	glade.c glade.h \
-	hints.c hints.h \
-	about.c credits.c credits.h \
-	plugin.h \
-	softvolume.c softvolume.h \
-	getopt.c getopt1.c getopt.h \
-	urldecode.c urldecode.h \
-	dnd.h \
-	debug.h \
-	mkdtemp.c \
-	pixmaps.h \
-	iir.c iir.h \
-	iir_cfs.c iir_cfs.h \
-	iir_fpu.c iir_fpu.h \
-	na.xpm beep_logo.xpm
-
-beepinclude_HEADERS = plugin.h output.h input.h
-
-desktop_DATA = audacious.desktop
-desktopdir = $(datadir)/applications
-
-
-BUILT_SOURCES = pixmaps.h
-
-embedded_icons = \
-	info.png playlist.png play.png
-
-
-EXTRA_DIST = \
-	$(embedded_icons) build.list
-
-pixmaps.h: $(embedded_icons)
-	gdk-pixbuf-csource --stream --build-list `cat build.list` > pixmaps.h
-
-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;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/audacious/Makefile.in	Thu Feb 02 17:32:49 2006 -0800
@@ -0,0 +1,111 @@
+include ../mk/rules.mk
+include ../mk/objective.mk
+
+SUBDIRS = glade images
+
+beepincludedir = $(includedir)/audacious
+
+OBJECTIVE_BINS = audacious
+
+LDFLAGS = -Wl,-export-dynamic
+LDADD = \
+	$(GTK_LIBS)      \
+	$(LIBGLADE_LIBS) \
+	$(LTLIBINTL)     \
+	../libaudacious/libaudacious.a
+
+CFLAGS += \
+	$(GTK_CFLAGS)      \
+	$(LIBGLADE_CFLAGS) \
+	$(BEEP_DEFINES)    \
+	$(ARCH_DEFINES)    \
+	-I..    \
+	-I../intl
+
+SOURCES = \
+	build_stamp.c \
+	genevent.c \
+	skin.c \
+	util.c \
+	output.c \
+	fft.c \
+	input.c \
+	effect.c \
+	general.c \
+	visualization.c \
+	pluginenum.c \
+	playlist.c \
+	controlsocket.c \
+	dock.c \
+	widget.c \
+	sbutton.c \
+	pbutton.c \
+	tbutton.c \
+	textbox.c \
+	menurow.c \
+	hslider.c \
+	monostereo.c \
+	vis.c \
+	svis.c \
+	number.c \
+	playback.c \
+	playstatus.c \
+	playlist_list.c \
+	playlist_slider.c \
+	playlist_popup.c \
+	eq_graph.c \
+	eq_slider.c \
+	main.c \
+	logger.c \
+	mainwin.c \
+	skinwin.c \
+	prefswin.c \
+	ui_playlist.c \
+	equalizer.c \
+	glade.c \
+	hints.c \
+	about.c credits.c \
+	softvolume.c \
+	getopt.c getopt1.c \
+	urldecode.c \
+	mkdtemp.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
+
+
+BUILT_SOURCES = pixmaps.h
+
+embedded_icons = \
+	info.png playlist.png play.png
+
+
+EXTRA_DIST = \
+	$(embedded_icons) build.list
+
+pixmaps.h: $(embedded_icons)
+	gdk-pixbuf-csource --stream --build-list `cat build.list` > pixmaps.h
+
+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)
+	$(CC) $(LDFLAGS) $(LDADD) -o $@ $(OBJECTS)