Mercurial > audlegacy-plugins
diff src/console/Makefile @ 1766:c3fdb0e5a306
Convert some makefiles, remove some -DHAVE_CONFIG_H.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Mon, 24 Sep 2007 11:13:14 -0500 |
parents | 550c9e382cf8 |
children | d9d4b258fbf1 |
line wrap: on
line diff
--- a/src/console/Makefile Mon Sep 24 10:49:57 2007 -0500 +++ b/src/console/Makefile Mon Sep 24 11:13:14 2007 -0500 @@ -1,11 +1,10 @@ -include ../../mk/rules.mk -include ../../mk/init.mk +include ../../extra.mk + +PLUGIN = console$(PLUGIN_SUFFIX) -OBJECTIVE_LIBS = libconsole$(SHARED_SUFFIX) +plugindir = audacious/$(INPUT_PLUGIN_DIR) -LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR) - -SOURCES = \ +SRCS = \ Audacious_Config.cxx \ Audacious_Driver.cxx \ Ay_Apu.cxx \ @@ -57,10 +56,9 @@ Ym2612_Emu.cxx \ Zlib_Inflater.cxx -OBJECTS = ${SOURCES:.cxx=.o} +include ../../buildsys.mk -LIBADD += -lz $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) -lstdc++ -CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../.. -CXXFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../.. - -include ../../mk/objective.mk +LIBS += -lz $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) -lstdc++ +CFLAGS += $(PLUGIN_CFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../.. +CXXFLAGS += $(PLUGIN_CFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../.. +CPPFLAGS += $(CXXFLAGS)