summaryrefslogtreecommitdiff
path: root/builds/toplevel.mk
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2000-12-20 22:09:41 +0000
committerWerner Lemberg <wl@gnu.org>2000-12-20 22:09:41 +0000
commit594f0c965d9bfcba9ef07ce54490a8ab7f6ba2a2 (patch)
treec2dc79fa6c4413df881459d7bc738453dba0f464 /builds/toplevel.mk
parent5a2fdc0cbcc2a1327c3c15af30aa2041c200189e (diff)
downloadfreetype2-594f0c965d9bfcba9ef07ce54490a8ab7f6ba2a2.tar.gz
* *.mk: Added lots of `.PHONY' targets.
* *.mk: Implemented `platform' target to disable auto-detection. Added support for clipped direct rendering in the smooth renderer. This should not break binary compatibility of existing applications. * include/freetype/fttypes.h, include/freetype/ftimage.h: Move definition of the FT_BBox structure from the former to the latter. * include/freetype/ftimage.h: Add `ft_raster_flag_clip' value to FT_Raster_Flag enumeration. Add `clip_box' element to FT_Raster_Params structure. * src/smooth/ftgrays.c (grays_convert_glyph): Implement it. * src/raster/ftraster.c (ft_black_render): Test for unsupported direct rendering before testing arguments.
Diffstat (limited to 'builds/toplevel.mk')
-rw-r--r--builds/toplevel.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/builds/toplevel.mk b/builds/toplevel.mk
index fe1af48f1..f05ca0dad 100644
--- a/builds/toplevel.mk
+++ b/builds/toplevel.mk
@@ -34,7 +34,7 @@
# details on host platform detection and library builds.
-.PHONY: setup distclean
+.PHONY: all setup distclean modules
# The `space' variable is used to avoid trailing spaces in defining the
# `T' variable later.
@@ -71,6 +71,8 @@ endif
#
ifdef check_platform
+ # This is the first rule `make' sees.
+ #
all: setup
ifdef USE_MODULES
@@ -92,7 +94,8 @@ ifdef check_platform
# 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.
+ # GNU make. Similarly, `nul' is created if e.g. `make setup win32' has
+ # been erroneously used.
#
distclean:
$(RM) builds/unix/config.cache
@@ -100,6 +103,7 @@ ifdef check_platform
$(RM) builds/unix/config.status
$(RM) builds/unix/unix-def.mk
$(RM) builds/unix/unix-cc.mk
+ $(RM) nul
# IMPORTANT:
#