~sbeattie/ubuntu/lucid/vnc4/lp556147

« back to all changes in this revision

Viewing changes to unix/xc/programs/Xserver/hw/darwin/quartz_1.3/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/darwin/quartz_1.3/Imakefile,v 1.1 2002/03/28 02:21:20 torrey Exp $
 
2
 
 
3
#include <Server.tmpl>
 
4
 
 
5
LinkSourceFile(Preferences.m,../quartz)
 
6
LinkSourceFile(Preferences.h,../quartz)
 
7
LinkSourceFile(XApplication.m,../quartz)
 
8
LinkSourceFile(XApplication.h,../quartz)
 
9
LinkSourceFile(fakeBoxRec.h,../quartz)
 
10
LinkSourceFile(fullscreen.c,../quartz)
 
11
LinkSourceFile(fullscreen.h,../quartz)
 
12
LinkSourceFile(quartz.c,../quartz)
 
13
LinkSourceFile(quartz.h,../quartz)
 
14
LinkSourceFile(quartzAudio.c,../quartz)
 
15
LinkSourceFile(quartzAudio.h,../quartz)
 
16
LinkSourceFile(quartzCocoa.m,../quartz)
 
17
LinkSourceFile(quartzCommon.h,../quartz)
 
18
LinkSourceFile(quartzCursor.c,../quartz)
 
19
LinkSourceFile(quartzCursor.h,../quartz)
 
20
LinkSourceFile(quartzPasteboard.c,../quartz)
 
21
LinkSourceFile(quartzPasteboard.h,../quartz)
 
22
LinkSourceFile(quartzShared.h,../quartz)
 
23
LinkSourceFile(pseudoramiX.c,../quartz)
 
24
LinkSourceFile(pseudoramiX.h,../quartz)
 
25
LinkSourceFile(quartzStartup.c,../quartz)
 
26
LinkSourceFile(XDarwinStartup.c,../quartz)
 
27
LinkSourceFile(XDarwinStartup.man,../quartz)
 
28
 
 
29
SRCS =  Preferences.m \
 
30
        XApplication.m \
 
31
        XServer.m \
 
32
        XView.m \
 
33
        XWindow.m \
 
34
        fullscreen.c \
 
35
        quartz.c \
 
36
        quartzAudio.c \
 
37
        quartzCocoa.m \
 
38
        quartzCursor.c \
 
39
        quartzPasteboard.c \
 
40
        rootlessAquaGlue.c \
 
41
        rootlessAquaImp.m \
 
42
        rootlessCommon.c \
 
43
        rootlessGC.c \
 
44
        rootlessScreen.c \
 
45
        rootlessValTree.c \
 
46
        rootlessWindow.c \
 
47
        pseudoramiX.c
 
48
 
 
49
OBJS =  Preferences.o \
 
50
        XApplication.o \
 
51
        XServer.o \
 
52
        XView.o \
 
53
        XWindow.o \
 
54
        fullscreen.o \
 
55
        quartz.o \
 
56
        quartzAudio.o \
 
57
        quartzCocoa.o \
 
58
        quartzCursor.o \
 
59
        quartzPasteboard.o \
 
60
        rootlessAquaGlue.o \
 
61
        rootlessAquaImp.o \
 
62
        rootlessCommon.o \
 
63
        rootlessGC.o \
 
64
        rootlessScreen.o \
 
65
        rootlessValTree.o \
 
66
        rootlessWindow.o \
 
67
        pseudoramiX.o
 
68
 
 
69
INCLUDES = -I. -I$(SERVERSRC)/fb -I$(SERVERSRC)/mi -I$(SERVERSRC)/include \
 
70
           -I$(XINCLUDESRC) -I$(FONTINCSRC) -I$(SERVERSRC)/render \
 
71
           -I$(EXTINCSRC) -I.. -I$(SERVERSRC)/Xext
 
72
 
 
73
#if defined(XFree86CustomVersion)
 
74
CUSTOMVERSION = XFree86CustomVersion
 
75
CUSTOMVERDEF =  -DXF86_CUSTOM_VERSION='$(CUSTOMVERSION)'
 
76
#endif
 
77
#if HasCGMachPort
 
78
QUARTZDEFINES = -DHAS_CG_MACH_PORT
 
79
#endif
 
80
 
 
81
#if XFree86Devel
 
82
PBXBUILDSTYLE = -buildstyle Development
 
83
DEBUGDEFINES = -DROOTLESSDEBUG
 
84
#else
 
85
PBXBUILDSTYLE = -buildstyle Deployment
 
86
#endif
 
87
 
 
88
DEFINES = $(CUSTOMVERDEF) -DXBINDIR=$(BINDIR) -DXINITDIR=$(XINITDIR) \
 
89
          $(QUARTZDEFINES) $(DEBUGDEFINES)
 
90
EXTRAMANDEFS = -D__XBinDir__=$(BINDIR)
 
91
#if NothingOutsideProjectRoot
 
92
XDARWINROOT = $(BINDIR)
 
93
#else
 
94
XDARWINROOT = /Applications
 
95
#endif
 
96
 
 
97
MakeSubdirs($(SUBDIRS))
 
98
DependSubdirs($(SUBDIRS))
 
99
 
 
100
NormalLibraryObjectRule()
 
101
NormalLibraryTarget(XQuartz,$(OBJS))
 
102
 
 
103
AllTarget(quartzStartup.o)
 
104
 
 
105
AllTarget(XDarwinStartup)
 
106
NormalProgramTarget(XDarwinStartup,XDarwinStartup.o, \
 
107
        NullParameter,NullParameter, \
 
108
        -framework CoreFoundation -framework ApplicationServices)
 
109
InstallProgram(XDarwinStartup,$(BINDIR))
 
110
install::
 
111
        -(cd $(DESTDIR)$(BINDIR); $(RM) X; $(LN) XDarwinStartup X)
 
112
 
 
113
AllTarget(XDarwin)
 
114
XDarwin:
 
115
        pbxbuild -target XDarwin $(PBXBUILDSTYLE)
 
116
 
 
117
install::
 
118
        pbxbuild install -target XDarwin $(PBXBUILDSTYLE) \
 
119
                DSTROOT=$(DESTDIR)$(XDARWINROOT)
 
120
 
 
121
InstallManPage(XDarwinStartup,$(MANDIR))
 
122
 
 
123
clean::
 
124
        pbxbuild "clean" -target XDarwin $(PBXBUILDSTYLE)
 
125
 
 
126
DependTarget()
 
127