blob: 1b11184366937205dd031ca0c9a15dc8f14a1722 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
%************************************************************************
%* *
\section[mkworld-plat-sun]{Sun-specific configuration stuff}
%* *
%************************************************************************
\begin{code}
#define SunOSPlatform YES /* set to NO if not running SunOS */
#define OSName SunOS 4.1
#define OSMajorVersion 4
#define OSMinorVersion 1
#if OSMajorVersion >=4 && OSMinorVersion >= 1
#define ConstructMFLAGS 1
#endif
#if OSMajorVersion >= 4
#define HasSunOSSharedLibraries YES
#endif
#if defined(sparc) || defined(__sparc) || defined(__sparc__)
#undef sparc
#undef __sparc
#undef __sparc__
#define SparcArchitecture
/* HostPlatform should probably be "sparc" but this suits Glasgow /bin/arch */
#define HostPlatform sun4
#else /* ! sparc */
/* OK, a wild guess ... */
#define m68kArchitecture
#define HostPlatform sun3
#endif /* ! sparc */
BUILDPLATFORM=HostPlatform
\end{code}
|