# HG changeset patch # User William Pitcock # Date 1190651847 18000 # Node ID 7c380a9b2feaea86193c122ec6762beb5bb9975e # Parent 4a200593472de53fc10dadcc2b5db0fd00bd788c flacng: Mk2 diff -r 4a200593472d -r 7c380a9b2fea src/flacng/Makefile --- a/src/flacng/Makefile Mon Sep 24 11:33:35 2007 -0500 +++ b/src/flacng/Makefile Mon Sep 24 11:37:27 2007 -0500 @@ -1,16 +1,15 @@ -include ../../mk/rules.mk -include ../../mk/init.mk +include ../../extra.mk -OBJECTIVE_LIBS = libflacng$(SHARED_SUFFIX) +PLUGIN = flacng$(SHARED_SUFFIX) +plugindir = audacious/$(INPUT_PLUGIN_DIR) -LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR) +SRCS = plugin.c tools.c seekable_stream_callbacks.c flac_compat112.c -LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(LIBFLAC_LIBS) +include ../../buildsys.mk -SOURCES = plugin.c tools.c seekable_stream_callbacks.c flac_compat112.c +LIBS += $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(LIBFLAC_LIBS) OBJECTS = ${SOURCES:.c=.o} -CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../.. $(LIBFLAC_CFLAGS) -Wall - -include ../../mk/objective.mk +CFLAGS += $(PLUGIN_CFLAGS) +CPPFLAGS += $(MOWGLI_CFLAGS) $(DBUS_CFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../.. $(LIBFLAC_CFLAGS) -Wall