This commit was manufactured by cvs2svn to create branch 'captive'.
[reactos.git] / lib / freetype / builds / compiler / intelc.mk
1 #
2 # FreeType 2 Intel C/C++ definitions (VC++ compatibility mode)
3 #
4
5
6 # Copyright 1996-2000 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 := icl
19
20
21 # The object file extension (for standard and static libraries).  This can be
22 # .o, .tco, .obj, etc., depending on the platform.
23 #
24 O  := obj
25 SO := obj
26
27
28 # The library file extension (for standard and static libraries).  This can
29 # be .a, .lib, etc., depending on the platform.
30 #
31 A  := lib
32 SA := lib
33
34
35 # Path inclusion flag.  Some compilers use a different flag than `-I' to
36 # specify an additional include path.  Examples are `/i=' or `-J'.
37 #
38 I := /I
39
40
41 # C flag used to define a macro before the compilation of a given source
42 # object.  Usually it is `-D' like in `-DDEBUG'.
43 #
44 D := /D
45
46
47 # The link flag used to specify a given library file on link.  Note that
48 # this is only used to compile the demo programs, not the library itself.
49 #
50 L := /Fl
51
52
53 # Target flag.
54 #
55 T := /Fo
56
57
58 # C flags
59 #
60 #   These should concern: debug output, optimization & warnings.
61 #
62 #   Use the ANSIFLAGS variable to define the compiler flags used to enfore
63 #   ANSI compliance.
64 #
65 #   Note that the Intel C/C++ compiler version 4.5 complains about
66 #   the use of FT_FIELD_OFFSET with "value must be arithmetic type"!
67 #   This really looks like a bug in the compiler because the macro
68 #   _does_ compute an arithmetic value, so we disable this warning
69 #   with "/Qwd32".
70 #
71 ifndef CFLAGS
72   CFLAGS := /nologo /c /Ox /G5 /W3 /Qwd32
73 endif
74
75 # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
76 #
77 ANSIFLAGS := /Qansi /Za
78
79 # Library linking
80 #
81 #CLEAN_LIBRARY =
82 LINK_LIBRARY  = lib /nologo /out:$@ $(OBJECTS_LIST)
83
84 # EOF