changeset 620:29ae4b6f4f92 trunk

[svn] Convert crossfade & disk_writer to new build system.
author chainsaw
date Mon, 06 Feb 2006 12:08:35 -0800
parents fc1788e1ab04
children 86c09efdc4e7
files Plugins/Output/crossfade/Makefile.am Plugins/Output/crossfade/Makefile.in Plugins/Output/disk_writer/Makefile.am Plugins/Output/disk_writer/Makefile.in
diffstat 4 files changed, 28 insertions(+), 53 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Output/crossfade/Makefile.am	Sun Feb 05 13:58:33 2006 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-if ENABLE_CROSSFADE
-lib_LTLIBRARIES = libcrossfade.la
-endif
-
-gtk_sources = \
-	interface-2.0.c \
-	interface-2.0.h \
-	support-2.0.c \
-	support-2.0.h \
-	callbacks.c \
-	callbacks.h
-
-if HAVE_LIBSAMPLERATE
-samplerate_libs = -lsamplerate
-endif
-
-libdir = $(plugindir)/$(OUTPUT_PLUGIN_DIR)
-
-libcrossfade = @PLUGIN_LDFLAGS@
-libcrossfade_la_LIBADD  = $(samplerate_libs)
-libcrossfade_la_SOURCES = \
-	crossfade.c \
-	crossfade.h \
-	configure.c \
-	configure.h \
-	convert.c \
-	convert.h \
-	debug.c \
-	debug.h \
-	effect.c \
-	effect.h \
-	format.c \
-	format.h \
-	monitor.c \
-	monitor.h \
-	rate.c \
-	rate.h \
-	timing.c \
-	timing.h \
-	volume.c \
-	volume.h \
-	$(gtk_sources)
-
-INCLUDES = $(GTK_CFLAGS) -I$(top_builddir)/intl -I$(top_srcdir)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Plugins/Output/crossfade/Makefile.in	Mon Feb 06 12:08:35 2006 -0800
@@ -0,0 +1,15 @@
+include ../../../mk/rules.mk
+include ../../../mk/objective.mk
+
+OBJECTIVE_LIBS = libcrossfade.so
+
+LIBDIR = $(plugindir)/$(OUTPUT_PLUGIN_DIR)
+
+LIBADD = $(GTK_LIBS) -lsamplerate
+SOURCES = crossfade.c configure.c convert.c debug.c effect.c format.c \
+        monitor.c rate.c timing.c volume.c interface-2.0.c support-2.0.c \
+        callbacks.c
+
+OBJECTS = ${SOURCES:.c=.o}
+
+CFLAGS += -fPIC -DPIC $(GTK_CFLAGS) -I../../../intl -I../../..
--- a/Plugins/Output/disk_writer/Makefile.am	Sun Feb 05 13:58:33 2006 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-lib_LTLIBRARIES = libdisk_writer.la
-
-libdir = $(plugindir)/$(OUTPUT_PLUGIN_DIR)
-
-libdisk_writer_la_LDFLAGS = @PLUGIN_LDFLAGS@
-libdisk_writer_la_LIBADD = @GTK_LIBS@
-libdisk_writer_la_SOURCES= disk_writer.c
-
-INCLUDES = @GTK_CFLAGS@ -I$(top_builddir)/intl -I$(top_srcdir)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Plugins/Output/disk_writer/Makefile.in	Mon Feb 06 12:08:35 2006 -0800
@@ -0,0 +1,13 @@
+include ../../../mk/rules.mk
+include ../../../mk/objective.mk
+
+OBJECTIVE_LIBS = libdisk_writer.so
+
+LIBDIR = $(plugindir)/$(OUTPUT_PLUGIN_DIR)
+
+LIBADD = $(GTK_LIBS)
+SOURCES = disk_writer.c
+
+OBJECTS = ${SOURCES:.c=.o}
+
+CFLAGS += -fPIC -DPIC $(GTK_CFLAGS) -I../../../intl -I../../..