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 9 MODULE_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 38 ATK_VER = 1.0 39 CAIRO_VER = 0.3 40 FREETYPE2_VER = 2.0 41 GIMP_VER = 1.2 42 GDK_PIXBUF_VER = 2.0 43 GLIB_VER = 2.0 44 GTKGLAREA_VER = 1.2.2 45 GTK2_VER = 2.0 46 LIBGLADE_VER = 0.14 47 LIBICONV_VER = 1.7 48 LIBXML_VER = 1.8.7 49 LIBXML2_VER = 2.4.2 50 PANGO_VER = 1.0 51 POPT_VER = 1.4 52 SVG_VER = 0.1 53 RSVG_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 61 ATK = $(TOP)/atk 62 CAIRO = $(TOP)\cairo 63 GIMP = $(TOP)/gimp 64 GLIB = $(TOP)/glib 65 GNOMECANVAS = $(TOP)\libgnomecanvas 66 GNOMECANVAS_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. 70 GTK = $(TOP)/gtk+p 71 # GTK+ 2.0 72 GTK2 = $(TOP)/gtk+ 73 GNOMEPRINT = $(TOP)\libgnomeprint 74 GNOMEPRINT_VER = 2.8 75 GDK_PIXBUF = $(GTK) 76 LIBGLADE = $(TOP)/libglade 77 LIBXML = $(TOP)/libxml-$(LIBXML_VER) 78 PANGO = $(TOP)/pango 79 80 GNOMEPRINTUI = $(TOP)\libgnomeprintui 81 GNOMEPRINTUI_VER = 2.2 82 83 # Aux programs 84 GLIB_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 96 FREETYPE2 = $(TOP)/freetype2 97 GTKEXTRA = $(TOP)/gtk+extra 98 GTKGLAREA = $(TOP)/gtkglarea 99 INTL = $(TOP)/gettext-0.10.40/intl 100 JPEG = $(TOP)/jpeg-6b 101 LIBART = $(TOP)/libart_lgpl 102 LIBICONV = $(TOP)/libiconv-$(LIBICONV_VER) 103 LIBXSLT = $(TOP)/libxslt 104 PNG = $(TOP)/libpng-1.2.0 105 RSVG = $(TOP)\librsvg 106 SVG = $(TOP)\libsvg 107 TIFF = $(TOP)/tiff-v3.4 108 ZLIB = $(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. 113 PLATFORMSDK = i:/src/psdk 114