diff src/audacious/intl/Makefile @ 3535:9ddf21ab5c84 trunk

Transit to Mk2.
author William Pitcock <nenolod@atheme.org>
date Mon, 17 Sep 2007 13:10:19 -0500
parents e50fd4eefa5f
children 625af2797f35
line wrap: on
line diff
--- a/src/audacious/intl/Makefile	Sat Sep 15 11:07:24 2007 +0200
+++ b/src/audacious/intl/Makefile	Mon Sep 17 13:10:19 2007 -0500
@@ -1,22 +1,4 @@
-include ../../../mk/rules.mk
-include ../../../mk/init.mk
-
-localedir = $(datadir)/locale
-gettextsrcdir = $(datadir)/gettext/intl
-aliaspath = $(localedir)
-
-OBJECTIVE_LIBS_NOINST = libintl.a
-
-DEFS += -DLOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \
-	-DLIBDIR=\"$(libdir)\" -DIN_LIBINTL \
-	-DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"$(libdir)\" -DINSTALLPREFIX=\"$(libdir)\" -DNO_XMALLOC \
-	-Dset_relocation_prefix=libintl_set_relocation_prefix \
-	-Drelocate=libintl_relocate \
-	-DDEPENDS_ON_LIBICONV=1
-
-CFLAGS += $(PICFLAGS) -I../../.. -I../.. -I. $(DEFS)
-
-SOURCES = \
+SRCS = \
   bindtextdom.c \
   dcgettext.c \
   dgettext.c \
@@ -41,6 +23,20 @@
   os2compat.c \
   intl-compat.c  
 
-OBJECTS = ${SOURCES:.c=.o}
+STATIC_LIB_NOINST = libintl.a
+
+include ../../../buildsys.mk
+include ../../../extra.mk
+
+localedir = $(datadir)/locale
+gettextsrcdir = $(datadir)/gettext/intl
+aliaspath = $(localedir)
 
-include ../../../mk/objective.mk
+DEFS += -DLOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \
+	-DLIBDIR=\"$(libdir)\" -DIN_LIBINTL \
+	-DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"$(libdir)\" -DINSTALLPREFIX=\"$(libdir)\" -DNO_XMALLOC \
+	-Dset_relocation_prefix=libintl_set_relocation_prefix \
+	-Drelocate=libintl_relocate \
+	-DDEPENDS_ON_LIBICONV=1
+
+CPPFLAGS += -I../../.. -I../.. -I. $(DEFS)