update for HEAD-2003050101
[reactos.git] / lib / freetype / builds / compiler / bcc.mk
1 #
2 # FreeType 2 Borland C++-specific rules
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 # Compiler command line name
17 #
18 CC := bcc32
19
20 # The object file extension (for standard and static libraries).  This can be
21 # .o, .tco, .obj, etc., depending on the platform.
22 #
23 O  := obj
24 SO := obj
25
26 # The library file extension (for standard and static libraries).  This can
27 # be .a, .lib, etc., depending on the platform.
28 #
29 A  := lib
30 SA := lib
31
32
33 # Path inclusion flag.  Some compilers use a different flag than `-I' to
34 # specify an additional include path.  Examples are `/i=' or `-J'.
35 #
36 I := -I
37
38
39 # C flag used to define a macro before the compilation of a given source
40 # object.  Usually it is `-D' like in `-DDEBUG'.
41 #
42 D := -D
43
44
45 # The link flag used to specify a given library file on link.  Note that
46 # this is only used to compile the demo programs, not the library itself.
47 #
48 L :=
49
50
51 # Target flag -- no trailing space.
52 #
53 T := -o
54
55
56 # C flags
57 #
58 #   These should concern: debug output, optimization & warnings.
59 #
60 #   Use the ANSIFLAGS variable to define the compiler flags used to enfore
61 #   ANSI compliance.
62 #
63 ifndef CFLAGS
64   CFLAGS := -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus
65 endif
66
67 # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
68 #
69 ANSIFLAGS := -A
70
71
72 # Library linking
73 #
74 ifndef CLEAN_LIBRARY
75   CLEAN_LIBRARY = $(DELETE) $(subst $(SEP),$(HOSTSEP),$(PROJECT_LIBRARY))
76 endif
77 TARGET_OBJECTS = $(subst $(SEP),\\,$(OBJECTS_LIST))
78 LINK_LIBRARY   = tlib /u $(subst $(SEP),\\,$@) $(TARGET_OBJECTS:%=+%)
79
80 # EOF