]> git.sesse.net Git - rdpsrv/blob - Xserver/config/cf/convex.cf
Import X server from vnc-3.3.7.
[rdpsrv] / Xserver / config / cf / convex.cf
1 XCOMM platform:  $XConsortium: convex.cf /main/4 1996/09/28 16:09:50 rws $
2
3 #ifndef OSName
4 #define OSName                  ConvexOS V9.0
5 #endif
6 XCOMM operating system:  OSName
7 #ifndef OSMajorVersion
8 #define OSMajorVersion          9
9 #endif
10 #ifndef OSMinorVersion
11 #define OSMinorVersion          0 
12 #endif
13 #ifndef VersionNumber
14 #define VersionNumber           0.0.0.0
15 #endif
16
17 #define BootstrapCFlags         -tm c1
18 #define SetTtyGroup             YES
19 #define BuildServer             NO
20 #define ConnectionFlags         -DTCPCONN -DUNIXCONN -DCOVUENETCONN
21 #define InstallXdmConfig        YES
22 #define XdmDir                  $(LIBDIR)/xdm-sample
23 #define XdmServersType  fs      /* one tab here */
24 #define HasXmWidgets            NO
25 #define InstKmemFlags           -g kmem -m 2711 -v $(VERSION)
26 #define InstScriptFlags         -m 0755 -g bin
27 #define InstManFlags            -m 0444 -g bin
28 #define DefaultCCOptions        -fn -tm c1 
29 #define LibraryCCOptions        -fx -tm c1 
30 #define StripFlags              -r -x
31 #define HasSecureOS             YES
32 #define BuildExamples           YES
33 #define BuildMotif              NO
34 #define BuildConvexClients      YES
35 #define MotifBC                 YES
36 #define UilCommand              uil
37 #define ExampleDir              $(LIBDIR)/examples
38 #define UnSupDir                $(LIBDIR)/unsupported
39 #define BuildTestExt            YES
40 #define DefaultScreenSaverTime  0
41
42 #if BuildTestExt
43 #define TestDefines -DXTESTEXT1
44 #else
45 #define TestDefines /**/
46 #endif
47
48 #define ExtensionOSDefines TestDefines
49
50         VERSION = VersionNumber
51             UIL = UilCommand
52        UNSUPDIR = UnSupDir      /* unsupported examples and code */
53
54 /*
55  * _Use - makes a choice based on UseInstalled.
56  */
57 #ifndef _Use
58 #ifdef UseInstalled
59 #define _Use(a,b) a
60 #else
61 #define _Use(a,b) b
62 #endif
63 #endif
64
65 /*
66  * _UseCat - combination of _Use and Concat.
67  *           exists to avoid problems with some preprocessors
68  */
69 #ifndef _UseCat
70 #if (defined(__STDC__) || (defined(__convex__) && defined(__stdc__)))
71 && !defined(UnixCpp)
72 #ifdef UseInstalled
73 #define _UseCat(a,b,c) a##c
74 #else
75 #define _UseCat(a,b,c) b##c
76 #endif
77 #else
78 #ifdef UseInstalled
79 #define _UseCat(a,b,c) a/**/c
80 #else
81 #define _UseCat(a,b,c) b/**/c
82 #endif
83 #endif
84 #endif
85
86 #if HasXmWidgets
87    MRESOURCESRC = $(LIBSRC)/Mrm
88 DEPMRESOURCELIB = _UseCat($(USRLIBDIR),$(MRESOURCESRC),/libMrm.a)
89    MRESOURCELIB = LoaderLibPrefix _Use(-lMrm,$(DEPMRESOURCELIB))
90 LINTMRESOURCELIB= _UseCat($(LINTLIBDIR),$(MRESOURCESRC),/llib-lMrm.ln)
91
92        XMLIBSRC = $(LIBSRC)/Xm
93        DEPXMLIB = _UseCat($(USRLIBDIR),$(XMLIBSRC),/libXm.a)
94           XMLIB = LoaderLibPrefix _Use(-lXm,$(DEPXMLIB))
95       LINTXMLIB = _UseCat($(LINTLIBDIR),$(XMLIBSRC),/llib-lXm.ln)
96
97       UILLIBSRC = $(LIBSRC)/uil
98       DEPUILLIB = _UseCat($(USRLIBDIR),$(UILLIBSRC),/libUil.a)
99          UILLIB = LoaderLibPrefix _Use(-lUil,$(DEPUILLIB))
100      LINTUILLIB = _UseCat($(LINTLIBDIR),$(UILLIBSRC),/llib-lUil.ln)
101
102 #endif