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

« back to all changes in this revision

Viewing changes to src/3rdparty/freetype/builds/compiler/watcom.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 Watcom-specific definitions
 
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
# Compiler command line name
 
17
#
 
18
CC           := wcc386
 
19
COMPILER_SEP := $(SEP)
 
20
 
 
21
 
 
22
# The object file extension (for standard and static libraries).  This can be
 
23
# .o, .tco, .obj, etc., depending on the platform.
 
24
#
 
25
O  := obj
 
26
SO := obj
 
27
 
 
28
 
 
29
# The library file extension (for standard and static libraries).  This can
 
30
# be .a, .lib, etc., depending on the platform.
 
31
#
 
32
A  := lib
 
33
SA := lib
 
34
 
 
35
 
 
36
# Path inclusion flag.  Some compilers use a different flag than `-I' to
 
37
# specify an additional include path.  Examples are `/i=' or `-J'.
 
38
#
 
39
I := -I=
 
40
 
 
41
 
 
42
# C flag used to define a macro before the compilation of a given source
 
43
# object.  Usually it is `-D' like in `-DDEBUG'.
 
44
#
 
45
D := -D
 
46
 
 
47
 
 
48
# The link flag used to specify a given library file on link.  Note that
 
49
# this is only used to compile the demo programs, not the library itself.
 
50
#
 
51
L := -l
 
52
 
 
53
 
 
54
# Target flag.
 
55
#
 
56
T := -FO=
 
57
 
 
58
 
 
59
# C flags
 
60
#
 
61
#   These should concern: debug output, optimization & warnings.
 
62
#
 
63
#   Use the ANSIFLAGS variable to define the compiler flags used to enfore
 
64
#   ANSI compliance.
 
65
#
 
66
ifndef CFLAGS
 
67
  CFLAGS := -zq
 
68
endif
 
69
 
 
70
# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
 
71
#
 
72
ANSIFLAGS := -za
 
73
 
 
74
 
 
75
# Library linking
 
76
#
 
77
ifndef CLEAN_LIBRARY
 
78
  CLEAN_LIBRARY = $(DELETE) $(subst /,$(SEP),$(PROJECT_LIBRARY))
 
79
endif
 
80
LINK_LIBRARY = $(subst /,$(COMPILER_SEP), \
 
81
                 wlib -q -n $@; \
 
82
                 $(foreach m, $(OBJECTS_LIST), wlib -q $@ +$(m);) \
 
83
                 echo > nul)
 
84
 
 
85
# EOF