Imported Upstream version 2.10.4
[platform/upstream/freetype2.git] / builds / ansi / ansi-def.mk
1 #
2 # FreeType 2 configuration rules for a `normal' ANSI system
3 #
4
5
6 # Copyright (C) 1996-2020 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    := rm -f
17 CAT       := cat
18 SEP       := /
19 BUILD_DIR := $(TOP_DIR)/builds/ansi
20 PLATFORM  := ansi
21
22 # This is used for `make refdoc' and `make refdoc-venv'
23 #
24 BIN := bin
25
26 # The directory where all library files are placed.
27 #
28 # By default, this is the same as $(OBJ_DIR); however, this can be changed
29 # to suit particular needs.
30 #
31 LIB_DIR := $(OBJ_DIR)
32
33
34 # The name of the final library file.  Note that the DOS-specific Makefile
35 # uses a shorter (8.3) name.
36 #
37 LIBRARY := lib$(PROJECT)
38
39
40 # Path inclusion flag.  Some compilers use a different flag than `-I' to
41 # specify an additional include path.  Examples are `/i=' or `-J'.
42 #
43 I := -I
44
45
46 # C flag used to define a macro before the compilation of a given source
47 # object.  Usually it is `-D' like in `-DDEBUG'.
48 #
49 D := -D
50
51
52 # The link flag used to specify a given library file on link.  Note that
53 # this is only used to compile the demo programs, not the library itself.
54 #
55 L := -l
56
57
58 # Target flag.
59 #
60 T := -o$(space)
61
62
63 # C flags
64 #
65 #   These should concern: debug output, optimization & warnings.
66 #
67 #   Use the ANSIFLAGS variable to define the compiler flags used to enfore
68 #   ANSI compliance.
69 #
70 CFLAGS ?= -c
71
72 # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
73 #
74 ANSIFLAGS :=
75
76
77 # EOF