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

« back to all changes in this revision

Viewing changes to unix/xc/programs/xload/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 $XConsortium: Imakefile /main/30 1996/03/09 09:37:57 kaleb $
 
2
XCOMM $XFree86: xc/programs/xload/Imakefile,v 1.7 2001/08/13 19:35:01 dawes Exp $
 
3
        DEPLIBS = XawClientDepLibs
 
4
LOCAL_LIBRARIES = XawClientLibs
 
5
 
 
6
#if defined(i386MachArchitecture) && !defined(GNUMachArchitecture)
 
7
  SYS_LIBRARIES = -lsys
 
8
#elif defined(SGIArchitecture) && !defined(MipsN32Architecture)
 
9
  SYS_LIBRARIES = -lmld
 
10
#elif defined(SonyArchitecture)
 
11
  SYS_LIBRARIES = -lmld
 
12
#elif defined(SunArchitecture) && SystemV4
 
13
  SYS_LIBRARIES = -lkvm -lelf
 
14
#elif defined(SVR4Architecture)
 
15
  SYS_LIBRARIES = -lelf
 
16
#elif defined(OsfArchitecture)
 
17
  SYS_LIBRARIES = -lld
 
18
#elif defined(BSDOSArchitecture) && !defined(NetBSDArchitecture) && !defined(OpenBSDArchitecture)
 
19
  SYS_LIBRARIES = -lutil -lkvm
 
20
#endif
 
21
           SRCS = xload.c get_load.c get_rload.c
 
22
           OBJS = xload.o get_load.o get_rload.o
 
23
 OSMAJORVERSION = OSMajorVersion
 
24
 OSMINORVERSION = OSMinorVersion
 
25
      DEFINES = -DOSMAJORVERSION=$(OSMAJORVERSION) -DOSMINORVERSION=$(OSMINORVERSION) 
 
26
 
 
27
AllTarget(ProgramTargetName(xload))
 
28
NormalProgramTarget(xload,$(OBJS),$(DEPLIBS),$(LOCAL_LIBRARIES),NullParameter)
 
29
 
 
30
#if !InstallXloadSetGID
 
31
InstallProgram(xload,$(BINDIR))
 
32
#else
 
33
InstallProgramWithFlags(xload,$(BINDIR),$(INSTKMEMFLAGS))
 
34
#endif
 
35
 
 
36
InstallAppDefaults(XLoad)
 
37
 
 
38
InstallManPage(xload,$(MANDIR))
 
39
 
 
40
DependTarget()