1 XCOMM $TOG: svr4.cf /main/17 1997/06/08 20:08:31 kaleb $
6 #ifdef i386Architecture
7 #define OSName UNIX System V/386 Release 4
9 #define OSName UNIX System V Release 4
17 * The default version will be 4.0.0 which should be
18 * the least common denominator of all SVR4
21 #ifndef OSMajorVersion
22 #define OSMajorVersion 4
24 #ifndef OSMinorVersion
25 #define OSMinorVersion 0
27 #ifndef OSTeenyVersion
28 #define OSTeenyVersion 0
30 #ifndef BootstrapCFlags
31 #ifdef i386Architecture
32 #define BootstrapCFlags -DSVR4 -Di386
35 #define BootstrapCFlags -DSVR4 -Di386
37 #define BootstrapCFlags -DSVR4
42 /* Some stuff that all SVR4s should have */
46 #define HasLdRunPath YES
49 #ifndef SVR4Architecture
50 #define SVR4Architecture
53 #define PatheticCpp YES
55 #define Malloc0ReturnsNull YES /* in case -lmalloc used */
58 * Here are the default paths to use to pick up tools for building.
61 #define ArCmdBase /usr/ccs/bin/ar
64 #define AsCmd /usr/ccs/bin/as
67 #define CppCmd /usr/ccs/lib/cpp
70 #define LdCmd /usr/ccs/bin/ld
73 #define LexCmd /usr/ccs/bin/lex
76 #define MakeCmd /usr/ccs/bin/make
79 #define YaccCmd /usr/ccs/bin/yacc
82 #if (OSMinorVersion == 0)
83 #ifndef XawI18nDefines
84 #define XawI18nDefines -DUSE_XWCHAR_STRING
88 #ifdef i386Architecture
89 #ifndef StandardDefines
90 #define StandardDefines -DSVR4 -Di386
92 #ifndef ToolkitStringsABIOptions
93 #define ToolkitStringsABIOptions -intelabi
95 #ifndef DefaultCCOptions
97 #if !defined(SunArchitecture)
98 #define DefaultCCOptions -ansi
101 #define DefaultCCOptions -Xa -Dasm=__asm
104 #ifndef DefaultCDebugFlags
106 #ifdef i386Architecture
107 #define DefaultCDebugFlags -m486 DefaultGcc2i386Opt
109 #define DefaultCDebugFlags -O2
112 #define DefaultCDebugFlags -O
115 #ifndef ServerOSDefines
116 #define ServerOSDefines -DDDXTIME XFree86ServerOSDefines
121 * The TLI interface is more robust on most SVR4s, so it will be the default.
123 #if !defined(SunArchitecture)
124 #ifndef ConnectionFlags
125 #define ConnectionFlags -DSTREAMSCONN -DUNIXCONN -DLOCALCONN
131 #define ManDir $(MANSOURCEPATH)1
134 #define LibManSuffix 3x
135 #define LibmanDir $(MANSOURCEPATH)3
137 #ifndef FileManSuffix
138 #define FileManSuffix 4
141 #ifdef i386Architecture
142 #include <xfree86.cf>
145 #include <sv4Lib.rules>