update for HEAD-2003050101
[reactos.git] / lib / freetype / builds / unix / unix-cc.in
1 # template for Unix-specific compiler definitions
2 #
3
4 CC      := @CC@
5
6 ifndef LIBTOOL
7   LIBTOOL := $(BUILD)/libtool
8 endif
9
10
11 # The object file extension (for standard and static libraries).  This can be
12 # .o, .tco, .obj, etc., depending on the platform.
13 #
14 O  := lo
15 SO := o
16
17
18 # The library file extension (for standard and static libraries).  This can
19 # be .a, .lib, etc., depending on the platform.
20 #
21 A  := la
22 SA := a
23
24
25 # The name of the final library file.  Note that the DOS-specific Makefile
26 # uses a shorter (8.3) name.
27 #
28 LIBRARY := lib$(PROJECT)
29
30
31 # Path inclusion flag.  Some compilers use a different flag than `-I' to
32 # specify an additional include path.  Examples are `/i=' or `-J'.
33 #
34 I := -I
35
36
37 # C flag used to define a macro before the compilation of a given source
38 # object.  Usually it is `-D' like in `-DDEBUG'.
39 #
40 D := -D
41
42
43 # The link flag used to specify a given library file on link.  Note that
44 # this is only used to compile the demo programs, not the library itself.
45 #
46 L := -l
47
48
49 # Target flag.
50 #
51 T := -o # Don't remove this comment line!  We need the space after `-o'.
52
53
54 # C flags
55 #
56 #   These should concern: debug output, optimization & warnings.
57 #
58 #   Use the ANSIFLAGS variable to define the compiler flags used to enfore
59 #   ANSI compliance.
60 #
61 CFLAGS := -c @XX_CFLAGS@ @CFLAGS@
62
63 # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
64 #
65 ANSIFLAGS := @XX_ANSIFLAGS@
66
67 # C compiler to use -- we use libtool!
68 #
69 #
70 CCraw := $(CC)
71 CC    := $(LIBTOOL) --mode=compile $(CCraw)
72
73 # Linker flags.
74 #
75 LDFLAGS := @LDFLAGS@
76
77
78 # Library linking
79 #
80 LINK_LIBRARY = $(LIBTOOL) --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \
81                           -rpath $(libdir) -version-info $(version_info) \
82                           $(LDFLAGS)
83
84 # EOF