33d023680f
* builds/os2/detekt.mk, builds/win32/detekt.mk: Moved comment to avoid trailing spaces in variable. * builds/freetype.mk: Use $(D) instead of $D to make statement more readable. * docs/docmaker.py: Formatting. * src/psaux/psauxmod.c: Fixed a broken inclusion of component header files (an FT_FLAT_COMPILE test was missing). * src/cache/ftcmanag.c (FTC_Manager_Done): Fixed a bug that caused an occasional crash when the function was called (due to a dangling pointer). * src/base/ftsystem.c (FT_Done_Memory): Fixed an obvious bug: The ANSI "free()" function was called instead of "memory->free()". * docs/docmaker.py: Added section filtering, multi-page generation (index page generation is still missing though). * builds/unix/install.mk, builds/unix/ft2unix.h: The file "ft2unix.h" is now installed as <ft2build.h> for Unix systems. Note that we still use the "freetype2/freetype" installation path for now. * many files: Now using <ft2build.h> as the default build and setup configuration file in all public headers. Internal source files still need some changes though. * builds/devel/ft2build.h, builds/devel/ftoption.h: Created a new Win32 developer builds. builds/win32/w32-dev.mk: Changed the developer build targets to "devel-gcc" and "devel-bcc" in order to be able to develop with the Borland C++ compiler.
64 lines
1.5 KiB
Makefile
64 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
|
|
|
|
# gcc-emx by default
|
|
CONFIG_FILE := os2-gcc.mk
|
|
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
|