~ubuntu-branches/ubuntu/gutsy/vnc4/gutsy

« back to all changes in this revision

Viewing changes to unix/xc/extras/freetype2/builds/compiler/unix-lcc.mk

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2006-05-15 20:35:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515203517-l4lre1ku942mn26k
Tags: 4.1.1+X4.3.0-10
* Correction of critical security issue. Thanks to Martin Kogler
  <e9925248@student.tuwien.ac.at> that informed me about the issue,
  and provided the patch.
  This flaw was originally found by Steve Wiseman of intelliadmin.com.
* Applied patch from Javier Kohen <jkohen@users.sourceforge.net> that
  inform the user that only 8 first characters of the password will
  actually be used when typing more than 8 characters, closes:
  #355619.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# FreeType 2 Unix LCC specific definitions
 
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
# Command line name
 
17
#
 
18
CC := lcc
 
19
 
 
20
 
 
21
# The object file extension (for standard and static libraries).  This can be
 
22
# .o, .tco, .obj, etc., depending on the platform.
 
23
#
 
24
O  := o
 
25
SO := o
 
26
 
 
27
 
 
28
# The library file extension (for standard and static libraries).  This can
 
29
# be .a, .lib, etc., depending on the platform.
 
30
#
 
31
A  := a
 
32
SA := a
 
33
 
 
34
 
 
35
# Path inclusion flag.  Some compilers use a different flag than `-I' to
 
36
# specify an additional include path.  Examples are `/i=' or `-J'.
 
37
#
 
38
I := -I
 
39
 
 
40
 
 
41
# C flag used to define a macro before the compilation of a given source
 
42
# object.  Usually it is `-D' like in `-DDEBUG'.
 
43
#
 
44
D := -D
 
45
 
 
46
 
 
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.
 
49
#
 
50
L := -l
 
51
 
 
52
 
 
53
# Target flag.
 
54
#
 
55
T := -o$(space)
 
56
 
 
57
 
 
58
# C flags
 
59
#
 
60
#   These should concern: debug output, optimization & warnings.
 
61
#
 
62
#   Use the ANSIFLAGS variable to define the compiler flags used to enfore
 
63
#   ANSI compliance.
 
64
#
 
65
ifndef CFLAGS
 
66
  CFLAGS := -c -g
 
67
endif
 
68
 
 
69
# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
 
70
#
 
71
#  LCC is pure ANSI anyway!
 
72
#
 
73
#  the "-A" flag simply increments verbosity about non ANSI code
 
74
#
 
75
ANSIFLAGS := -A
 
76
 
 
77
 
 
78
# library linking
 
79
#
 
80
ifndef CLEAN_LIBRARY
 
81
  CLEAN_LIBRARY = $(DELETE) $(subst $(SEP),$(HOSTSEP),$(PROJECT_LIBRARY))
 
82
endif
 
83
LINK_LIBRARY = $(AR) -r $@ $(OBJECTS_LIST)
 
84
 
 
85
# EOF