changeset 573:bf6561ddaf01 trunk

[svn] convert cdaudio
author nenolod
date Thu, 02 Feb 2006 15:40:33 -0800
parents 694f4b3bfea4
children 80a301d11c77
files Plugins/Input/cdaudio/Makefile.am Plugins/Input/cdaudio/Makefile.in
diffstat 2 files changed, 15 insertions(+), 33 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/cdaudio/Makefile.am	Thu Feb 02 15:37:08 2006 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-cdaudiosources = cdaudio.c \
-configure.c \
-cdaudio.h \
-cdinfo.c \
-cdinfo.h \
-cddb.c \
-cddb.h \
-http.c \
-http.h
-
-if HAVE_CDROM
-
-cdaudioltlibs = libcdaudio.la
-cdaudiobuildsources = $(cdaudiosources)
-
-else
-
-cdaudioltlibs =
-cdaudiobuildsources =
-
-endif
-
-EXTRA_DIST = $(cdaudiosources)
-
-lib_LTLIBRARIES = $(cdaudioltlibs)
-
-libdir = $(plugindir)/$(INPUT_PLUGIN_DIR)
-
-INCLUDES = @GTK_CFLAGS@ @GCONF_CFLAGS@ -I$(top_builddir)/intl -I$(top_srcdir) -I$(top_srcdir)/Plugins
-libcdaudio_la_LDFLAGS = @PLUGIN_LDFLAGS@
-libcdaudio_la_LIBADD = @GTK_LIBS@
-libcdaudio_la_SOURCES = $(cdaudiobuildsources)
-
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Plugins/Input/cdaudio/Makefile.in	Thu Feb 02 15:40:33 2006 -0800
@@ -0,0 +1,15 @@
+include ../../../mk/rules.mk
+include ../../../mk/objective.mk
+
+OBJECTIVE_LIBS = libcdaudio.so
+
+LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
+
+SOURCES = cdaudio.c cddb.c cdinfo.c configure.c http.c 
+
+OBJECTS = ${SOURCES:.c=.o}
+
+CFLAGS += -fPIC -DPIC @GTK_CFLAGS@ -I../../../intl -I../../..
+
+libcdaudio.so: $(OBJECTS)
+	$(CC) $(CFLAGS) -shared -o $@ $(OBJECTS)