changeset 1842:4b9e7a5a0e9c

statusicon: MK2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 14:09:04 -0500
parents 3c7750b27c80
children b900277e18ec
files src/statusicon/Makefile
diffstat 1 files changed, 8 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/src/statusicon/Makefile	Mon Sep 24 14:05:33 2007 -0500
+++ b/src/statusicon/Makefile	Mon Sep 24 14:09:04 2007 -0500
@@ -1,18 +1,11 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+PLUGIN = statusicon${PLUGIN_SUFFIX}
+SRCS = gtktrayicon-x11.c  si.c  si_cfg.c  si_ui.c
 
-OBJECTIVE_LIBS = libstatusicon$(SHARED_SUFFIX)
-
-noinst_HEADERS = si.h si_ui.h si_cfg.h si_audacious.h si_common.h gtktrayicon.h si.xpm si2.xpm
-
-LIBDIR = $(plugindir)/$(GENERAL_PLUGIN_DIR)
+plugindir = audacious/${GENERAL_PLUGIN_DIR}
 
-LIBADD = $(GTK_LIBS) $(GDKX11_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
-SOURCES = si.c si_ui.c si_cfg.c gtktrayicon-x11.c
-
-OBJECTS = ${SOURCES:.c=.o}
+include ../../buildsys.mk
+include ../../extra.mk
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GDKX11_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}