changeset 1840:756ec3dcd3ec

alarm: MK2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 14:04:28 -0500
parents 4e8ed7dff435
children 3c7750b27c80
files src/alarm/Makefile src/alarm/interface.c
diffstat 2 files changed, 9 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/src/alarm/Makefile	Mon Sep 24 14:03:31 2007 -0500
+++ b/src/alarm/Makefile	Mon Sep 24 14:04:28 2007 -0500
@@ -1,18 +1,11 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+PLUGIN = alarm${PLUGIN_SUFFIX}
+SRCS = alarm.c interface.c
 
-SUBDIRS = 
-
-OBJECTIVE_LIBS = libalarm$(SHARED_SUFFIX)
-
-LIBDIR = $(plugindir)/$(GENERAL_PLUGIN_DIR)
+plugindir = audacious/${GENERAL_PLUGIN_DIR}
 
-LIBADD += $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
-
-SOURCES = alarm.c interface.c
+include ../../buildsys.mk
+include ../../extra.mk
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(BEEP_DEFINES) -I../../intl -I../..
-
-OBJECTS = ${SOURCES:.c=.o}
-
-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}
--- a/src/alarm/interface.c	Mon Sep 24 14:03:31 2007 -0500
+++ b/src/alarm/interface.c	Mon Sep 24 14:04:28 2007 -0500
@@ -2,9 +2,7 @@
  * DO NOT EDIT THIS FILE - it is generated by Glade.
  */
 
-#ifdef HAVE_CONFIG_H
-#  include <config.h>
-#endif
+#include <config.h>
 
 #include <sys/types.h>
 #include <sys/stat.h>