1999-12-17 00:11:37 +01:00
|
|
|
#
|
2000-03-05 02:14:19 +01:00
|
|
|
# FreeType 2 configuration file to detect a UNIX host platform.
|
1999-12-17 00:11:37 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2000-03-05 02:14:19 +01:00
|
|
|
# Copyright 1996-2000 by
|
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
2000-02-29 17:56:18 +01:00
|
|
|
#
|
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).
2000-06-11 05:46:57 +02:00
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
2000-03-05 02:14:19 +01:00
|
|
|
# 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
|
|
|
|
# fully.
|
1999-12-17 00:11:37 +01:00
|
|
|
|
|
|
|
|
2000-05-12 17:01:18 +02:00
|
|
|
# This will probably change a lot in the future if we are going to use
|
2000-03-05 02:14:19 +01:00
|
|
|
# Automake/Autoconf...
|
1999-12-17 00:11:37 +01:00
|
|
|
|
|
|
|
|
2000-03-05 02:14:19 +01:00
|
|
|
ifeq ($(PLATFORM),ansi)
|
|
|
|
|
2000-03-28 13:22:31 +02:00
|
|
|
has_init := $(strip $(wildcard /sbin/init))
|
|
|
|
ifneq ($(has_init),)
|
2000-03-05 02:14:19 +01:00
|
|
|
|
|
|
|
PLATFORM := unix
|
|
|
|
COPY := cp
|
|
|
|
DELETE := rm -f
|
|
|
|
|
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).
2000-06-11 05:46:57 +02:00
|
|
|
# Test whether we are using gcc. If so, we select the `unix-gcc.mk'
|
2000-03-05 02:14:19 +01:00
|
|
|
# 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).
|
|
|
|
#
|
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).
2000-06-11 05:46:57 +02:00
|
|
|
ifeq ($(firstword $(CC)),gcc)
|
2000-03-05 02:14:19 +01:00
|
|
|
is_gcc := 1
|
|
|
|
else
|
|
|
|
ifneq ($(findstring gcc,$(shell $(CC) -v 2>&1)),)
|
|
|
|
is_gcc := 1
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef is_gcc
|
|
|
|
CONFIG_FILE := unix-gcc.mk
|
|
|
|
else
|
|
|
|
CONFIG_FILE := unix.mk
|
|
|
|
endif
|
|
|
|
|
|
|
|
# If `devel' is the requested target, use the development Makefile.
|
|
|
|
#
|
|
|
|
ifneq ($(findstring devel,$(MAKECMDGOALS)),)
|
|
|
|
CONFIG_FILE := unix-dev.mk
|
|
|
|
devel: setup
|
|
|
|
endif
|
|
|
|
|
|
|
|
setup: std_setup
|
|
|
|
|
|
|
|
endif # test Unix
|
|
|
|
endif # test PLATFORM
|
|
|
|
|
|
|
|
# EOF
|