1XCOMM platform: $XFree86: xc/config/cf/DGUX.cf,v 1.5 2000/07/07 20:06:56 tsi Exp $ 2/* Copyright Takis Psarogiannakopoulos <takis@pmms.cam.ac.uk> 3 * This is the DG/ux configuration file of X11R6.3 4 */ 5#define OSName DG/ux R4.20MU03 6#define i386Architecture 7#ifndef OSVendor 8#define OSVendor Data General Corporation 9#endif 10 11#define OSMajorVersion 4 12#define OSMinorVersion 20 13#define OSTeenyVersion 3 14#define BootstrapCFlags -DDGUX 15 16/* Some stuff that all SVR4s ,so and DG/ux, should have */ 17 18#define SystemV4 YES 19#ifndef HasLdRunPath 20#define HasLdRunPath YES 21#endif 22#define HasPoll YES 23#ifndef SVR4Architecture 24#define SVR4Architecture 25#endif 26#ifndef PatheticCpp 27#define PatheticCpp YES 28#endif 29#define Malloc0ReturnsNull YES /* in case -lmalloc used */ 30 31/* 32 * Here are the default paths to use tools for building. 33 */ 34 35#define ArCmdBase /usr/bin/ar 36#define AsCmd /usr/bin/as 37#define CppCmd /usr/lib/cpp 38#define LdCmd /usr/bin/ld 39#define LexCmd /usr/bin/lex 40#define CcCmd /usr/local/bin/gcc /* ? -fpcc-struct-return */ 41#define UNCOMPRESSPATH /usr/bin/uncompress 42#define MakeCmd /usr/local/bin/make 43#define YaccCmd /usr/bin/yacc 44#define InstallCmd /usr/bin/install /* I use gnu install-sh */ 45#define LnCmd ln -s 46#define RanlibCmd true /* Or make a link ranlib->true */ 47#define CplusplusCmd /usr/local/bin/g++ 48 49 50 51 52 53 54#ifndef MkdirHierCmd 55#define MkdirHierCmd mkdir -p 56#endif 57/* Stuff for SVR4 4.0 */ 58#ifndef XawI18nDefines 59#define XawI18nDefines -DUSE_XWCHAR_STRING 60#endif 61 62#define HasPutenv YES 63#define HasVFork YES 64#define HasVoidSignalReturn YES 65#define HasBsearch YES 66#define HasSockets YES 67#define BuildServer YES 68#define HasSharedLibraries YES /* to build shared libs */ 69#define HasCplusplus YES 70#define HasGnuMake YES /* Added for 3.2Xc */ 71#define UseGnuMalloc YES 72#define GnuMallocLibrary -L/usr/local/lib -lmalloc 73#define Malloc0ReturnsNull YES /* Added for 3.2Xh,i... GNU does return 0 */ 74#define Malloc0ReturnsNullDefines -DMALLOC_0_RETURNS_NULL /* define for GNU malloc X3.2i */ 75/*******TCL TK DEFINITIONS ***********/ 76#define HasTk YES /* Comment out if you don't have this */ 77#define TkLibDir /usr/X11R6.3/lib 78#define TkIncDir /usr/X11R6.3/include 79#define TkLibName tk8.0 80#define HasTcl YES 81#define TclLibName tcl8.0 82#define TclLibDir /usr/X11R6.3/lib 83#define TclIncDir /usr/X11R6.3/include 84 85#define SystemManDirectory /usr/local/man/X 86 87#define ExtraLibraries -lelf -lgen -lresolv -lsocket -lnsl -lw 88 89#define StandardDefines -DDGUX -DSVR4 -Di386 -D__ix86 -D_DGUX_SOURCE -D_LITTLE_ENDIAN -D_PENTIUM_CHANGE 90 91#define PositionIndependentCFlags -fpic 92#define PositionIndependentCplusplusFlags -fpic 93 94/* 95 * To forceably build static libraries in addition to shared libraries, 96 * we put this. 97 */ 98#define ForceNormalLib YES 99 100#ifndef ToolkitStringsABIOptions 101#define ToolkitStringsABIOptions -intelabi -earlyR6bc 102#endif 103 104#ifndef DefaultCCOptions 105#define DefaultCCOptions /* -ansi -pedantic */ 106#endif 107#define OptimizedCDebugFlags -O2 /* Add -g -mstandard for full debugging info */ 108#define OptimizedCplusplusDebugFlags 109#define DebuggableCDebugFlags -g -mstandard 110#define DebuggableCplusplusDebugFlags 111#define SharedLibraryLoadFlags -G -z text 112#define PositionIndependentCFlags -fpic 113#define PositionIndependentCplusplusFlags -fpic 114 115 116 117/* 118 * The default optimisation flags for GCC 2.x. -fno-strength-reduce is 119 * here to work around a bug in -O2 for GCC 2.x on i386 platforms. 120 * If you are using a version that doesn't have this bug, you can 121 * uncomment the following line, and remove '-fno-strength-reduce' 122 * 123#define DefaultGcc2i386Opt -O2 -fno-strength-reduce 124 */ 125 126/* Compress all the Fonts */ 127#define CompressAllFonts YES 128 129 130 131/* Manual pages installed under their full names */ 132 133#define ExpandManNames YES 134#define CompressManPages YES 135 136 137 138 139/* Install with stripping before ? */ 140#define StripInstalledPrograms YES 141 142/* Server to Install */ 143#define XserverNeedsSetUID YES 144#define InstallXserverSetUID YES 145 146 147#ifndef ServerOSDefines 148#define ServerOSDefines -DDDXTIME XFree86ServerOSDefines 149#endif 150#ifndef BuildDynamicLoading 151#define BuildDynamicLoading NO 152#endif 153#if BuildDynamicLoading 154#define ServerExtraSysLibs -ldl 155#endif 156 157/* 158 * The TLI interface is more robust on most SVR4s, so it will be the default. 159 */ 160#ifndef ConnectionFlags 161#define ConnectionFlags -DSTREAMSCONN -DUNIXCONN -DLOCALCONN 162#endif 163 164#ifndef ManSuffix 165#define ManSuffix 1x 166#define ManDir $(MANSOURCEPATH)1 167#endif 168#ifndef LibManSuffix 169#define LibManSuffix 3x 170#define LibmanDir $(MANSOURCEPATH)3 171#endif 172#ifndef FileManSuffix 173#define FileManSuffix 4 174#endif 175 176#ifndef StaticLibrary 177#ifndef HasGcc 178#define StaticLibrary(libpath,libname) -B static Concat(-L,libpath) Concat(-l,libname) -B dynamic 179#endif 180#endif 181 182#ifndef UseDeprecatedKeyboardDriver 183#define UseDeprecatedKeyboardDriver YES 184#endif 185 186#ifdef i386Architecture 187#include <xorg.cf> 188#endif 189 190#include <sv4Lib.rules> 191