]> git.sesse.net Git - rdpsrv/blob - Xserver/config/cf/ultrix.cf
Import X server from vnc-3.3.7.
[rdpsrv] / Xserver / config / cf / ultrix.cf
1 XCOMM platform:  $XConsortium: ultrix.cf /main/68 1996/09/28 16:13:46 rws $
2
3 #ifndef OSName
4 # define OSName         DefaultOSName
5 #endif
6 #ifndef OSMajorVersion
7 # define OSMajorVersion DefaultOSMajorVersion
8 #endif
9 #ifndef OSMinorVersion
10 # define OSMinorVersion DefaultOSMinorVersion
11 #endif
12 XCOMM operating system: OSName (OSMajorVersion.OSMinorVersion)
13
14 #define HasNdbm YES
15 #define HasPutenv YES
16 #define HasShm YES
17 #define LintLibFlag -o
18 #define LintOpts -ax
19
20 #if HasDECnet
21 #define ExtraLibraries -ldnet
22 #endif
23
24 #if ThreadedX
25 /* if you want to experiment, turn this on, but no guarantees */
26 #define HasThreadSafeAPI        NO
27 #define HasPosixThreads         YES
28 #define ThreadPreStdAPIDefines  -DXPRE_STANDARD_API
29 #define ExtraLibraries          -lpthreads -li
30 #endif
31
32 #ifdef VaxArchitecture
33 #define PexNativeFPFormat PEXDEC_F_Floating
34 #define NativeFPFormat DEC_F_Float
35 #define UnalignedReferencesAllowed YES         /* if arbitrary deref is okay */
36 #define BuildServer NO
37 #endif
38
39 #ifdef MipsArchitecture
40 #if OSMajorVersion > 4 || (OSMajorVersion == 4 && OSMinorVersion >= 2)
41 /*#define XdecServer YES
42 #define ServerOSDefines -DDDXTIME*/
43 /* Even under ultrix 4.2, the compiler miscompiles some alloca calls */
44 #define AllocateLocalDefines /* -DINCLUDE_ALLOCA_H */
45 #else
46 #define BuildServer NO
47 #define AllocateLocalDefines /**/
48 #endif
49 #if !HasGcc
50 #define NeedFunctionPrototypes YES
51 #define PexCCOptions -Wf,-XNp15000,-XNd15000
52 /*
53  * NormalLibObjCompile - compile fragment for a library object file
54  *      do ld -x to remove line number symbols for libraries
55  */
56 #define NormalLibObjCompile(options) $(RM) $@ $*.os \                   @@\
57         && $(CC) -c options $(CFLAGS) $*.c \                            @@\
58         && $(LD) $(LDSTRIPFLAGS) -r $@ -o $*.os \                       @@\
59         && $(MV) $*.os $@
60 #endif
61 #endif
62
63 #if HasGcc
64 #ifdef VaxArchitecture
65 #define CcCmd gcc -ansi -Dvax -Dultrix -fpcc-struct-return
66 #endif
67 #ifdef MipsArchitecture
68 #define CcCmd gcc -ansi -Dmips -Dultrix -fpcc-struct-return
69 #endif
70 #define ServerCCOptions /* */
71 #define AllocateLocalDefines /* */
72 #endif
73
74 #define ServerExtraDefines AllocateLocalDefines
75 #define HasWChar32 YES
76
77 #define MotifDefines            -DNO_REGEX -DNO_REGCOMP -DNO_CONST