changeset 280:2e9fefd1a285

revised Makefile.mingw
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 15 Dec 2008 21:18:27 +0900
parents 071db91de7d8
children 57f08c61dbc3
files Makefile.mingw
diffstat 1 files changed, 15 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.mingw	Sun Dec 14 04:34:28 2008 +0900
+++ b/Makefile.mingw	Mon Dec 15 21:18:27 2008 +0900
@@ -1,15 +1,19 @@
-# define this variable if you use gtk common directory.
-GTK_COMMON =
+# you must specify pidgin top directory.
+PIDGIN_TREE_TOP = 
+
+# set this variable if you use gtk common directory.
+USE_GTK_TOP = 
+
 
-PIDGIN_TREE_TOP = ../pidgin-2.5.2
-ifneq ($(GTK_COMMON), )
-GLIB_TOP = $(GTK_COMMON)
-GTK_TOP = $(GTK_COMMON)
-ATK_TOP = $(GTK_COMMON)
-PANGO_TOP = $(GTK_COMMON)
-CAIRO_TOP = $(GTK_COMMON)
-ICONV_TOP = $(GTK_COMMON)
-GETTEXT_TOP = $(GTK_COMMON)
+include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
+
+ifeq ($(USE_GTK_TOP), 1)
+GLIB_TOP = $(GTK_TOP)
+ATK_TOP = $(GTK_TOP)
+PANGO_TOP = $(GTK_TOP)
+CAIRO_TOP = $(GTK_TOP)
+ICONV_TOP = $(GTK_TOP)
+GETTEXT_TOP = $(GTK_TOP)
 else
 GLIB_TOP = ../glib-dev-2.16.5
 GTK_TOP = ../gtk+-dev-2.12.11
@@ -20,8 +24,6 @@
 GETTEXT_TOP = ../gettext-runtime-dev-0.17-1
 endif
 
-include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
-
 OBJCOPY = objcopy.exe
 STRIP = strip.exe