2 # FreeType 2 Borland C++-specific rules
6 # Copyright 1996-2000, 2003, 2006 by
7 # David Turner, Robert Wilhelm, and Werner Lemberg.
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
16 # Compiler command line name
19 COMPILER_SEP
:= $(SEP
)
22 # The object file extension (for standard and static libraries). This can be
23 # .o, .tco, .obj, etc., depending on the platform.
28 # The library file extension (for standard and static libraries). This can
29 # be .a, .lib, etc., depending on the platform.
35 # Path inclusion flag. Some compilers use a different flag than `-I' to
36 # specify an additional include path. Examples are `/i=' or `-J'.
41 # C flag used to define a macro before the compilation of a given source
42 # object. Usually it is `-D' like in `-DDEBUG'.
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.
53 # Target flag -- no trailing space.
61 # These should concern: debug output, optimization & warnings.
63 # Use the ANSIFLAGS variable to define the compiler flags used to enfore
66 CFLAGS ?
= -c
-q
-y
-d
-v
-Od
-w-par
-w-ccc
-w-rch
-w-pro
-w-aus
68 # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
75 CLEAN_LIBRARY ?
= $(DELETE
) $(subst /,$(SEP
),$(PROJECT_LIBRARY
))
76 LINK_LIBRARY
= tlib
/u
/P128
$(subst /,$(COMPILER_SEP
),$@
$(OBJECTS_LIST
:%=+%))
79 # Borland C++ specific temporary files
82 $(subst /,$(SEP
),$(TOP_DIR
)/apinames.
$(O
)) \
83 $(subst /,$(SEP
),$(OBJ_DIR
)/apinames.tds
)