changeset 293:f360d673cc35

tweaked makefile for windows.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 07 Apr 2009 17:44:18 +0900
parents 5e4e9b6637b4
children ea9973e6903c
files Makefile.mingw
diffstat 1 files changed, 17 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.mingw	Fri Apr 03 22:39:35 2009 +0900
+++ b/Makefile.mingw	Tue Apr 07 17:44:18 2009 +0900
@@ -1,29 +1,33 @@
-# you must specify pidgin top directory.
-PIDGIN_TREE_TOP = 
+# -*- mode: makefile -*-
 
-# uncomment this if you use gtk common directory.
-#USE_GTK_TOP = 1
+# you must specify pidgin top directory. the following line assumes
+# that pidgin-twitter directory is located at pidgin-*/pidgin/plugins.
+PIDGIN_TREE_TOP = ../../../
 
+# uncomment this if you use individually installed gtk libraries.
+# USE_CUSTOM_PATHS = 1
 
 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
 
-ifeq ($(USE_GTK_TOP), 1)
+# specify custom paths here.
+ifeq ($(USE_CUSTOM_PATHS), 1)
+GTK_TOP = ../gtk+-dev-2.12.11
+GLIB_TOP = ../glib-dev-2.16.5
+ATK_TOP = ../atk-dev-1.22.0
+PANGO_TOP = ../pango-dev-1.20.5
+CAIRO_TOP = ../cairo-dev-1.6.4-2
+ICONV_TOP = ../win_iconv-tml-20080320
+GETTEXT_TOP = ../gettext-runtime-dev-0.17-1
+else
 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
-ATK_TOP = ../atk-dev-1.22.0
-PANGO_TOP = ../pango-dev-1.20.5
-CAIRO_TOP = ../cairo-dev-1.6.4-2
-ICONV_TOP = ../win_iconv-tml-20080320
-GETTEXT_TOP = ../gettext-runtime-dev-0.17-1
 endif
 
+
 OBJCOPY = objcopy.exe
 STRIP = strip.exe