summaryrefslogtreecommitdiff
path: root/config/unix/detect.mk
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2000-06-11 03:46:57 +0000
committerWerner Lemberg <wl@gnu.org>2000-06-11 03:46:57 +0000
commite35cac66c652480b0d682647e92c2e7ef5cf7081 (patch)
treec49c07b430917ab6c81ca7c25671fd81711e1922 /config/unix/detect.mk
parentcb9109fc4013c04b1fdb6c6c1bd1294dd3602448 (diff)
downloadfreetype2-e35cac66c652480b0d682647e92c2e7ef5cf7081.tar.gz
A complete revision of FreeType 2's GNU makefiles (of the library):
Tons of unnecessary stuff have been removed; only the essential rules have been retained. The source files now depend on all header files in include/freetype, include/freetype/config, and include/freetype/internal. This is not optimal, I know, and I'll try to improve this, but it is better than before (namely no dependencies on `internal'). FTDEBUG_SRC has been added (similar to FTSYS_SRC) -- I don't know exactly whether this is really useful, but it doesn't harm. There is now more documentation in the makefiles itself. io-frames.html: Use of <th>, <code>, and <var> for better tagging. Reactivating of FT_DEBUG_LEVEL_xxx macros. Added a lot of #include directives to make `multi' builds possible -- note that currently the modules cid, t1, and t1z have clashing structures and functions which means that you can only use one of these three modules for a multi build. Added some missing function declarations to (local) header files. Renamed some T1_Open_Face() to CID_Open_Face() in the cid module -- a lot of other functions should be renamed also... Replaced many FT_xxx stuff with T1_xxx in t1z driver -- this isn't finished yet... Fixed FT_Free() to allow a NULL pointer without an assertion (this has always been a valid assumption in FreeType, at least in FT 1.x). A lot of other, minor fixes (mostly documentation).
Diffstat (limited to 'config/unix/detect.mk')
-rw-r--r--config/unix/detect.mk10
1 files changed, 3 insertions, 7 deletions
diff --git a/config/unix/detect.mk b/config/unix/detect.mk
index 28a5f346a..df3fc3dc7 100644
--- a/config/unix/detect.mk
+++ b/config/unix/detect.mk
@@ -6,7 +6,7 @@
# Copyright 1996-2000 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
-# This file is part of the FreeType project, and may only be used modified
+# This file is part of the FreeType project, and may only be used, modified,
# and distributed under the terms of the FreeType project license,
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
# indicate that you have read the license and understand and accept it
@@ -19,10 +19,6 @@
ifeq ($(PLATFORM),ansi)
-# Some Unix systems like *BSD do not have a /etc/inittab so we commented
-# the line.. (thanks to Yamano-uchi, Hidetoshi for pointing this out)..
-#
-# has_inittab := $(strip $(wildcard /etc/inittab))
has_init := $(strip $(wildcard /sbin/init))
ifneq ($(has_init),)
@@ -30,14 +26,14 @@ ifeq ($(PLATFORM),ansi)
COPY := cp
DELETE := rm -f
- # Test whether we're using gcc. If so, we select the `unix-gcc.mk'
+ # Test whether we are using gcc. If so, we select the `unix-gcc.mk'
# configuration file. Otherwise, the standard `unix.mk' is used which
# simply calls `cc -c' with no extra arguments.
#
# Feel free to add support for other platform specific compilers in this
# directory (e.g. solaris.mk + changes here to detect the platform).
#
- ifeq ($(CC),gcc)
+ ifeq ($(firstword $(CC)),gcc)
is_gcc := 1
else
ifneq ($(findstring gcc,$(shell $(CC) -v 2>&1)),)