Fix Windows build directories. The build target is now `windows' instead of `win32'. Problem reported by Nickolas George <darknova.clan@gmail.com>. * builds/modules.mk: Don't use `win32' and `win16' (!) but `windows'. * builds/windows/detect.mk, builds/windows/win32-def.mk: s/win32/windows/.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196
diff --git a/ChangeLog b/ChangeLog
index 0f43c04..ea0f612 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2014-02-08 Werner Lemberg <wl@gnu.org>
+
+ Fix Windows build directories.
+
+ The build target is now `windows' instead of `win32'.
+
+ Problem reported by Nickolas George <darknova.clan@gmail.com>.
+
+ * builds/modules.mk: Don't use `win32' and `win16' (!) but
+ `windows'.
+
+ * builds/windows/detect.mk, builds/windows/win32-def.mk:
+ s/win32/windows/.
+
2014-02-08 Eugen Sawin <esawin@mozilla.com>
Fix Savannah bug #41507.
diff --git a/builds/dos/detect.mk b/builds/dos/detect.mk
index 19bdeab..3e5e967 100644
--- a/builds/dos/detect.mk
+++ b/builds/dos/detect.mk
@@ -50,7 +50,7 @@ ifeq ($(PLATFORM),ansi)
ifeq ($(is_dos),)
ifdef winbootdir
#ifneq ($(OS),Windows_NT)
- # If win32 is available, do not trigger this test.
+ # If windows is available, do not trigger this test.
ifndef windir
is_dos := $(findstring Windows,$(strip $(shell ver)))
endif
diff --git a/builds/modules.mk b/builds/modules.mk
index c4a882c..3c1b083 100644
--- a/builds/modules.mk
+++ b/builds/modules.mk
@@ -3,7 +3,7 @@
#
-# Copyright 1996-2000, 2003, 2006, 2008 by
+# Copyright 1996-2000, 2003, 2006, 2008, 2014 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
@@ -28,7 +28,7 @@ $(FTMODULE_H): $(MODULES_CFG)
$(FTMODULE_H_CREATE)
$(FTMODULE_H_DONE)
-ifneq ($(findstring $(PLATFORM),dos win32 win16 os2),)
+ifneq ($(findstring $(PLATFORM),dos windows os2),)
OPEN_MODULE := @echo$(space)
CLOSE_MODULE := >> $(subst /,$(SEP),$(FTMODULE_H))
REMOVE_MODULE := @-$(DELETE) $(subst /,$(SEP),$(FTMODULE_H))
diff --git a/builds/toplevel.mk b/builds/toplevel.mk
index 9682028..812750a 100644
--- a/builds/toplevel.mk
+++ b/builds/toplevel.mk
@@ -3,7 +3,7 @@
#
-# Copyright 1996-2001, 2003, 2006, 2008-2010, 2012, 2013 by
+# Copyright 1996-2001, 2003, 2006, 2008-2010, 2012-2014 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
@@ -112,10 +112,10 @@ ifdef check_platform
include $(TOP_DIR)/builds/detect.mk
- # This rule makes sense for Unix only to remove files created by a run
- # of the configure script which hasn't been successful (so that no
+ # This rule makes sense for Unix only to remove files created by a run of
+ # the configure script which hasn't been successful (so that no
# `config.mk' has been created). It uses the built-in $(RM) command of
- # GNU make. Similarly, `nul' is created if e.g. `make setup win32' has
+ # GNU make. Similarly, `nul' is created if e.g. `make setup windows' has
# been erroneously used.
#
# Note: This test is duplicated in `builds/unix/detect.mk'.
diff --git a/builds/windows/detect.mk b/builds/windows/detect.mk
index 1906539..9dca261 100644
--- a/builds/windows/detect.mk
+++ b/builds/windows/detect.mk
@@ -3,7 +3,7 @@
#
-# Copyright 1996-2000, 2003, 2004, 2006, 2007 by
+# Copyright 1996-2000, 2003, 2004, 2006, 2007, 2014 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
@@ -23,7 +23,7 @@ ifeq ($(PLATFORM),ansi)
#
ifeq ($(OS),Windows_NT)
- PLATFORM := win32
+ PLATFORM := windows
else
@@ -44,7 +44,8 @@ ifeq ($(PLATFORM),ansi)
#
# A better test is to check whether there are both the environment
# variables `winbootdir' and `windir'. The first indicates an
- # underlying DOS 7.x, while the second is set only if win32 is available.
+ # underlying DOS 7.x, while the second is set only if windows is
+ # available.
#
# Note that on Windows NT, such an environment variable will not be seen
# from DOS-based tools like DJGPP's make; this is not actually a problem
@@ -53,7 +54,7 @@ ifeq ($(PLATFORM),ansi)
ifdef winbootdir
ifdef windir
- PLATFORM := win32
+ PLATFORM := windows
endif
endif
@@ -62,7 +63,7 @@ ifeq ($(PLATFORM),ansi)
endif # test PLATFORM ansi
-ifeq ($(PLATFORM),win32)
+ifeq ($(PLATFORM),windows)
DELETE := del
CAT := type
@@ -177,7 +178,7 @@ ifeq ($(PLATFORM),win32)
.PHONY: devel-gcc
endif
-endif # test PLATFORM win32
+endif # test PLATFORM windows
# EOF
diff --git a/builds/windows/win32-def.mk b/builds/windows/win32-def.mk
index a65ea4f..61af5df 100644
--- a/builds/windows/win32-def.mk
+++ b/builds/windows/win32-def.mk
@@ -3,7 +3,7 @@
#
-# Copyright 1996-2000, 2003, 2005, 2006, 2013 by
+# Copyright 1996-2000, 2003, 2005, 2006, 2013, 2014 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
@@ -17,7 +17,7 @@ DELETE := del
CAT := type
SEP := $(strip \ )
BUILD_DIR := $(TOP_DIR)/builds/windows
-PLATFORM := win32
+PLATFORM := windows
# The executable file extension (for tools). NOTE: WE INCLUDE THE DOT HERE !!
#
diff --git a/docs/INSTALL.GNU b/docs/INSTALL.GNU
index c2ff299..3b9e0a2 100644
--- a/docs/INSTALL.GNU
+++ b/docs/INSTALL.GNU
@@ -52,7 +52,7 @@ instructions in the file `INSTALL.UNIX' instead.
The following settings are used:
- platform win32
+ platform windows
compiler gcc
configuration directory .\builds\windows
configuration rules .\builds\windows\w32-gcc.mk
@@ -148,7 +148,7 @@ instructions in the file `INSTALL.UNIX' instead.
----------------------------------------------------------------------
-Copyright 2003, 2004, 2005, 2006, 2008, 2013 by
+Copyright 2003-2006, 2008, 2013, 2014 by
David Turner, Robert Wilhelm, and Werner Lemberg.
This file is part of the FreeType project, and may only be used,
diff --git a/objs/.gitignore b/objs/.gitignore
index 100d7d8..21b67f6 100644
--- a/objs/.gitignore
+++ b/objs/.gitignore
@@ -12,3 +12,4 @@ libfreetype.la
debug*/
release*/
win32/
+win64/