mgh: fix for default HDD DMA mode, that wasn't correctly set
[open-ps2-loader.git] / thirdparty / freetype-2.3.12 / builds / os2 / detect.mk
blob47a40a2f857b85c2cb0195cc412f6dcf3fda7093
2 # FreeType 2 configuration file to detect an OS/2 host platform.
6 # Copyright 1996-2000, 2003, 2006 by
7 # David Turner, Robert Wilhelm, and Werner Lemberg.
9 # This file is part of the FreeType project, and may only be used, modified,
10 # and distributed under the terms of the FreeType project license,
11 # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 # indicate that you have read the license and understand and accept it
13 # fully.
16 .PHONY: setup
19 ifeq ($(PLATFORM),ansi)
21 ifdef OS2_SHELL
23 PLATFORM := os2
25 endif # test OS2_SHELL
26 endif
28 ifeq ($(PLATFORM),os2)
30 COPY := copy
31 DELETE := del
32 CAT := type
33 SEP := $(BACKSLASH)
35 # gcc-emx by default
36 CONFIG_FILE := os2-gcc.mk
38 # additionally, we provide hooks for various other compilers
40 ifneq ($(findstring visualage,$(MAKECMDGOALS)),) # Visual Age C++
41 CONFIG_FILE := os2-icc.mk
42 CC := icc
43 visualage: setup
44 .PHONY: visualage
45 endif
47 ifneq ($(findstring watcom,$(MAKECMDGOALS)),) # Watcom C/C++
48 CONFIG_FILE := os2-wat.mk
49 CC := wcc386
50 watcom: setup
51 .PHONY: watcom
52 endif
54 ifneq ($(findstring borlandc,$(MAKECMDGOALS)),) # Borland C++ 32-bit
55 CONFIG_FILE := os2-bcc.mk
56 CC := bcc32
57 borlandc: setup
58 .PHONY: borlandc
59 endif
61 ifneq ($(findstring devel,$(MAKECMDGOALS)),) # development target
62 CONFIG_FILE := os2-dev.mk
63 CC := gcc
64 devel: setup
65 .PHONY: devel
66 endif
68 setup: dos_setup
70 endif # test PLATFORM os2
73 # EOF