1XCOMM platform:  $Xorg: ultrix.cf,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
2
3
4
5XCOMM $XFree86$
6
7#ifndef OSName
8# define OSName		DefaultOSName
9#endif
10#ifndef OSMajorVersion
11# define OSMajorVersion	DefaultOSMajorVersion
12#endif
13#ifndef OSMinorVersion
14# define OSMinorVersion DefaultOSMinorVersion
15#endif
16XCOMM operating system: OSName (OSMajorVersion.OSMinorVersion)
17
18#define HasNdbm YES
19#define HasPutenv YES
20#define HasShm YES
21#define LintLibFlag -o
22#define LintOpts -ax
23
24#ifndef HasDECnet
25#define HasDECnet	NO
26#endif
27#if HasDECnet
28#define ExtraLibraries -ldnet
29#endif
30
31#if ThreadedX
32/* if you want to experiment, turn this on, but no guarantees */
33#define HasThreadSafeAPI	NO
34#define HasPosixThreads		YES
35#define ThreadPreStdAPIDefines	-DXPRE_STANDARD_API
36#define ExtraLibraries		-lpthreads -li
37#endif
38
39#ifdef VaxArchitecture
40#define NativeFPFormat DEC_F_Float
41#define UnalignedReferencesAllowed YES	       /* if arbitrary deref is okay */
42#define BuildServer NO
43#endif
44
45#ifdef MipsArchitecture
46#if OSMajorVersion > 4 || (OSMajorVersion == 4 && OSMinorVersion >= 2)
47#define XdecServer YES
48#define ServerOSDefines -DDDXTIME
49/* Even under ultrix 4.2, the compiler miscompiles some alloca calls */
50#define AllocateLocalDefines /* -DINCLUDE_ALLOCA_H */
51#else
52#define BuildServer NO
53#define AllocateLocalDefines /**/
54#endif
55#if !HasGcc
56#define NeedFunctionPrototypes YES
57/*
58 * NormalLibObjCompile - compile fragment for a library object file
59 * 	do ld -x to remove line number symbols for libraries
60 */
61#define NormalLibObjCompile(options) $(RM) $@ $*.os \			@@\
62	&& $(CC) -c options $(CFLAGS) $*.c \				@@\
63	&& $(LD) $(LDSTRIPFLAGS) -r $@ -o $*.os \			@@\
64	&& $(MV) $*.os $@
65#endif
66#endif
67
68#if HasGcc
69#ifdef VaxArchitecture
70#define CcCmd gcc -ansi -Dvax -Dultrix -fpcc-struct-return
71#endif
72#ifdef MipsArchitecture
73#define CcCmd gcc -ansi -Dmips -Dultrix -fpcc-struct-return
74#endif
75#define ServerCCOptions /* */
76#define AllocateLocalDefines /* */
77#endif
78
79#define ServerExtraDefines AllocateLocalDefines
80#define HasWChar32 YES
81
82#define MotifDefines		-DNO_REGEX -DNO_REGCOMP -DNO_CONST
83