This commit was manufactured by cvs2svn to create branch 'captive'.
[reactos.git] / subsys / win32k / freetype / builds / win32 / w32-icc.mk
1 #
2 # FreeType 2 Configuration rules for Win32 + IBM Visual Age C++
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 DELETE   := del
17 SEP      := $(strip \ )
18 HOSTSEP  := $(strip \ )
19 BUILD    := $(TOP)$(SEP)config$(SEP)win32
20 PLATFORM := win32
21 CC       := icc
22
23 # The directory where all object files are placed.
24 #
25 # Note that this is not $(TOP)/obj!
26 # This lets you build the library in your own directory with something like
27 #
28 #   set TOP=.../path/to/freetype2/top/dir...
29 #   mkdir obj
30 #   make -f %TOP%/Makefile setup [options]
31 #   make -f %TOP%/Makefile
32 #
33 OBJ_DIR := obj
34
35
36 # The directory where all library files are placed.
37 #
38 # By default, this is the same as $(OBJ_DIR), however, this can be changed
39 # to suit particular needs.
40 #
41 LIB_DIR := $(OBJ_DIR)
42
43
44 # The object file extension (for standard and static libraries).  This can be
45 # .o, .tco, .obj, etc., depending on the platform.
46 #
47 O  := obj
48 SO := obj
49
50 # The library file extension (for standard and static libraries).  This can
51 # be .a, .lib, etc., depending on the platform.
52 #
53 A  := lib
54 SA := lib
55
56
57 # The name of the final library file.  Note that the DOS-specific Makefile
58 # uses a shorter (8.3) name.
59 #
60 LIBRARY := freetype
61
62
63 # Path inclusion flag.  Some compilers use a different flag than `-I' to
64 # specify an additional include path.  Examples are `/i=' or `-J'.
65 #
66 I := /I
67
68
69 # C flag used to define a macro before the compilation of a given source
70 # object.  Usually is `-D' like in `-DDEBUG'.
71 #
72 D := /D
73
74
75 # The link flag used to specify a given library file on link.  Note that
76 # this is only used to compile the demo programs, not the library itself.
77 #
78 L := /Fl
79
80
81 # Target flag.
82 #
83 T := /Fo
84
85
86 # C flags
87 #
88 #   These should concern: debug output, optimization & warnings.
89 #
90 ifndef CFLAGS
91   CFLAGS := /Q- /Gd+ /O2 /G5 /W3 /C
92 endif
93
94 # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
95 #
96 ANSI_FLAGS := /Sa
97
98
99 ifdef BUILD_FREETYPE
100
101   # Now include the main sub-makefile.  It contains all the rules used to
102   # build the library with the previous variables defined.
103   #
104   include $(TOP)/builds/freetype.mk
105
106   # The cleanup targets.
107   #
108   clean_freetype: clean_freetype_dos
109   distclean_freetype: distclean_freetype_dos
110
111   # This final rule is used to link all object files into a single library. 
112   # It is part of the system-specific sub-Makefile because not all
113   # librarians accept a simple syntax like
114   #
115   #   librarian library_file {list of object files} 
116   #
117   $(FT_LIBRARY): $(OBJECTS_LIST)
118           lib /nologo /out:$@ $(OBJECTS_LIST)
119
120 endif
121
122 # EOF