changeset 1814:6bc14eddc4c3

hotkey: Mk2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 13:06:11 -0500
parents ba351cb45c73
children 7d47a2d1567a 71698fb39d29
files src/hotkey/Makefile
diffstat 1 files changed, 8 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotkey/Makefile	Mon Sep 24 13:05:09 2007 -0500
+++ b/src/hotkey/Makefile	Mon Sep 24 13:06:11 2007 -0500
@@ -1,16 +1,11 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+PLUGIN = hotkey$(PLUGIN_SUFFIX)
+plugindir = audacious/$(GENERAL_PLUGIN_DIR)
 
-OBJECTIVE_LIBS = libhotkey$(SHARED_SUFFIX)
-
-LIBDIR = $(plugindir)/$(GENERAL_PLUGIN_DIR)
+SRCS = plugin.c
 
-LIBADD = $(GTK_LIBS) $(GLIB_LIBS)
-SOURCES = plugin.c
-
-OBJECTS = ${SOURCES:.c=.o}
+include ../../buildsys.mk
+include ../../extra.mk
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) \
-	-I../../intl -I../.. -I..
-
-include ../../mk/objective.mk
+LIBADD = $(GLIB_LIBS) $(DBUS_LIBS)
+CFLAGS += $(PLUGIN_CFLAGS)
+CPPFLAGS += $(PLUGIN_CPPFLAGS) $(GTK_CFLAGS) $(MOWGLI_CFLAGS) $(GLIB_CFLAGS) $(DBUS_CFLAGS) -I../../intl -I../.. -I..