]> git.sesse.net Git - rdpsrv/blob - Xserver/config/cf/sco5.cf
Import X server from vnc-3.3.7.
[rdpsrv] / Xserver / config / cf / sco5.cf
1 XCOMM $XFree86: xc/config/cf/sco5.cf,v 3.1.2.4 1997/07/19 04:59:08 dawes Exp $
2
3 /*
4  * This is for SCO Open Server 5.0.2 or later.
5  */
6
7 #ifndef ScoOsMouse
8 # define ScoOsMouse             YES
9 #endif
10
11 #ifndef OSName
12 #define OSName                  UNIX System V/386 Open Server 5.0.4
13 #endif
14 #ifndef OSVendor
15 #define OSVendor                SCO
16 #endif
17 #ifndef OSMajorVersion
18 #define OSMajorVersion          5
19 #endif
20 #ifndef OSMinorVersion
21 #define OSMinorVersion          0
22 #endif
23 #ifndef OSTeenyVersion
24 #define OSTeenyVersion          4
25 #endif
26
27 /*
28  * Note: We define FD_SETSIZE here (as opposed to in ConnectionFlags) to
29  * guarantee that the same FD_SETSIZE is used. Havoc abounds if we do not
30  * do this, as some files which include sys/socket.h and sys/types.h will
31  * have different values for FD_SETSIZE.
32  */
33
34 #define StandardDefines         -Dsco -DSCO -DSYSV -Di386 -DSCO325 -DFD_SETSIZE=256 -D_NO_STATIC
35 #ifdef HasGcc2
36 # define DefaultCCOptions       -melf
37 # define CcCmd                  gcc
38 # define ExtraLoadOptions       -melf
39 # define DefaultCDebugFlags     -O
40 # define OptimizedCDebugFlags   -O
41 #else
42 # define DefaultCCOptions       -dy 
43 # define CcCmd                  cc
44 # define ExtraLoadOptions       -b elf
45 # define DefaultCDebugFlags     -O
46 # define OptimizedCDebugFlags   -O
47 #endif
48
49 #ifndef PexDynamicModule
50 #define PexDynamicModule        YES
51 #endif
52 #ifndef XieDynamicModule
53 #define XieDynamicModule        YES
54 #endif
55
56 #ifndef HasSymLinks
57 # define HasSymLinks            YES
58 #endif
59
60 #ifdef BuildDynamicLoading
61 #define SCODynamicFlags         -Wl,-Bexport
62 #endif
63
64 #define XawI18nDefines          -DHAS_WCHAR_H -DHAS_ISW_FUNCS
65 #if ScoOsMouse
66 # define ServerExtraSysLibs     $(CBRT) -lm -levent SCODynamicFlags
67 # define ServerExtraDefines     ServerCCOptions -DUSE_OSMOUSE XFree86ServerDefines
68 #else
69 # define ServerExtraSysLibs     $(CBRT) -lm SCODynamicFlags
70 # define ServerExtraDefines     ServerCCOptions XFree86ServerDefines
71 #endif
72 #define ExtraLibraries          -lsocket
73 #define NeedWidePrototypes      NO
74 #define ServerOSDefines         -DDDXTIME
75 #define ToolkitStringsABIOptions -intelabi
76 #define ThreadedX               NO
77 #define HasThreadSafeAPI        NO
78 #define HasNdbm                 YES
79 #define HasVFork                YES
80 #define HasPutenv               YES
81 #define ExecableScripts         YES
82 #define HasShadowPasswd         YES
83 #define ManSourcePath           $(MANPATH)/cat.
84 #define Malloc0ReturnsNull      YES
85 #define RemoveDSDENroffMacros   NO
86 #define CompressManPages        YES
87
88 #ifndef HasLibCrypt
89 # define HasLibCrypt            YES
90 # define SpecialLibCrypt        -lcrypt
91 #endif
92 #define PosixLibraries          /**/
93
94 #ifndef ForceNormalLib
95 # define ForceNormalLib         YES 
96 #endif
97
98 #define SharedLibXmu            NO
99 #define SystemV                 YES
100 #define LdCombineFlags          -r 
101
102 #define HasLdRunPath            YES
103 #define HasPoll                 NO
104 #define PatheticCpp             YES
105
106 #define ArCmdBase               ar
107 #define AsCmd                   as
108 #define CppCmd                  /lib/cpp
109 #define LdCmd                   ld
110 #define LexCmd                  lex
111 #define MakeCmd                 make
112 #define YaccCmd                 yacc
113
114 #define DefaultUserPath         /bin:/usr/bin:$(BINDIR):/usr/bin/X11:/usr/local/bin:/etc
115 #define DefaultSystemPath       /etc:/bin:/usr/bin:$(BINDIR):/usr/bin/X11
116
117 /*
118  * If you are compiling on an SCO Open Server release prior to 5.0.2,
119  * you may need to remove -DLOCALCONN. There have been reports of it
120  * working on some 5.0.0 machines but not others.
121  */
122 #define ConnectionFlags         -DLOCALCONN -DTCPCONN -DUNIXCONN
123
124 #define InstallManPageAliases(file,destdir,aliases)                     @@\
125 install.man::                                                           @@\
126         @(SUFFIX=`echo $(DESTDIR)destdir/file.* | cut -f3,4 -d.`; \     @@\
127         for i in aliases; do (set -x; \                                 @@\
128         $(RM) $(DESTDIR)destdir/$$i.*; \                                @@\
129         (cd $(DESTDIR)destdir; $(LN) file.$${SUFFIX} \                  @@\
130         $$i.$${SUFFIX})); \                                             @@\
131         done)
132
133 #include <scoLib.rules>  /* minor changes to sv4Lib.rules */
134 #include <sv4Lib.rules>
135
136 #ifdef i386Architecture
137 #include <xfree86.cf>
138 #endif
139