changeset 1904:276d2a3d998e

lirc: transition to new buildsystem
author William Pitcock <nenolod@atheme.org>
date Wed, 26 Sep 2007 19:06:37 -0500
parents 21508f1dca47
children a0c7cf5638de
files src/lirc/Makefile
diffstat 1 files changed, 8 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/src/lirc/Makefile	Wed Sep 26 17:55:00 2007 -0500
+++ b/src/lirc/Makefile	Wed Sep 26 19:06:37 2007 -0500
@@ -1,15 +1,12 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+PLUGIN = lirc$(PLUGIN_SUFFIX)
 
-OBJECTIVE_LIBS = liblirc$(SHARED_SUFFIX)
-
-LIBDIR = $(plugindir)/$(GENERAL_PLUGIN_DIR)
+plugindir = audacious/$(GENERAL_PLUGIN_DIR)
+SRCS = about.c lirc.c
 
-LIBADD = -llirc_client $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
-SOURCES = about.c lirc.c
+include ../../buildsys.mk
+include ../../extra.mk
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../..
+LIBS += -llirc_client $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
+CFLAGS += $(PLUGIN_CFLAGS)
+CPPFLAGS += $(PLUGIN_CPPFLAGS) $(GTK_CFLAGS) $(MOWGLI_CFLAGS) $(PANGO_CFLAGS) $(DBUS_CFLAGS) -I../../intl -I../..
 
-OBJECTS = ${SOURCES:.c=.o}
-
-include ../../mk/objective.mk