1 XCOMM $XFree86: xc/config/cf/sco5.cf,v 3.1.2.4 1997/07/19 04:59:08 dawes Exp $
4 * This is for SCO Open Server 5.0.2 or later.
8 # define ScoOsMouse YES
12 #define OSName UNIX System V/386 Open Server 5.0.4
17 #ifndef OSMajorVersion
18 #define OSMajorVersion 5
20 #ifndef OSMinorVersion
21 #define OSMinorVersion 0
23 #ifndef OSTeenyVersion
24 #define OSTeenyVersion 4
28 * Note: We define FD_SETSIZE here (as opposed to in ConnectionFlags) to
29 * guarantee that the same FD_SETSIZE is used. Havoc abounds if we do not
30 * do this, as some files which include sys/socket.h and sys/types.h will
31 * have different values for FD_SETSIZE.
34 #define StandardDefines -Dsco -DSCO -DSYSV -Di386 -DSCO325 -DFD_SETSIZE=256 -D_NO_STATIC
36 # define DefaultCCOptions -melf
38 # define ExtraLoadOptions -melf
39 # define DefaultCDebugFlags -O
40 # define OptimizedCDebugFlags -O
42 # define DefaultCCOptions -dy
44 # define ExtraLoadOptions -b elf
45 # define DefaultCDebugFlags -O
46 # define OptimizedCDebugFlags -O
49 #ifndef PexDynamicModule
50 #define PexDynamicModule YES
52 #ifndef XieDynamicModule
53 #define XieDynamicModule YES
57 # define HasSymLinks YES
60 #ifdef BuildDynamicLoading
61 #define SCODynamicFlags -Wl,-Bexport
64 #define XawI18nDefines -DHAS_WCHAR_H -DHAS_ISW_FUNCS
66 # define ServerExtraSysLibs $(CBRT) -lm -levent SCODynamicFlags
67 # define ServerExtraDefines ServerCCOptions -DUSE_OSMOUSE XFree86ServerDefines
69 # define ServerExtraSysLibs $(CBRT) -lm SCODynamicFlags
70 # define ServerExtraDefines ServerCCOptions XFree86ServerDefines
72 #define ExtraLibraries -lsocket
73 #define NeedWidePrototypes NO
74 #define ServerOSDefines -DDDXTIME
75 #define ToolkitStringsABIOptions -intelabi
77 #define HasThreadSafeAPI NO
81 #define ExecableScripts YES
82 #define HasShadowPasswd YES
83 #define ManSourcePath $(MANPATH)/cat.
84 #define Malloc0ReturnsNull YES
85 #define RemoveDSDENroffMacros NO
86 #define CompressManPages YES
89 # define HasLibCrypt YES
90 # define SpecialLibCrypt -lcrypt
92 #define PosixLibraries /**/
94 #ifndef ForceNormalLib
95 # define ForceNormalLib YES
98 #define SharedLibXmu NO
100 #define LdCombineFlags -r
102 #define HasLdRunPath YES
104 #define PatheticCpp YES
108 #define CppCmd /lib/cpp
114 #define DefaultUserPath /bin:/usr/bin:$(BINDIR):/usr/bin/X11:/usr/local/bin:/etc
115 #define DefaultSystemPath /etc:/bin:/usr/bin:$(BINDIR):/usr/bin/X11
118 * If you are compiling on an SCO Open Server release prior to 5.0.2,
119 * you may need to remove -DLOCALCONN. There have been reports of it
120 * working on some 5.0.0 machines but not others.
122 #define ConnectionFlags -DLOCALCONN -DTCPCONN -DUNIXCONN
124 #define InstallManPageAliases(file,destdir,aliases) @@\
126 @(SUFFIX=`echo $(DESTDIR)destdir/file.* | cut -f3,4 -d.`; \ @@\
127 for i in aliases; do (set -x; \ @@\
128 $(RM) $(DESTDIR)destdir/$$i.*; \ @@\
129 (cd $(DESTDIR)destdir; $(LN) file.$${SUFFIX} \ @@\
130 $$i.$${SUFFIX})); \ @@\
133 #include <scoLib.rules> /* minor changes to sv4Lib.rules */
134 #include <sv4Lib.rules>
136 #ifdef i386Architecture
137 #include <xfree86.cf>