update for HEAD-2003050101
[reactos.git] / lib / freetype / builds / ansi / ansi-def.mk
1 #
2 # FreeType 2 configuration rules for a `normal' ANSI system
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 ifndef TOP_DIR
17   TOP_DIR := .
18 endif
19
20 DELETE   := rm -f
21 SEP      := /
22 HOSTSEP  := $(SEP)
23 BUILD    := $(TOP_DIR)/builds/ansi
24 PLATFORM := ansi
25
26
27 # The directory where all object files are placed.
28 #
29 # This lets you build the library in your own directory with something like
30 #
31 #   set TOP_DIR=.../path/to/freetype2/top/dir...
32 #   set OBJ_DIR=.../path/to/obj/dir
33 #   make -f $TOP_DIR/Makefile setup [options]
34 #   make -f $TOP_DIR/Makefile
35 #
36 ifndef OBJ_DIR
37   OBJ_DIR := $(TOP_DIR)$(SEP)objs
38 endif
39
40
41 # The directory where all library files are placed.
42 #
43 # By default, this is the same as $(OBJ_DIR); however, this can be changed
44 # to suit particular needs.
45 #
46 LIB_DIR := $(OBJ_DIR)
47
48
49 # The name of the final library file.  Note that the DOS-specific Makefile
50 # uses a shorter (8.3) name.
51 #
52 LIBRARY := lib$(PROJECT)
53
54
55 # Path inclusion flag.  Some compilers use a different flag than `-I' to
56 # specify an additional include path.  Examples are `/i=' or `-J'.
57 #
58 I := -I
59
60
61 # C flag used to define a macro before the compilation of a given source
62 # object.  Usually it is `-D' like in `-DDEBUG'.
63 #
64 D := -D
65
66
67 # The link flag used to specify a given library file on link.  Note that
68 # this is only used to compile the demo programs, not the library itself.
69 #
70 L := -l
71
72
73 # Target flag.
74 #
75 T := -o$(space)
76
77
78 # C flags
79 #
80 #   These should concern: debug output, optimization & warnings.
81 #
82 #   Use the ANSIFLAGS variable to define the compiler flags used to enfore
83 #   ANSI compliance.
84 #
85 ifndef CFLAGS
86   CFLAGS := -c
87 endif
88
89 # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
90 #
91 ANSIFLAGS :=
92
93
94 # EOF