diff src/libid3tag/Makefile @ 3535:9ddf21ab5c84 trunk

Transit to Mk2.
author William Pitcock <nenolod@atheme.org>
date Mon, 17 Sep 2007 13:10:19 -0500
parents bc862007dc1d
children 1caa559c5619
line wrap: on
line diff
--- a/src/libid3tag/Makefile	Sat Sep 15 11:07:24 2007 +0200
+++ b/src/libid3tag/Makefile	Mon Sep 17 13:10:19 2007 -0500
@@ -1,21 +1,10 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+include ../../extra.mk
 
-OBJECTIVE_LIBS = libaudid3tag$(SHARED_SUFFIX)
-
-PICLDFLAGS = $(LIBLDFLAGS)
-
-LIBDIR = $(plugindir)
+LIB = ${LIB_PREFIX}audid3tag${LIB_SUFFIX}
 
-LIBADD += $(GLIB_LIBS)
+INCLUDES = id3tag.h
 
-CFLAGS += $(PICFLAGS) \
-	-I.. \
-	$(GLIB_CFLAGS) -Wall
-
-HEADERS = id3tag.h
-
-SOURCES = \
+SRCS = \
 	compat.c \
 	debug.c \
 	file.c \
@@ -34,6 +23,11 @@
 	utf16.c \
 	util.c
 
-OBJECTS = ${SOURCES:.c=.o}
+include ../../buildsys.mk
 
-include ../../mk/objective.mk
+CPPFLAGS += -I.. $(GLIB_CFLAGS)
+CFLAGS += $(LIB_CFLAGS)
+
+LIBS += $(GLIB_LIBS)
+
+LIBDIR = $(plugindir)