]> git.sesse.net Git - rdpsrv/blob - Xserver/config/cf/usl.cf
Support RDP5 logon packets.
[rdpsrv] / Xserver / config / cf / usl.cf
1 XCOMM platform:  $TOG: usl.cf /main/50 1997/04/17 14:11:39 barstow $
2
3
4
5
6 XCOMM platform:  $XFree86: xc/config/cf/usl.cf,v 3.13.2.1 1997/05/03 09:43:10 dawes Exp $
7
8 #ifndef OSName
9 # define OSName         DefaultOSName
10 #endif
11 #ifndef OSMajorVersion
12 # define OSMajorVersion DefaultOSMajorVersion
13 #endif
14 #ifndef OSMinorVersion
15 # define OSMinorVersion DefaultOSMinorVersion
16 #endif
17 #ifndef OSTeenyVersion
18 # define OSTeenyVersion DefaultOSTeenyVersion
19 #endif
20 XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion)
21
22 #ifndef  CcCmd
23 # define CcCmd                  /usr/ccs/bin/cc
24 #endif
25 #ifndef  CplusplusCmd
26 # define CplusplusCmd           /usr/ccs/bin/CC
27 #endif
28 #ifndef  CplusplusFilt
29 # define CplusplusFilt          /usr/ccs/bin/c++filt
30 #endif
31 #ifndef  CplusplusDependIncludes
32 # define CplusplusDependIncludes        -I/usr/include/CC
33 #endif
34
35 #define BootstrapCFlags         /* none needed */
36 #define StandardDefines         -DUSL -DSVR4 -Di386
37 #define NeedWidePrototypes      NO      /* experimental */
38 #define ServerExtraDefines      -D__USLC__ XFree86ServerDefines
39 #define ServerOSDefines         -DDDXTIME XFree86ServerOSDefines
40 #define ToolkitStringsABIOptions -intelabi
41 #if OSMajorVersion < 2
42 #define XawI18nDefines          -DHAS_WCTYPE_H -DHAS_ISW_FUNCS
43 #else
44 #define XawI18nDefines          -DHAS_WCHAR_H -DHAS_ISW_FUNCS
45 #endif
46 #if OSTeenyVersion > 1
47 # define ExtraLibraries         -lsocket -lnsl -lgen -lw
48 # define ThreadedX              YES
49 # define HasThreadSafeAPI       NO
50 /* UnixWare does not have MT-safe pwd routines. */
51 # define MTSafeAPIDefines       \
52 -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -DXNO_MTSAFE_GRPAPI
53 # define SystemMTDefines        -D_REENTRANT
54 # define ThreadsLibraries       -lthread
55 # define ThreadsCplusplusLibraries      -lthread
56 # define DefaultCCOptions       -W0,-2A -Xa -Dasm=__asm
57 #endif
58 #define BuildLibPathVar   LD_LIBRARY_PATH
59
60 #ifndef UseExportLists
61 # define UseExportLists YES
62 #endif
63
64 #define GencatFlags             -m
65
66 #include <svr4.cf>
67
68 /*
69  * When generating templates the UnixWare 2.02 C++ compiler leaves
70  * protected .i files behind.  Remove them so other people can
71  * compile too.
72  */
73 #ifndef ObjectCplusplusCompile
74 #define ObjectCplusplusCompile(options) RemoveFiles($@ $*.i)            @@\
75         ClearmakeOSName \
76         $(CXX) -c $(CXXFLAGS) options $*.CCsuf
77 #endif
78
79 /* USL does not have a shared regex library. */
80 #define UseLocalRegex           YES
81
82 #define XmDefines               \
83         -DNO_REGCOMP -DNEED_STRCASECMP \
84         -DSUPPORT_ZERO_WIDTH -DHAS_WIDECHAR_FUNCTIONS
85 #define DtSvcDefines            -DXK_MISCELLANY -DMULTIBYTE -DNO_REGCOMP
86 #define DtSearchDefines         -DI18N_MSG DtSvcDefines
87 #define DtWidgetDefines         DtSearchDefines
88 #define DtPrintDefines          DtSearchDefines
89
90 #define HasStrcasecmp           NO
91
92 /* For DtHelp's TIFF processing routines. */
93 #define LSBBitOrder             YES
94
95 #define ArchitectureDefines     -DUSL_ARCHITECTURE
96
97 #define ExportListGenSource     elistgen.usl
98 #define ShlibExportListOpt(filename)    Concat(-Bexport:,filename)
99
100 /* Remove -lc because select.o is not relocatable. */
101 /* Remove -lgen (and set UseLocalRegex) because no shared library exists. */
102 #define SharedXmReqs $(LDPRELIBS) SharedXReqs -lsocket -lnsl -lw
103 #define SharedMrmReqs $(LDPRELIBS) $(XMLIB) SharedXReqs -lsocket -lnsl -lw
104 #define SharedUilReqs $(LDPRELIBS) $(MRESOURCELIB) $(XMLIB) SharedXReqs -lsocket -lnsl -lw
105   
106 /* <X11/Xos_r.h> requires process locking for missing _r functions */
107 #define TtClientLibs $(TTLIB) $(XTOOLLIB) $(XLIB)
108 #define TtClientDepLibs $(DEPTTLIB) $(DEPXTOOLLIB) $(DEPXLIB)
109
110 #define CdeProjectDefines \
111         -DANSICPP -DMULTIBYTE -DNLS16 -DNEED_STRCASECMP \
112         -DOSMAJORVERSION=OSMajorVersion -DOSMINORVERSION=OSMinorVersion