e35cac66c6
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).
63 lines
1.5 KiB
Makefile
63 lines
1.5 KiB
Makefile
#
|
|
# FreeType 2 configuration file to detect an OS/2 host platform.
|
|
#
|
|
|
|
|
|
# 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,
|
|
# 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.
|
|
|
|
|
|
ifeq ($(PLATFORM),ansi)
|
|
|
|
ifdef OS2_SHELL
|
|
|
|
PLATFORM := os2
|
|
COPY := copy
|
|
DELETE := del
|
|
|
|
CONFIG_FILE := os2-gcc.mk # gcc-emx by default
|
|
SEP := /
|
|
|
|
# additionally, we provide hooks for various other compilers
|
|
#
|
|
ifneq ($(findstring visualage,$(MAKECMDGOALS)),) # Visual Age C++
|
|
CONFIG_FILE := os2-icc.mk
|
|
SEP := $(BACKSLASH)
|
|
CC := icc
|
|
.PHONY: visualage
|
|
endif
|
|
|
|
ifneq ($(findstring watcom,$(MAKECMDGOALS)),) # Watcom C/C++
|
|
CONFIG_FILE := os2-wat.mk
|
|
SEP := $(BACKSLASH)
|
|
CC := wcc386
|
|
.PHONY: watcom
|
|
endif
|
|
|
|
ifneq ($(findstring borlandc,$(MAKECMDGOALS)),) # Borland C++ 32-bit
|
|
CONFIG_FILE := os2-bcc.mk
|
|
SEP := $(BACKSLASH)
|
|
CC := bcc32
|
|
.PHONY: borlandc
|
|
endif
|
|
|
|
ifneq ($(findstring devel,$(MAKECMDGOALS)),) # development target
|
|
CONFIG_FILE := os2-dev.mk
|
|
CC := gcc
|
|
SEP := /
|
|
devel: setup
|
|
endif
|
|
|
|
setup: dos_setup
|
|
|
|
endif # test OS2_SHELL
|
|
endif # test PLATFORM
|
|
|
|
#EOF
|