diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /web/glasgow/lit2x-0.16/mkworld/plat-sun.jm |
Initial commit
Diffstat (limited to 'web/glasgow/lit2x-0.16/mkworld/plat-sun.jm')
-rw-r--r-- | web/glasgow/lit2x-0.16/mkworld/plat-sun.jm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/web/glasgow/lit2x-0.16/mkworld/plat-sun.jm b/web/glasgow/lit2x-0.16/mkworld/plat-sun.jm new file mode 100644 index 0000000000..7c4a98b539 --- /dev/null +++ b/web/glasgow/lit2x-0.16/mkworld/plat-sun.jm @@ -0,0 +1,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 |