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

« back to all changes in this revision

Viewing changes to unix/xc/lib/Xmuu/Imakefile

  • 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
XCOMM $XFree86: xc/lib/Xmuu/Imakefile,v 1.3 2002/11/14 21:01:18 tsi Exp $
 
2
XCOMM Mini Xmu library: pull out just those things that are used by apps 
 
3
XCOMM that do not use Xt and Xaw in the core applications
 
4
XCOMM 
 
5
XCOMM Feel free to include additional code into this library, please
 
6
XCOMM be careful not to use anything which requires libraries other
 
7
XCOMM other than Xlib and the system C library
 
8
 
 
9
#define DoNormalLib NormalLibXmuu
 
10
#define DoSharedLib SharedLibXmuu
 
11
#define DoExtraLib SharedLibXmuu
 
12
#define DoDebugLib DebugLibXmuu
 
13
#define DoProfileLib ProfileLibXmuu
 
14
#define LibName Xmuu
 
15
#define SoRev SOXMUUREV
 
16
#define LibHeaders NO
 
17
 
 
18
#ifdef SharedXmuuReqs
 
19
REQUIREDLIBS = SharedXmuuReqs
 
20
#endif
 
21
       LINTLIBS = $(LINTXLIB) 
 
22
 
 
23
#if HasSnprintf
 
24
   MISC_DEFINES = -DHAS_SNPRINTF
 
25
#else
 
26
  MISC_INCLUDES = -I$(LIBSRC)/misc
 
27
#endif
 
28
 
 
29
        DEFINES = $(MISC_DEFINES)
 
30
       INCLUDES = $(MISC_INCLUDES)
 
31
 
 
32
#ifdef OsNameDefines
 
33
OS_NAME_DEFINES = OsNameDefines
 
34
#endif
 
35
        CSSDEFS = $(OS_NAME_DEFINES) $(CONNECTION_FLAGS)
 
36
 
 
37
 
 
38
SRCS =  ClientWin.c\
 
39
        CursorName.c\
 
40
        DefErrMsg.c\
 
41
        GetHost.c\
 
42
        Lower.c
 
43
 
 
44
OBJS =  ClientWin.o\
 
45
        CursorName.o\
 
46
        DefErrMsg.o\
 
47
        GetHost.o\
 
48
        Lower.o
 
49
 
 
50
### Commented out following line...
 
51
### INCLUDES = -I$(XMUSRC)
 
52
### ... it breaks Lower.c (which needs -I../../lib/misc to find snprintf.c)
 
53
###
 
54
 
 
55
#include <Library.tmpl>
 
56
 
 
57
#if DoSharedLib
 
58
SpecialCObjectRule(sharedlib,NullParameter,$(SHLIBDEF))
 
59
#endif
 
60
 
 
61
LinkSourceFile(ClientWin.c,$(XMUSRC))
 
62
LinkSourceFile(CursorName.c,$(XMUSRC))
 
63
LinkSourceFile(DefErrMsg.c,$(XMUSRC))
 
64
LinkSourceFile(GetHost.c,$(XMUSRC))
 
65
LinkSourceFile(Lower.c,$(XMUSRC))
 
66
 
 
67
DependTarget()