# HG changeset patch # User chainsaw # Date 1139271860 28800 # Node ID 86c09efdc4e7a22a004a9be6f3fea1a52f026470 # Parent 29ae4b6f4f9263def75bd08f0749f303bc68d085 [svn] Build fixes for SID by NhJm. diff -r 29ae4b6f4f92 -r 86c09efdc4e7 Plugins/Input/sid/Makefile.in --- 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 $@ +