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

« back to all changes in this revision

Viewing changes to unix/xc/programs/Xserver/hw/xfree86/os-support/os2/int10/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/programs/Xserver/hw/xfree86/os-support/os2/int10/Imakefile,v 1.1 2000/04/05 18:13:55 dawes Exp $
 
2
 
 
3
#define IHaveModules
 
4
 
 
5
#include <Server.tmpl>
 
6
 
 
7
SRCS1 = pci.c xf86int10module.c helper_exec.c helper_mem.c xf86int10.c 
 
8
OBJS1 = pci.o xf86int10module.o helper_exec.o helper_mem.o xf86int10.o 
 
9
 
 
10
LinkSourceFile(helper_mem.c,$(XF86SRC)/int10)
 
11
LinkSourceFile(helper_exec.c,$(XF86SRC)/int10)
 
12
LinkSourceFile(xf86int10.c,$(XF86SRC)/int10)
 
13
LinkSourceFile(pci.c,$(XF86SRC)/int10)
 
14
LinkSourceFile(xf86int10module.c,$(XF86SRC)/int10)
 
15
LinkSourceFile(xf86x86emu.c,$(XF86SRC)/int10)
 
16
LinkSourceFile(generic.c,$(XF86SRC)/int10)
 
17
 
 
18
INCLUDES = -I. -I$(XF86COMSRC) -I$(XF86SRC)/int10 \
 
19
           -I$(XF86OSSRC) \
 
20
           -I$(SERVERSRC)/include -I$(XINCLUDESRC)
 
21
 
 
22
DEFINES=-DHAVE_SYSV_IPC
 
23
 
 
24
#if 0
 
25
/* debugging stuff */
 
26
#DEFINES =-D_PC
 
27
#undef XF86INT10_BUILD 
 
28
#define XF86INT10_BUILD X86EMU_GENERIC
 
29
#define X86EMU_LIBPATH /usr/local/lib
 
30
#endif
 
31
 
 
32
#if defined(i386Architecture)
 
33
DEFINES =-D_PC
 
34
#endif
 
35
 
 
36
/* XXX keep this temporarily for reference */
 
37
#if 0
 
38
#if (XF86INT10_BUILD == X86EMU_GENERIC) 
 
39
 
 
40
SRCS = $(SRCS1) xf86x86emu.c generic.c
 
41
OBJS = $(OBJS1) xf86x86emu.o generic.o x86emu.o
 
42
SpecialObjectRule(pci.o, pci.c, -D_X86EMU)
 
43
SpecialObjectRule(helper_exec.o, helper_exec.c, -D_X86EMU)
 
44
SpecialObjectRule(xf86int10.o, xf86int10.c, -D_X86EMU -DSHOW_ALL_DEVICES)
 
45
SpecialObjectRule(generic.o, generic.c, -D_X86EMU)
 
46
SpecialObjectRule(xf86x86emu.o, xf86x86emu.c, -D_X86EMU)
 
47
BuildObjectFromLibraryWithPath(X86EMU_LIBPATH,x86emu,x86emu)
 
48
#endif
 
49
#endif
 
50
 
 
51
#if defined(XF86INT10_BUILD) && (XF86INT10_BUILD == X86VM)
 
52
 
 
53
SRCS = $(SRCS1) linux.c
 
54
OBJS = $(OBJS1) linux.o
 
55
SpecialObjectRule(pci.o, pci.c, -D_VM86_LINUX)
 
56
SpecialObjectRule(helper_exec.o, helper_exec.c, -D_VM86_LINUX)
 
57
SpecialObjectRule(xf86int10.o, xf86int10.c, -D_VM86_LINUX -DSHOW_ALL_DEVICES)
 
58
SpecialObjectRule(linux.o, linux.c, -D_VM86_LINUX -DHAVE_SYSV_IPC)
 
59
 
 
60
#elif (XF86INT10_BUILD == X86EMU_OS)
 
61
 
 
62
SpecialObjectRule(pci.o, pci.c, -D_X86EMU)
 
63
SpecialObjectRule(helper_exec.o, helper_exec.c, -D_X86EMU)
 
64
SpecialObjectRule(xf86int10.o, xf86int10.c, -D_X86EMU -DSHOW_ALL_DEVICES)
 
65
SpecialObjectRule(linux.o, linux.c, -D_X86EMU -DHAVE_SYSV_IPC)
 
66
 
 
67
X86TOPDIR = $(TOP)/extras/x86emu
 
68
X86SRCDIR = $(X86TOPDIR)/src/x86emu
 
69
X86EMUINCLUDES = -I$(X86TOPDIR)/include -I$(X86SRCDIR)
 
70
 
 
71
# if !defined(X86EMU_LIBPATH) 
 
72
X86EMUSRCS = debug.c decode.c fpu.c ops.c ops2.c prim_ops.c sys.c
 
73
X86EMUOBJS = debug.o decode.o fpu.o ops.o ops2.o prim_ops.o sys.o
 
74
 
 
75
LinkSourceFile(debug.c,$(X86SRCDIR))
 
76
LinkSourceFile(decode.c,$(X86SRCDIR))
 
77
LinkSourceFile(fpu.c,$(X86SRCDIR))
 
78
LinkSourceFile(ops.c,$(X86SRCDIR))
 
79
LinkSourceFile(ops2.c,$(X86SRCDIR))
 
80
LinkSourceFile(prim_ops.c,$(X86SRCDIR))
 
81
LinkSourceFile(sys.c,$(X86SRCDIR))
 
82
# else
 
83
BuildObjectFromLibraryWithPath(X86EMU_LIBPATH,x86emu,x86emu)
 
84
X86EMUOBJS = x86emu.o
 
85
# endif 
 
86
 
 
87
SRCS = $(SRCS1) xf86x86emu.c linux.c $(X86EMUSRCS)
 
88
OBJS = $(OBJS1) xf86x86emu.o linux.o $(X86EMUOBJS)
 
89
 
 
90
#endif
 
91
 
 
92
#if defined(XF86INT10_BUILD) && XF86INT10_BUILD > X86EMU_GENERIC
 
93
 
 
94
LibraryModuleTarget(int10, $(OBJS))
 
95
 
 
96
InstallLibraryModule(int10,$(MODULEDIR),linux)
 
97
 
 
98
all::
 
99
        (set -x; cd ../..; \
 
100
        RemoveFile(LibraryTargetName(int10)); \
 
101
        $(LN) linux/int10/LibraryTargetName(int10) . )
 
102
 
 
103
InstallDriverSDKLibraryModule(int10,$(DRIVERSDKMODULEDIR),.)
 
104
 
 
105
InstallDriverSDKNonExecFile(../../int10/xf86int10.h,$(DRIVERSDKINCLUDEDIR))
 
106
 
 
107
#endif
 
108
 
 
109
DependTarget()
 
110