changeset 1852:a8667b6b6cd8

mtp_up: mk2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 14:24:14 -0500
parents 224ae16453ef
children 56a0c3edc410
files src/mtp_up/Makefile
diffstat 1 files changed, 8 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/src/mtp_up/Makefile	Mon Sep 24 14:19:48 2007 -0500
+++ b/src/mtp_up/Makefile	Mon Sep 24 14:24:14 2007 -0500
@@ -1,19 +1,11 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+PLUGIN = mtp_up${PLUGIN_SUFFIX}
+SRCS = mtp.c filetype.c
 
-SUBDIRS = 
-
-OBJECTIVE_LIBS = libmtp_up$(SHARED_SUFFIX)
-
-LIBDIR = $(plugindir)/$(GENERAL_PLUGIN_DIR)
+plugindir = audacious/${GENERAL_PLUGIN_DIR}
 
-LIBADD += $(MTP_LIBS) $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) 
-SOURCES = mtp.c filetype.c
-
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(BEEP_DEFINES) -I../../intl -I../..
+include ../../buildsys.mk
+include ../../extra.mk
 
-CFLAGS += -Wall  -pedantic -std=c99 $(GCC42_CFLAGS) -D_BSD_SOURCE
-
-OBJECTS = ${SOURCES:.c=.o}
-
-include ../../mk/objective.mk
+CPPFLAGS += ${PLUGIN_CPPFLAGS} ${BEEP_DEFINES} ${MOWGLI_CFLAGS} ${GTK_CFLAGS} ${GLIB_CFLAGS} ${PANGO_CFLAGS} -I../../intl -I../.. ${MTP_CFLAGS}
+CFLAGS += ${PLUGIN_CFLAGS}
+LIBS += ${GTK_LIBS} ${GLIB_LIBS} ${PANGO_LIBS} ${MTP_LIBS}