diff Plugins/Input/sid/Makefile.in @ 621:86c09efdc4e7 trunk

[svn] Build fixes for SID by NhJm.
author chainsaw
date Mon, 06 Feb 2006 16:24:20 -0800
parents 8e1a0719e4a5
children de036d09f9f7
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 $@
+