~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/freetype/builds/os2/detect.mk

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# FreeType 2 configuration file to detect an OS/2 host platform.
 
3
#
 
4
 
 
5
 
 
6
# Copyright 1996-2000, 2003 by
 
7
# David Turner, Robert Wilhelm, and Werner Lemberg.
 
8
#
 
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.
 
14
 
 
15
 
 
16
.PHONY: setup
 
17
 
 
18
 
 
19
ifeq ($(PLATFORM),ansi)
 
20
 
 
21
  ifdef OS2_SHELL
 
22
 
 
23
    PLATFORM := os2
 
24
 
 
25
  endif # test OS2_SHELL
 
26
endif
 
27
 
 
28
ifeq ($(PLATFORM),os2)
 
29
 
 
30
  COPY   := copy
 
31
  DELETE := del
 
32
  SEP    := $(BACKSLASH)
 
33
 
 
34
  # gcc-emx by default
 
35
  CONFIG_FILE := os2-gcc.mk
 
36
 
 
37
  # additionally, we provide hooks for various other compilers
 
38
  #
 
39
  ifneq ($(findstring visualage,$(MAKECMDGOALS)),)     # Visual Age C++
 
40
    CONFIG_FILE := os2-icc.mk
 
41
    CC          := icc
 
42
    visualage: setup
 
43
    .PHONY: visualage
 
44
  endif
 
45
 
 
46
  ifneq ($(findstring watcom,$(MAKECMDGOALS)),)        # Watcom C/C++
 
47
    CONFIG_FILE := os2-wat.mk
 
48
    CC          := wcc386
 
49
    watcom: setup
 
50
    .PHONY: watcom
 
51
  endif
 
52
 
 
53
  ifneq ($(findstring borlandc,$(MAKECMDGOALS)),)      # Borland C++ 32-bit
 
54
    CONFIG_FILE := os2-bcc.mk
 
55
    CC          := bcc32
 
56
    borlandc: setup
 
57
    .PHONY: borlandc
 
58
  endif
 
59
 
 
60
  ifneq ($(findstring devel,$(MAKECMDGOALS)),)         # development target
 
61
    CONFIG_FILE := os2-dev.mk
 
62
    CC          := gcc
 
63
    devel: setup
 
64
    .PHONY: devel
 
65
  endif
 
66
 
 
67
  setup: dos_setup
 
68
 
 
69
endif   # test PLATFORM os2
 
70
 
 
71
 
 
72
# EOF