• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
16DELETE    := rm -f
17CAT       := cat
18SEP       := /
19BUILD_DIR := $(TOP_DIR)/builds/ansi
20PLATFORM  := ansi
21
22# This is used for `make refdoc' and `make refdoc-venv'
23#
24BIN := 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#
31LIB_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#
37LIBRARY := 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#
43I := -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#
49D := -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#
55L := -l
56
57
58# Target flag.
59#
60T := -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#
70CFLAGS ?= -c
71
72# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
73#
74ANSIFLAGS :=
75
76
77# EOF
78