summaryrefslogtreecommitdiff
path: root/web/glasgow/lit2x-0.16/mkworld/plat-sun.jm
blob: 7c4a98b53927e5bc68160b4072f912e6b0af7aae (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
# line 8 "plat-sun.ljm"
#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