]> git.sesse.net Git - rdpsrv/blob - Xserver/config/cf/sony.cf
Support RDP5 logon packets.
[rdpsrv] / Xserver / config / cf / sony.cf
1 XCOMM platform:  $XConsortium: sony.cf /main/69 1996/09/29 18:19:36 kaleb $
2
3 #ifdef SonyBsdArchitecture
4
5 #ifndef OSName
6 #define OSName                  NEWS-OS 4.2.1C
7 #endif
8 #ifndef OSMajorVersion
9 #define OSMajorVersion          4
10 #endif
11 #ifndef OSMinorVersion
12 #define OSMinorVersion          2
13 #endif
14 #ifndef OSTeenyVersion
15 #define OSTeenyVersion          1
16 #endif
17 #define SetTtyGroup             YES
18 #define HasVoidSignalReturn     NO
19 #define HasNdbm                 YES
20 #define DirFailPrefix -
21 #define InstKmemFlags           -g kmem -m 2711
22 #define DefaultUserPath :/bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/sony/bin:
23 #define DefaultSystemPath /etc:/usr/etc:/bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/sony/bin:
24 #ifdef MipsArchitecture
25 #define ExtraLibraries          -lmld
26 #define LintOpts                -ax
27 #define LintLibFlag             -o
28 #define DefaultCCOptions        -Wf,-XNh2000,-XNd6000,-XNp10000 -Olimit 2000
29 #define PexCCOptions            -Wf,-XNh2000,-XNd15000,-XNp15000 -Olimit 2000
30 #else
31 #define HasFortran              YES
32 #endif
33 #if OSMajorVersion >= 4
34 #define HasShm                  YES
35 #define HasPutenv               YES
36 #define HasSecureRPC            YES
37 #define XdmDir                  /etc/xdm
38 #if OSMinorVersion >= 1
39 #define HasBsearch              YES
40 #else
41 #define HasBsearch              NO
42 #endif
43 #else
44 #define StandardDefines         -DNOSTDHDRS
45 #define HasBsearch              NO
46 #endif
47
48 #else
49
50 #ifndef OSName
51 #define OSName                  DefaultOSName
52 #endif
53 #ifndef OSMajorVersion
54 #define OSMajorVersion          DefaultOSMajorVersion
55 #endif
56 #ifndef OSMinorVersion
57 #define OSMinorVersion          DefaultOSMinorVersion
58 #endif
59 #ifndef OSTeenyVersion
60 #define OSTeenyVersion          DefaultOSTeenyVersion
61 #endif
62 XCOMM operating system:  OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion)
63
64 #define BootstrapCFlags         -Dsony
65 #define SystemV4                YES
66 #define HasVFork                NO
67 #define CcCmd                   /usr/bin/cc
68 #define LdCmd                   /usr/bin/ld
69 #if OSMajorVersion >= 6
70 #define DefaultCCOptions        -Xa -Wf,-XNp9000,-XNd6000
71 #define PexCCOptions            -Xa -Wf,-XNp15000,-XNd15000
72 #define SharedLibraryLoadFlags -G -rpath $(USRLIBDIRPATH)
73 #define PositionIndependentCFlags -K PIC -Wx,-G 0
74 #define PositionIndependentCplusplusFlags -K PIC -Wx,-G 0
75 #define SharedXmuReqs $(LDPRELIBS) $(XTOOLLIB) $(XLIB)
76 #define FixupLibReferences() /**/
77 #include <sv4Lib.rules>
78 #else
79 #define DefaultCCOptions        -Wf,-XNp9000,-XNd6000
80 #define PexCCOptions            -Wf,-XNp15000,-XNd15000
81 #endif
82
83 #endif
84
85 /*
86  * SONY C++ compiler is based on vanilla cfront, which means it
87  * refuses to compile files unless their names end in ".C".  We
88  * have to completely override .SUFFIXES to avoid using the builtin
89  * .C to .o rule in cases where the link to foo.C is already there,
90  * because the builtin rule doesn't use the right compilation flags.
91  */
92
93 .SUFFIXES:
94 .SUFFIXES: .o .c .y .l .s .sh .h .f .Y .L .cxx
95
96 #define NormalLibObjCplusplusCompile(options) test -r $*.C || $(LN) $*.CCsuf $*.C @@\
97         $(CXX) -c $(CXXFLAGS) options $*.C
98
99 XCOMM operating system:  OSName
100
101 #ifndef BuildServer
102 #define BuildServer             NO
103 #endif