changeset 621:86c09efdc4e7 trunk

[svn] Build fixes for SID by NhJm.
author chainsaw
date Mon, 06 Feb 2006 16:24:20 -0800
parents 29ae4b6f4f92
children 09888c08e5e5
files Plugins/Input/sid/Makefile.in
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/sid/Makefile.in	Mon Feb 06 12:08:35 2006 -0800
+++ b/Plugins/Input/sid/Makefile.in	Mon Feb 06 16:24:20 2006 -0800
@@ -17,7 +17,7 @@
 LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
 
 LDFLAGS = $(BUILDERS_LDFLAGS)
-LIBADD  = $(SIDPLAY1_LDADD) $(SIDPLAY2_LDADD) $(RESID_LDADD) $(HARDSID_LDADD)
+LIBADD  = $(SIDPLAY1_LDADD) $(SIDPLAY2_LDADD) $(RESID_LDADD) $(HARDSID_LDADD) $(GTK_LIBS)
 SOURCES =	\
 	xs_init.c	\
 	xs_about.c	\
@@ -36,4 +36,9 @@
 	xs_sidplay2.cc	\
 	xmms-sid.c
 
-OBJECTS = ${SOURCES:.c=.o} ${SOURCES:.cc=.o}
+OBJECTS1 = ${SOURCES:.c=.o}
+OBJECTS = ${OBJECTS1:.cc=.o}
+
+libsid.so: $(OBJECTS)
+	$(CC) $(CFLAGS) $(LDFLAGS) $(LIBADD) -shared $(OBJECTS) -o $@
+