changeset 1841:3c7750b27c80

evdev-plug: Mk2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 14:05:33 -0500
parents 756ec3dcd3ec
children 4b9e7a5a0e9c
files src/evdev-plug/Makefile
diffstat 1 files changed, 8 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/src/evdev-plug/Makefile	Mon Sep 24 14:04:28 2007 -0500
+++ b/src/evdev-plug/Makefile	Mon Sep 24 14:05:33 2007 -0500
@@ -1,18 +1,11 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+PLUGIN = evdev-plug${PLUGIN_SUFFIX}
+SRCS = ed.c  ed_bindings_store.c  ed_internals.c  ed_ui.c
 
-OBJECTIVE_LIBS = libevdev-plug$(SHARED_SUFFIX)
-
-noinst_HEADERS = ed.h ed_ui.h ed_types.h ed_internals.h ed_actions.h ed_bindings_store.h ed_common.h
-
-LIBDIR = $(plugindir)/$(GENERAL_PLUGIN_DIR)
+plugindir = audacious/${GENERAL_PLUGIN_DIR}
 
-LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
-SOURCES = ed.c ed_ui.c ed_internals.c ed_bindings_store.c
-
-OBJECTS = ${SOURCES:.c=.o}
+include ../../buildsys.mk
+include ../../extra.mk
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) \
-	-I../../intl -I../.. -I..
-
-include ../../mk/objective.mk
+CPPFLAGS += ${PLUGIN_CPPFLAGS} ${BEEP_DEFINES} ${MOWGLI_CFLAGS} ${GTK_CFLAGS} ${GLIB_CFLAGS} ${PANGO_CFLAGS} -I../../intl -I../..
+CFLAGS += ${PLUGIN_CFLAGS}
+LIBADD = ${GTK_LIBS} ${GLIB_LIBS} ${PANGO_LIBS}