]> git.sesse.net Git - rdpsrv/blob - Xserver/config/cf/svr4.cf
Support RDP5 logon packets.
[rdpsrv] / Xserver / config / cf / svr4.cf
1 XCOMM $TOG: svr4.cf /main/17 1997/06/08 20:08:31 kaleb $
2 XCOMM $XFree86: xc/config/cf/svr4.cf,v 3.25.2.2 1997/07/05 15:55:30 dawes Exp $
3 /*
4  * A default OS name
5  */
6 #ifndef OSName
7 #ifdef i386Architecture
8 #define OSName  UNIX System V/386 Release 4
9 #else
10 #define OSName  UNIX System V Release 4
11 #endif
12 #endif
13 #ifndef OSVendor
14 #define OSVendor /**/
15 #endif
16
17 /*
18  * The default version will be 4.0.0 which should be
19  * the least common denominator of all SVR4
20  */
21
22 #ifndef OSMajorVersion
23 #define OSMajorVersion  4
24 #endif
25 #ifndef OSMinorVersion
26 #define OSMinorVersion  0
27 #endif
28 #ifndef OSTeenyVersion
29 #define OSTeenyVersion  0
30 #endif
31 #ifndef BootstrapCFlags
32 #ifdef i386Architecture
33 #define BootstrapCFlags         -DSVR4 -Di386
34 #else
35 #ifdef SYSV386
36 #define BootstrapCFlags         -DSVR4 -Di386
37 #else
38 #define BootstrapCFlags         -DSVR4
39 #endif
40 #endif
41 #endif
42
43 /* Some stuff that all SVR4s should have */
44
45 #define SystemV4                YES
46 #ifndef HasLdRunPath
47 #define HasLdRunPath            YES
48 #endif
49 #define HasPoll                 YES
50 #ifndef SVR4Architecture
51 #define SVR4Architecture
52 #endif
53 #ifndef PatheticCpp
54 #define PatheticCpp             YES
55 #endif
56 #define Malloc0ReturnsNull      YES             /* in case -lmalloc used */
57
58 /*
59  * Here are the default paths to use to pick up tools for building.
60  */
61 #ifndef ArCmdBase
62 #define ArCmdBase       /usr/ccs/bin/ar
63 #endif
64 #ifndef AsCmd
65 #define AsCmd   /usr/ccs/bin/as
66 #endif
67 #ifndef CppCmd
68 #define CppCmd  /usr/ccs/lib/cpp
69 #endif
70 #ifndef LdCmd
71 #define LdCmd   /usr/ccs/bin/ld
72 #endif
73 #ifndef LexCmd
74 #define LexCmd  /usr/ccs/bin/lex
75 #endif
76 #ifndef YaccCmd
77 #define YaccCmd /usr/ccs/bin/yacc
78 #endif
79 #ifndef MkdirHierCmd
80 #define MkdirHierCmd mkdir -p
81 #endif
82
83 #ifndef SunArchitecture
84 /*
85  * These come from usl.cf, and at least some are required by other
86  * SVR4 versions
87  */
88 #ifndef UseLocalRegex
89 #define UseLocalRegex           YES
90 #endif
91 #ifndef XmDefines
92 #define XmDefines               \
93         -DNO_REGCOMP -DNEED_STRCASECMP \
94         -DSUPPORT_ZERO_WIDTH -DHAS_WIDECHAR_FUNCTIONS
95 #endif
96 #ifndef DtSvcDefines
97 #define DtSvcDefines            -DXK_MISCELLANY -DMULTIBYTE -DNO_REGCOMP
98 #endif
99 #ifndef DtSearchDefines
100 #define DtSearchDefines         -DI18N_MSG DtSvcDefines
101 #endif
102 #ifndef DtWidgetDefines
103 #define DtWidgetDefines         DtSearchDefines
104 #endif
105 #ifndef DtPrintDefines
106 #define DtPrintDefines          DtSearchDefines
107 #endif
108 #ifndef HasStrcasecmp
109 #define HasStrcasecmp           NO
110 #endif
111 #endif
112
113 #ifndef SunArchitecture
114 #if (OSMinorVersion == 0)
115 #ifndef XawI18nDefines
116 #define XawI18nDefines          -DUSE_XWCHAR_STRING
117 #endif
118 #endif
119 #endif
120
121 #ifndef HasGcc2
122 #define HasGcc2 NO
123 #endif
124 #ifndef HasGcc
125 #define HasGcc HasGcc2
126 #endif
127
128 #ifdef i386Architecture
129 #ifndef SunArchitecture
130 #if (OSMinorVersion > 2) || ((OSMinorVersion == 2) && (OSTeenyVersion >= 2))
131 #ifndef StandardDefines
132 #define StandardDefines         -DSVR4 -DSVR42MP -Di386
133 #endif
134 #ifndef HasParallelMake
135 #define HasParallelMake         YES
136 #endif
137 #if HasParallelMake
138 #define ParallelDefines         -P -B
139 #define MutexDirective          .MUTEX
140 #endif
141 #else /* SVR4 < 4.2.2 */
142 #ifndef StandardDefines
143 #define StandardDefines         -DSVR4 -Di386
144 #endif
145 #endif
146 #endif
147 #ifndef ToolkitStringsABIOptions
148 #define ToolkitStringsABIOptions -intelabi -earlyR6bc
149 #endif
150 #ifndef DefaultCCOptions
151 #if !HasGcc
152 #define DefaultCCOptions -Xa -Dasm=__asm
153 #else
154 #ifdef UseInstalled
155 #define DefaultCCOptions /**/
156 #else
157 #define DefaultCCOptions -ansi -pedantic
158 #endif
159 #endif
160 #endif
161 #ifndef DefaultCDebugFlags
162 #if HasGcc
163 #if HasGcc2
164 #define DefaultCDebugFlags DefaultGcc2i386Opt
165 #else
166 #define DefaultCDebugFlags -O2
167 #endif
168 #else
169 #define DefaultCDebugFlags -O
170 #endif
171 #endif
172 #ifndef ServerOSDefines
173 #define ServerOSDefines -DDDXTIME XFree86ServerOSDefines
174 #endif
175 #ifndef BuildDynamicLoading
176 #define BuildDynamicLoading NO
177 #endif
178 #if BuildDynamicLoading
179 #define ServerExtraSysLibs -ldl
180 #endif
181 #endif
182
183 /*
184  * The TLI interface is more robust on most SVR4s, so it will be the default.
185  */
186 #if !defined(SunArchitecture)
187 #ifndef ConnectionFlags
188 #define ConnectionFlags -DSTREAMSCONN -DUNIXCONN -DLOCALCONN
189 #endif
190 #endif
191
192 #ifndef ManSuffix
193 #define ManSuffix               1x
194 #define ManDir                  $(MANSOURCEPATH)1
195 #endif
196 #ifndef LibManSuffix
197 #define LibManSuffix            3x
198 #define LibmanDir               $(MANSOURCEPATH)3
199 #endif
200 #ifndef FileManSuffix
201 #define FileManSuffix           4
202 #endif
203
204 #ifndef StaticLibrary
205 #if !HasGcc
206 #define StaticLibrary(libpath,libname) -B static Concat(-L,libpath) Concat(-l,libname) -B dynamic
207 #endif
208 #endif
209
210 #ifdef i386Architecture
211 #include <xfree86.cf>
212 #endif
213
214 #include <sv4Lib.rules>