Mercurial > audlegacy-plugins
diff src/sid/Makefile @ 1801:7086be3a058d
sid -> new buildsys
| author | Jonathan Schleifer <js@h3c.de> |
|---|---|
| date | Mon, 24 Sep 2007 19:45:49 +0200 |
| parents | e566e18e9e3d |
| children | a727b88f2578 |
line wrap: on
line diff
--- a/src/sid/Makefile Mon Sep 24 19:32:27 2007 +0200 +++ b/src/sid/Makefile Mon Sep 24 19:45:49 2007 +0200 @@ -1,45 +1,30 @@ -include ../../mk/rules.mk -include ../../mk/init.mk - -OBJECTIVE_LIBS = libsid$(SHARED_SUFFIX) - -### -### Source targets -### -EXTRA_DIST = xmms-sid-logo.xpm - -# Generals -TMPFLAGS = $(PICFLAGS) -D_REENTRANT $(PLUGIN_CFLAGS) $(SIDPLAY1_INCLUDES) $(SIDPLAY2_INCLUDES) $(BUILDERS_INCLUDES) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../.. -DAUDACIOUS_PLUGIN -CFLAGS += $(TMPFLAGS) -CXXFLAGS += $(TMPFLAGS) - -# Generated libraries - -LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR) +PLUGIN = sid${PLUGIN_SUFFIX} +SRCS = xs_init.c \ + xs_about.c \ + xs_support.c \ + xs_config.c \ + xs_md5.c \ + xs_length.c \ + xs_genui.c \ + xs_glade.c \ + xs_interface.c \ + xs_stil.c \ + xs_fileinfo.c \ + xs_filter.c \ + xs_sidplay1.cc \ + xs_sidplay2.cc \ + xs_curve.c \ + xs_slsup.c \ + xmms-sid.c -LDFLAGS += $(BUILDERS_LDFLAGS) -LIBADD = $(SIDPLAY1_LDADD) $(SIDPLAY2_LDADD) $(RESID_LDADD) $(HARDSID_LDADD) $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) -lstdc++ -SOURCES = \ - xs_init.c \ - xs_about.c \ - xs_support.c \ - xs_config.c \ - xs_md5.c \ - xs_length.c \ - xs_genui.c \ - xs_glade.c \ - xs_interface.c \ - xs_stil.c \ - xs_fileinfo.c \ - xs_filter.c \ - xs_sidplay1.cc \ - xs_sidplay2.cc \ - xs_curve.c \ - xs_slsup.c \ - xmms-sid.c +plugindir = audacious/${INPUT_PLUGIN_DIR} + +include ../../buildsys.mk +include ../../extra.mk -OBJECTS1 = ${SOURCES:.c=.o} -OBJECTS = ${OBJECTS1:.cc=.o} +LD = ${CXX} -include ../../mk/objective.mk - +CPPFLAGS += ${PLUGIN_CPPFLAGS} -D_REENTRANT -I../../intl -I../.. -DAUDACIOUS_PLUGIN ${MOWGLI_CFLAGS} ${SIDPLAY1_INCLUDES} ${SIDPLAY2_INCLUDES} ${BUILDERS_INCLUDES} ${GTK_CFLAGS} ${GLIB_CFLAGS} ${PANGO_CFLAGS} +CFLAGS += ${PLUGIN_CFLAGS} +CXXFLAGS += ${PLUGIN_CFLAGS} +LIBS += ${SIDPLAY1_LDADD} ${SIDPLAY2_LDADD} ${HARDSID_LDADD} ${GTK_LIBS} ${GLIB_LIBS} ${PANGO_LIBS}
