• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Note that this file is hardly maintained, hardly usable without
2# manual editing, and not really part of a recommended way to build
3# GLib and related software with Microsoft's compilers. Only a few
4# persons use a build setup that involves this file.
5
6# This file is included by makefiles for both GNU Make (for gcc
7# (mingw) builds, and NMAKE (for MSVC builds).
8
9MODULE_DEFS_INCLUDED=1
10
11################
12# The version macros define what versions of libraries to use.
13
14# The version numbers are defined unconditionally. If you want to
15# produce a newer version of one of these libraries, the new number
16# should be defined in the specific project makefile _after_ including
17# this file (or make.{mingw,msc}). These version numbers are used in
18# the names of some import libraries.
19
20# Please note that there are two (or three) ways to build the GLib
21# (and GTK+ etc) libraries on Win32: Either using the same
22# auto*/configure mechanism to generate makefiles as on Unix, and
23# libtool to handle DLL creation. This currently only works for gcc,
24# and even then it is hellish to set up to work 100% correctly. For
25# people using that, this file is totally irrelevant.
26
27# Or, use hand-written makefiles, either for MSVC (these are called
28# makefile.msc and maintained by Hans Breuer), or for gcc
29# (makefile.mingw, by Tor Lillqvist). Only for GLib are the
30# makefile.mingw files believed to be up-to-date, for other modules
31# they have been left to rot after Tor started using the
32# autoconfiscated way of building.
33
34# The stuff here uses the same name for (import) libraries as on Unix,
35# as libtool uses those, and the semi-official developer packages are
36# built using libtool.
37
38ATK_VER = 1.0
39CAIRO_VER = 0.3
40FREETYPE2_VER = 2.0
41GIMP_VER = 1.2
42GDK_PIXBUF_VER = 2.0
43GLIB_VER = 2.0
44GTKGLAREA_VER = 1.2.2
45GTK2_VER = 2.0
46LIBGLADE_VER = 0.14
47LIBICONV_VER = 1.7
48LIBXML_VER = 1.8.7
49LIBXML2_VER = 2.4.2
50PANGO_VER = 1.0
51POPT_VER = 1.4
52SVG_VER = 0.1
53RSVG_VER = 2.4
54
55################
56# Locations of various source directories. TOP is defined in make.{mingw,msc}
57
58# First stuff that is in the GNOME CVS repository.
59# In alphabetical order.
60
61ATK = $(TOP)/atk
62CAIRO = $(TOP)\cairo
63GIMP = $(TOP)/gimp
64GLIB = $(TOP)/glib
65GNOMECANVAS = $(TOP)\libgnomecanvas
66GNOMECANVAS_VER = 2.9
67
68# GTK+ 1.3.0, gtk-1-3-win32-production branch. Rename directory
69# to gtk+p after initial checkout from CVS.
70GTK = $(TOP)/gtk+p
71# GTK+ 2.0
72GTK2 = $(TOP)/gtk+
73GNOMEPRINT = $(TOP)\libgnomeprint
74GNOMEPRINT_VER = 2.8
75GDK_PIXBUF = $(GTK)
76LIBGLADE = $(TOP)/libglade
77LIBXML = $(TOP)/libxml-$(LIBXML_VER)
78PANGO = $(TOP)/pango
79
80GNOMEPRINTUI = $(TOP)\libgnomeprintui
81GNOMEPRINTUI_VER = 2.2
82
83# Aux programs
84GLIB_GENMARSHAL = $(GLIB)/gobject/glib-genmarshal
85
86# Stuff from other places.
87
88# Note this was is specific to what tml happened to have on his disk
89# at some time in history. To really be able to recompile something
90# that uses for instance libjpeg, you should download a suitable
91# binary "developer" distribution of it, unpack it into some location,
92# and edit this file correspondingly. You should not take the versions
93# mentioned here too literally, use the latest version you can find,
94# or the ones the current GTK+ 2.0 for Windows uses.
95
96FREETYPE2 = $(TOP)/freetype2
97GTKEXTRA = $(TOP)/gtk+extra
98GTKGLAREA = $(TOP)/gtkglarea
99INTL = $(TOP)/gettext-0.10.40/intl
100JPEG = $(TOP)/jpeg-6b
101LIBART = $(TOP)/libart_lgpl
102LIBICONV = $(TOP)/libiconv-$(LIBICONV_VER)
103LIBXSLT = $(TOP)/libxslt
104PNG = $(TOP)/libpng-1.2.0
105RSVG = $(TOP)\librsvg
106SVG = $(TOP)\libsvg
107TIFF = $(TOP)/tiff-v3.4
108ZLIB = $(TOP)/zlib-1.1.3
109
110# Headers from Microsoft's PlatformSDK (that aren't present in
111# mingw) are needed by a just a few packages when compiling with gcc.
112# This is just where tml has it installed.
113PLATFORMSDK = i:/src/psdk
114