ref: 6ac722b229a6ce58f61e7966bd069d870b333195
parent: 321cd27d0f89f8646c95218b16dca4a3c02d7f17
author: Werner Lemberg <[email protected]>
date: Thu Jul 27 07:32:13 EDT 2000
Adapting changes for Unix to other makefiles.
--- a/builds/ansi/ansi.mk
+++ b/builds/ansi/ansi.mk
@@ -23,17 +23,19 @@
BUILD := $(TOP)/builds/ansi
PLATFORM := ansi
+
# The directory where all object files are placed.
#
-# Note that this is not $(TOP)/obj!
# This lets you build the library in your own directory with something like
#
# set TOP=.../path/to/freetype2/top/dir...
-# mkdir obj
+# set OBJ_DIR=.../path/to/obj/dir
# make -f $TOP/Makefile setup [options]
# make -f $TOP/Makefile
#
-OBJ_DIR := obj
+ifndef OBJ_DIR
+ OBJ_DIR := $(TOP)$(SEP)obj
+endif
# The directory where all library files are placed.
--- a/builds/dos/dos-gcc.mk
+++ b/builds/dos/dos-gcc.mk
@@ -23,17 +23,19 @@
BUILD := $(TOP)/builds/dos
PLATFORM := dos
+
# The directory where all object files are placed.
#
-# Note that this is not $(TOP)/obj!
# This lets you build the library in your own directory with something like
#
# set TOP=.../path/to/freetype2/top/dir...
-# mkdir obj
+# set OBJ_DIR=.../path/to/obj/dir
# make -f %TOP%/Makefile setup [options]
# make -f %TOP%/Makefile
#
-OBJ_DIR := obj
+ifndef OBJ_DIR
+ OBJ_DIR := $(TOP)$(SEP)obj
+endif
# The directory where all library files are placed.
--- a/builds/os2/os2-dev.mk
+++ b/builds/os2/os2-dev.mk
@@ -26,17 +26,19 @@
PLATFORM := os2
CC := gcc
+
# The directory where all object files are placed.
#
-# Note that this is not $(TOP)/obj!
# This lets you build the library in your own directory with something like
#
# set TOP=.../path/to/freetype2/top/dir...
-# mkdir obj
+# set OBJ_DIR=.../path/to/obj/dir
# make -f %TOP%/Makefile setup [options]
# make -f %TOP%/Makefile
#
-OBJ_DIR := obj
+ifndef OBJ_DIR
+ OBJ_DIR := $(TOP)$(SEP)obj
+endif
# The directory where all library files are placed.
--- a/builds/os2/os2-gcc.mk
+++ b/builds/os2/os2-gcc.mk
@@ -24,17 +24,19 @@
PLATFORM := os2
CC := gcc
+
# The directory where all object files are placed.
#
-# Note that this is not $(TOP)/obj!
# This lets you build the library in your own directory with something like
#
# set TOP=.../path/to/freetype2/top/dir...
-# mkdir obj
-# make -f %TOP%/Makefile setup [options]
-# make -f %TOP%/Makefile
+# set OBJ_DIR=.../path/to/obj/dir
+# make -f %TOP%Makefile setup [options]
+# make -f %TOP%Makefile
#
-OBJ_DIR := obj
+ifndef OBJ_DIR
+ OBJ_DIR := $(TOP)$(SEP)obj
+endif
# The directory where all library files are placed.
--- a/builds/win32/w32-dev.mk
+++ b/builds/win32/w32-dev.mk
@@ -29,17 +29,19 @@
PLATFORM := win32
CC := gcc
+
# The directory where all object files are placed.
#
-# Note that this is not $(TOP)/obj!
# This lets you build the library in your own directory with something like
#
# set TOP=.../path/to/freetype2/top/dir...
-# mkdir obj
+# set OBJ_DIR=.../path/to/obj/dir
# make -f %TOP%/Makefile setup [options]
# make -f %TOP%/Makefile
#
-OBJ_DIR := obj
+ifndef OBJ_DIR
+ OBJ_DIR := $(TOP)$(SEP)obj
+endif
# The directory where all library files are placed.
--- a/builds/win32/w32-gcc.mk
+++ b/builds/win32/w32-gcc.mk
@@ -27,17 +27,19 @@
PLATFORM := win32
CC := gcc
+
# The directory where all object files are placed.
#
-# Note that this is not $(TOP)/obj!
# This lets you build the library in your own directory with something like
#
# set TOP=.../path/to/freetype2/top/dir...
-# mkdir obj
+# set OBJ_DIR=.../path/to/obj/dir
# make -f %TOP%/Makefile setup [options]
# make -f %TOP%/Makefile
#
-OBJ_DIR := obj
+ifndef OBJ_DIR
+ OBJ_DIR := $(TOP)$(SEP)obj
+endif
# The directory where all library files are placed.
--- a/builds/win32/w32-icc.mk
+++ b/builds/win32/w32-icc.mk
@@ -20,17 +20,19 @@
PLATFORM := win32
CC := icc
+
# The directory where all object files are placed.
#
-# Note that this is not $(TOP)/obj!
# This lets you build the library in your own directory with something like
#
# set TOP=.../path/to/freetype2/top/dir...
-# mkdir obj
+# set OBJ_DIR=.../path/to/obj/dir
# make -f %TOP%/Makefile setup [options]
# make -f %TOP%/Makefile
#
-OBJ_DIR := obj
+ifndef OBJ_DIR
+ OBJ_DIR := $(TOP)$(SEP)obj
+endif
# The directory where all library files are placed.
--- a/builds/win32/w32-lcc.mk
+++ b/builds/win32/w32-lcc.mk
@@ -24,17 +24,19 @@
PLATFORM := win32
CC := lcc
+
# The directory where all object files are placed.
#
-# Note that this is not $(TOP)/obj!
# This lets you build the library in your own directory with something like
#
# set TOP=.../path/to/freetype2/top/dir...
-# mkdir obj
+# set OBJ_DIR=.../path/to/obj/dir
# make -f %TOP%/Makefile setup [options]
# make -f %TOP%/Makefile
#
-OBJ_DIR := obj
+ifndef OBJ_DIR
+ OBJ_DIR := $(TOP)$(SEP)obj
+endif
# The directory where all library files are placed.
--- a/builds/win32/w32-vcc.mk
+++ b/builds/win32/w32-vcc.mk
@@ -24,17 +24,19 @@
PLATFORM := win32
CC := cl
+
# The directory where all object files are placed.
#
-# Note that this is not $(TOP)/obj!
# This lets you build the library in your own directory with something like
#
# set TOP=.../path/to/freetype2/top/dir...
-# mkdir obj
+# set OBJ_DIR=.../path/to/obj/dir
# make -f %TOP%/Makefile setup [options]
# make -f %TOP%/Makefile
#
-OBJ_DIR := obj
+ifndef OBJ_DIR
+ OBJ_DIR := $(TOP)$(SEP)obj
+endif
# The directory where all library files are placed.