2000-07-08 02:22:20 +02:00
|
|
|
#
|
|
|
|
# FreeType 2 configuration file to detect an OS/2 host platform.
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2023-01-17 09:18:25 +01:00
|
|
|
# Copyright (C) 1996-2023 by
|
2000-07-08 02:22:20 +02:00
|
|
|
# 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.
|
|
|
|
|
|
|
|
|
2000-12-20 23:09:41 +01:00
|
|
|
.PHONY: setup
|
|
|
|
|
|
|
|
|
2000-07-08 02:22:20 +02:00
|
|
|
ifeq ($(PLATFORM),ansi)
|
|
|
|
|
|
|
|
ifdef OS2_SHELL
|
|
|
|
|
|
|
|
PLATFORM := os2
|
|
|
|
|
2000-12-20 23:09:41 +01:00
|
|
|
endif # test OS2_SHELL
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(PLATFORM),os2)
|
|
|
|
|
2003-06-09 06:46:30 +02:00
|
|
|
COPY := copy
|
|
|
|
DELETE := del
|
2006-12-09 21:01:43 +01:00
|
|
|
CAT := type
|
2003-06-09 06:46:30 +02:00
|
|
|
SEP := $(BACKSLASH)
|
2000-12-20 23:09:41 +01:00
|
|
|
|
|
|
|
# gcc-emx by default
|
|
|
|
CONFIG_FILE := os2-gcc.mk
|
|
|
|
|
|
|
|
# additionally, we provide hooks for various other compilers
|
|
|
|
#
|
|
|
|
ifneq ($(findstring visualage,$(MAKECMDGOALS)),) # Visual Age C++
|
|
|
|
CONFIG_FILE := os2-icc.mk
|
|
|
|
CC := icc
|
[build] Suppress configure's `nothing to be done' message.
This is due to calling the configure script via `make' (within the
top-level `configure' wrapper script). The same can happen for all
other secondary make targets that are used to only modify the
primary one, e.g., `make setup devel'.
* builds/dos/detect.mk (emx, turboc, watcom, borlandc, borlandc16),
builds/os2/detect (visualage, watcom, borlandc, devel),
builds/unix/detect.mk (devel, lcc, unix), builds/windows/detect.mk
(visualc, watcom, visualage, lcc, mingw32, bcc32, devel-bcc,
devel-gcc): Use no-op recipe.
2018-05-07 08:54:34 +02:00
|
|
|
|
2000-12-20 23:09:41 +01:00
|
|
|
.PHONY: visualage
|
[build] Suppress configure's `nothing to be done' message.
This is due to calling the configure script via `make' (within the
top-level `configure' wrapper script). The same can happen for all
other secondary make targets that are used to only modify the
primary one, e.g., `make setup devel'.
* builds/dos/detect.mk (emx, turboc, watcom, borlandc, borlandc16),
builds/os2/detect (visualage, watcom, borlandc, devel),
builds/unix/detect.mk (devel, lcc, unix), builds/windows/detect.mk
(visualc, watcom, visualage, lcc, mingw32, bcc32, devel-bcc,
devel-gcc): Use no-op recipe.
2018-05-07 08:54:34 +02:00
|
|
|
visualage: setup
|
|
|
|
@cd .
|
2000-12-20 23:09:41 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(findstring watcom,$(MAKECMDGOALS)),) # Watcom C/C++
|
|
|
|
CONFIG_FILE := os2-wat.mk
|
|
|
|
CC := wcc386
|
[build] Suppress configure's `nothing to be done' message.
This is due to calling the configure script via `make' (within the
top-level `configure' wrapper script). The same can happen for all
other secondary make targets that are used to only modify the
primary one, e.g., `make setup devel'.
* builds/dos/detect.mk (emx, turboc, watcom, borlandc, borlandc16),
builds/os2/detect (visualage, watcom, borlandc, devel),
builds/unix/detect.mk (devel, lcc, unix), builds/windows/detect.mk
(visualc, watcom, visualage, lcc, mingw32, bcc32, devel-bcc,
devel-gcc): Use no-op recipe.
2018-05-07 08:54:34 +02:00
|
|
|
|
2000-12-20 23:09:41 +01:00
|
|
|
.PHONY: watcom
|
[build] Suppress configure's `nothing to be done' message.
This is due to calling the configure script via `make' (within the
top-level `configure' wrapper script). The same can happen for all
other secondary make targets that are used to only modify the
primary one, e.g., `make setup devel'.
* builds/dos/detect.mk (emx, turboc, watcom, borlandc, borlandc16),
builds/os2/detect (visualage, watcom, borlandc, devel),
builds/unix/detect.mk (devel, lcc, unix), builds/windows/detect.mk
(visualc, watcom, visualage, lcc, mingw32, bcc32, devel-bcc,
devel-gcc): Use no-op recipe.
2018-05-07 08:54:34 +02:00
|
|
|
watcom: setup
|
|
|
|
@cd .
|
2000-12-20 23:09:41 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(findstring borlandc,$(MAKECMDGOALS)),) # Borland C++ 32-bit
|
|
|
|
CONFIG_FILE := os2-bcc.mk
|
|
|
|
CC := bcc32
|
[build] Suppress configure's `nothing to be done' message.
This is due to calling the configure script via `make' (within the
top-level `configure' wrapper script). The same can happen for all
other secondary make targets that are used to only modify the
primary one, e.g., `make setup devel'.
* builds/dos/detect.mk (emx, turboc, watcom, borlandc, borlandc16),
builds/os2/detect (visualage, watcom, borlandc, devel),
builds/unix/detect.mk (devel, lcc, unix), builds/windows/detect.mk
(visualc, watcom, visualage, lcc, mingw32, bcc32, devel-bcc,
devel-gcc): Use no-op recipe.
2018-05-07 08:54:34 +02:00
|
|
|
|
2000-12-20 23:09:41 +01:00
|
|
|
.PHONY: borlandc
|
[build] Suppress configure's `nothing to be done' message.
This is due to calling the configure script via `make' (within the
top-level `configure' wrapper script). The same can happen for all
other secondary make targets that are used to only modify the
primary one, e.g., `make setup devel'.
* builds/dos/detect.mk (emx, turboc, watcom, borlandc, borlandc16),
builds/os2/detect (visualage, watcom, borlandc, devel),
builds/unix/detect.mk (devel, lcc, unix), builds/windows/detect.mk
(visualc, watcom, visualage, lcc, mingw32, bcc32, devel-bcc,
devel-gcc): Use no-op recipe.
2018-05-07 08:54:34 +02:00
|
|
|
borlandc: setup
|
|
|
|
@cd .
|
2000-12-20 23:09:41 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(findstring devel,$(MAKECMDGOALS)),) # development target
|
|
|
|
CONFIG_FILE := os2-dev.mk
|
|
|
|
CC := gcc
|
[build] Suppress configure's `nothing to be done' message.
This is due to calling the configure script via `make' (within the
top-level `configure' wrapper script). The same can happen for all
other secondary make targets that are used to only modify the
primary one, e.g., `make setup devel'.
* builds/dos/detect.mk (emx, turboc, watcom, borlandc, borlandc16),
builds/os2/detect (visualage, watcom, borlandc, devel),
builds/unix/detect.mk (devel, lcc, unix), builds/windows/detect.mk
(visualc, watcom, visualage, lcc, mingw32, bcc32, devel-bcc,
devel-gcc): Use no-op recipe.
2018-05-07 08:54:34 +02:00
|
|
|
|
2000-12-20 23:09:41 +01:00
|
|
|
.PHONY: devel
|
[build] Suppress configure's `nothing to be done' message.
This is due to calling the configure script via `make' (within the
top-level `configure' wrapper script). The same can happen for all
other secondary make targets that are used to only modify the
primary one, e.g., `make setup devel'.
* builds/dos/detect.mk (emx, turboc, watcom, borlandc, borlandc16),
builds/os2/detect (visualage, watcom, borlandc, devel),
builds/unix/detect.mk (devel, lcc, unix), builds/windows/detect.mk
(visualc, watcom, visualage, lcc, mingw32, bcc32, devel-bcc,
devel-gcc): Use no-op recipe.
2018-05-07 08:54:34 +02:00
|
|
|
devel: setup
|
|
|
|
@cd .
|
2000-12-20 23:09:41 +01:00
|
|
|
endif
|
2000-07-08 02:22:20 +02:00
|
|
|
|
2018-04-15 22:27:10 +02:00
|
|
|
setup: std_setup
|
2000-07-08 02:22:20 +02:00
|
|
|
|
2000-12-20 23:09:41 +01:00
|
|
|
endif # test PLATFORM os2
|
2000-07-08 02:22:20 +02:00
|
|
|
|
2003-06-09 06:46:30 +02:00
|
|
|
|
2000-09-22 23:23:29 +02:00
|
|
|
# EOF
|