mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
Remove macII support
This commit is contained in:
parent
63269240eb
commit
01c9b8889b
9 changed files with 14 additions and 124 deletions
|
@ -5,7 +5,7 @@ XCOMM $TOG: Imake.cf /main/30 1998/04/28 13:55:25 barstow $
|
||||||
* 1. Identify a machine-specific cpp symbol. If your preprocessor
|
* 1. Identify a machine-specific cpp symbol. If your preprocessor
|
||||||
* does not have any built in, you will need to add the symbol to the
|
* does not have any built in, you will need to add the symbol to the
|
||||||
* cpp_argv table in config/imake/imakemdep.h and rebuild imake with
|
* cpp_argv table in config/imake/imakemdep.h and rebuild imake with
|
||||||
* the BOOTSTRAPCFLAGS variable set (see the macII for an example).
|
* the BOOTSTRAPCFLAGS variable set.
|
||||||
*
|
*
|
||||||
* 2. Add all machine-specific cpp symbols (either defined by you or by
|
* 2. Add all machine-specific cpp symbols (either defined by you or by
|
||||||
* the preprocessor or compiler) to the predefs table in
|
* the preprocessor or compiler) to the predefs table in
|
||||||
|
@ -317,13 +317,6 @@ XCOMM $TOG: Imake.cf /main/30 1998/04/28 13:55:25 barstow $
|
||||||
# define M4330Architecture
|
# define M4330Architecture
|
||||||
#endif /* M4330 */
|
#endif /* M4330 */
|
||||||
|
|
||||||
#ifdef macII
|
|
||||||
# define MacroIncludeFile <macII.cf>
|
|
||||||
# define MacroFile macII.cf
|
|
||||||
# undef macII
|
|
||||||
# define MacIIArchitecture
|
|
||||||
#endif /* macII */
|
|
||||||
|
|
||||||
#ifdef _CRAY
|
#ifdef _CRAY
|
||||||
# define MacroIncludeFile <cray.cf>
|
# define MacroIncludeFile <cray.cf>
|
||||||
# define MacroFile cray.cf
|
# define MacroFile cray.cf
|
||||||
|
|
|
@ -72,7 +72,6 @@ ibm.cf \
|
||||||
isc.cf \
|
isc.cf \
|
||||||
linux.cf \
|
linux.cf \
|
||||||
luna.cf \
|
luna.cf \
|
||||||
macII.cf \
|
|
||||||
mach.cf \
|
mach.cf \
|
||||||
minix.cf \
|
minix.cf \
|
||||||
moto.cf \
|
moto.cf \
|
||||||
|
|
|
@ -1,53 +0,0 @@
|
||||||
XCOMM platform: $XConsortium: macII.cf /main/50 1996/09/28 16:11:19 rws $
|
|
||||||
|
|
||||||
#ifndef OSName
|
|
||||||
#define OSName A/UX 3.0.1
|
|
||||||
#endif
|
|
||||||
#ifndef OSMajorVersion
|
|
||||||
#define OSMajorVersion 3
|
|
||||||
#endif
|
|
||||||
#ifndef OSMinorVersion
|
|
||||||
#define OSMinorVersion 0
|
|
||||||
#endif
|
|
||||||
#ifndef OSTeenyVersion
|
|
||||||
#define OSTeenyVersion 1
|
|
||||||
#endif
|
|
||||||
XCOMM operating system: OSName
|
|
||||||
|
|
||||||
#if HasGcc
|
|
||||||
#define BootstrapCFlags -DmacII
|
|
||||||
#endif
|
|
||||||
#define SystemV YES
|
|
||||||
#define HasPoll NO
|
|
||||||
#define NeedBerklib YES
|
|
||||||
#define ExtraLibraries $(XBSDLIB) -lposix -lm -lmr
|
|
||||||
#define Malloc0ReturnsNull YES
|
|
||||||
#define StandardDefines -DmacII -DSYSV
|
|
||||||
#define ExecableScripts NO
|
|
||||||
#define RemoveTargetProgramByMoving YES
|
|
||||||
#define ExpandManNames YES
|
|
||||||
#define PexShmIPC NO
|
|
||||||
#define XmacIIServer YES
|
|
||||||
#define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC
|
|
||||||
#if MacHasc89
|
|
||||||
#define CcCmd c89 -D_POSIX_SOURCE
|
|
||||||
#else
|
|
||||||
#define HasVoidSignalReturn NO
|
|
||||||
#endif
|
|
||||||
#if OSMajorVersion <= 2
|
|
||||||
#define ServerExtraDefines -DSUPPORT_2_0
|
|
||||||
#endif
|
|
||||||
#define InstKmemFlags -g sys -m 2711
|
|
||||||
#define ExtensionOSDefines -DXTESTEXT1
|
|
||||||
|
|
||||||
#if !HasGcc
|
|
||||||
#define DefaultCCOptions -A 3
|
|
||||||
#define PexCCOptions -A 4
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
|
||||||
* If you wish to override the man page directories, do so here using just
|
|
||||||
* one tab between the parameter name (e.g. ManDirectoryRoot) and the
|
|
||||||
* value so that cpp doesn't get confused.
|
|
||||||
*/
|
|
||||||
#define ManDirectoryRoot /usr/catman/u_man
|
|
|
@ -226,9 +226,6 @@ typedef union wait waitType;
|
||||||
char *malloc(), *realloc();
|
char *malloc(), *realloc();
|
||||||
void exit();
|
void exit();
|
||||||
#endif
|
#endif
|
||||||
#if defined(macII) && !defined(__STDC__) /* stdlib.h fails to define these */
|
|
||||||
char *malloc(), *realloc();
|
|
||||||
#endif /* macII */
|
|
||||||
#ifdef X_NOT_STDC_ENV
|
#ifdef X_NOT_STDC_ENV
|
||||||
extern char *getenv();
|
extern char *getenv();
|
||||||
#endif
|
#endif
|
||||||
|
@ -263,7 +260,7 @@ extern int errno;
|
||||||
* This define of strerror is copied from (and should be identical to)
|
* This define of strerror is copied from (and should be identical to)
|
||||||
* Xos.h, which we don't want to include here for bootstrapping reasons.
|
* Xos.h, which we don't want to include here for bootstrapping reasons.
|
||||||
*/
|
*/
|
||||||
#if defined(X_NOT_STDC_ENV) || (defined(sun) && !defined(SVR4)) || defined(macII)
|
#if defined(X_NOT_STDC_ENV) || (defined(sun) && !defined(SVR4))
|
||||||
# ifndef strerror
|
# ifndef strerror
|
||||||
extern char *sys_errlist[];
|
extern char *sys_errlist[];
|
||||||
extern int sys_nerr;
|
extern int sys_nerr;
|
||||||
|
|
|
@ -65,10 +65,6 @@ in this Software without prior written authorization from The Open Group.
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(macII) || defined(_AUX_SOURCE)
|
|
||||||
#define imake_ccflags "-DmacII -DSYSV"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef stellar
|
#ifdef stellar
|
||||||
#define imake_ccflags "-DSYSV"
|
#define imake_ccflags "-DSYSV"
|
||||||
#endif
|
#endif
|
||||||
|
@ -354,9 +350,6 @@ char *cpp_argv[ARGUMENTS] = {
|
||||||
#ifdef M4310
|
#ifdef M4310
|
||||||
"-DM4310", /* Tektronix */
|
"-DM4310", /* Tektronix */
|
||||||
#endif
|
#endif
|
||||||
#if defined(macII) || defined(_AUX_SOURCE)
|
|
||||||
"-DmacII", /* Apple A/UX */
|
|
||||||
#endif
|
|
||||||
#ifdef sony
|
#ifdef sony
|
||||||
"-Dsony", /* Sony */
|
"-Dsony", /* Sony */
|
||||||
#if !defined(SYSTYPE_SYSV) && !defined(_SYSTYPE_SYSV) && NEWSOS < 42
|
#if !defined(SYSTYPE_SYSV) && !defined(_SYSTYPE_SYSV) && NEWSOS < 42
|
||||||
|
|
|
@ -140,9 +140,6 @@ struct filepointer {
|
||||||
|
|
||||||
#ifndef X_NOT_STDC_ENV
|
#ifndef X_NOT_STDC_ENV
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#if defined(macII) && !defined(__STDC__) /* stdlib.h fails to define these */
|
|
||||||
char *malloc(), *realloc();
|
|
||||||
#endif /* macII */
|
|
||||||
#else
|
#else
|
||||||
char *malloc();
|
char *malloc();
|
||||||
char *realloc();
|
char *realloc();
|
||||||
|
|
|
@ -53,9 +53,6 @@ in this Software without prior written authorization from The Open Group.
|
||||||
#else
|
#else
|
||||||
char *malloc();
|
char *malloc();
|
||||||
#endif
|
#endif
|
||||||
#if defined(macII) && !defined(__STDC__) /* stdlib.h fails to define these */
|
|
||||||
char *malloc();
|
|
||||||
#endif /* macII */
|
|
||||||
|
|
||||||
typedef struct _TableEnt {
|
typedef struct _TableEnt {
|
||||||
struct _TableEnt* next;
|
struct _TableEnt* next;
|
||||||
|
|
|
@ -61,13 +61,12 @@ typedef struct _TempFont {
|
||||||
} TempFont; /* not called font since collides with type in X.h */
|
} TempFont; /* not called font since collides with type in X.h */
|
||||||
|
|
||||||
#ifdef vax
|
#ifdef vax
|
||||||
|
|
||||||
# define DEFAULTGLPAD 1 /* default padding for glyphs */
|
# define DEFAULTGLPAD 1 /* default padding for glyphs */
|
||||||
# define DEFAULTBITORDER LSBFirst /* default bitmap bit order */
|
# define DEFAULTBITORDER LSBFirst /* default bitmap bit order */
|
||||||
# define DEFAULTBYTEORDER LSBFirst /* default bitmap byte order */
|
# define DEFAULTBYTEORDER LSBFirst /* default bitmap byte order */
|
||||||
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
||||||
#else
|
|
||||||
# ifdef sun
|
#elif defined(sun)
|
||||||
|
|
||||||
# if (sun386 || sun5)
|
# if (sun386 || sun5)
|
||||||
# define DEFAULTGLPAD 4 /* default padding for glyphs */
|
# define DEFAULTGLPAD 4 /* default padding for glyphs */
|
||||||
|
@ -81,48 +80,35 @@ typedef struct _TempFont {
|
||||||
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# else
|
#elif defined(apollo)
|
||||||
# ifdef apollo
|
|
||||||
|
|
||||||
# define DEFAULTGLPAD 2 /* default padding for glyphs */
|
# define DEFAULTGLPAD 2 /* default padding for glyphs */
|
||||||
# define DEFAULTBITORDER MSBFirst /* default bitmap bit order */
|
# define DEFAULTBITORDER MSBFirst /* default bitmap bit order */
|
||||||
# define DEFAULTBYTEORDER MSBFirst /* default bitmap byte order */
|
# define DEFAULTBYTEORDER MSBFirst /* default bitmap byte order */
|
||||||
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
||||||
|
|
||||||
# else
|
#elif defined(ibm032)
|
||||||
# ifdef ibm032
|
|
||||||
|
|
||||||
# define DEFAULTGLPAD 1 /* default padding for glyphs */
|
# define DEFAULTGLPAD 1 /* default padding for glyphs */
|
||||||
# define DEFAULTBITORDER MSBFirst /* default bitmap bit order */
|
# define DEFAULTBITORDER MSBFirst /* default bitmap bit order */
|
||||||
# define DEFAULTBYTEORDER MSBFirst /* default bitmap byte order */
|
# define DEFAULTBYTEORDER MSBFirst /* default bitmap byte order */
|
||||||
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
||||||
|
|
||||||
# else
|
#elif defined(hpux)
|
||||||
# ifdef hpux
|
|
||||||
|
|
||||||
# define DEFAULTGLPAD 2 /* default padding for glyphs */
|
# define DEFAULTGLPAD 2 /* default padding for glyphs */
|
||||||
# define DEFAULTBITORDER MSBFirst /* default bitmap bit order */
|
# define DEFAULTBITORDER MSBFirst /* default bitmap bit order */
|
||||||
# define DEFAULTBYTEORDER MSBFirst /* default bitmap byte order */
|
# define DEFAULTBYTEORDER MSBFirst /* default bitmap byte order */
|
||||||
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
||||||
|
|
||||||
# else
|
#elif defined(pegasus)
|
||||||
# ifdef pegasus
|
|
||||||
|
|
||||||
# define DEFAULTGLPAD 4 /* default padding for glyphs */
|
# define DEFAULTGLPAD 4 /* default padding for glyphs */
|
||||||
# define DEFAULTBITORDER MSBFirst /* default bitmap bit order */
|
# define DEFAULTBITORDER MSBFirst /* default bitmap bit order */
|
||||||
# define DEFAULTBYTEORDER MSBFirst /* default bitmap byte order */
|
# define DEFAULTBYTEORDER MSBFirst /* default bitmap byte order */
|
||||||
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
||||||
|
|
||||||
# else
|
#elif defined(mips)
|
||||||
# ifdef macII
|
|
||||||
|
|
||||||
# define DEFAULTGLPAD 4 /* default padding for glyphs */
|
|
||||||
# define DEFAULTBITORDER MSBFirst /* default bitmap bit order */
|
|
||||||
# define DEFAULTBYTEORDER MSBFirst /* default bitmap byte order */
|
|
||||||
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
|
||||||
|
|
||||||
# else
|
|
||||||
# ifdef mips
|
|
||||||
# ifdef MIPSEL
|
# ifdef MIPSEL
|
||||||
|
|
||||||
# define DEFAULTGLPAD 4 /* default padding for glyphs */
|
# define DEFAULTGLPAD 4 /* default padding for glyphs */
|
||||||
|
@ -137,20 +123,12 @@ typedef struct _TempFont {
|
||||||
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# else
|
#else
|
||||||
# define DEFAULTGLPAD 1 /* default padding for glyphs */
|
# define DEFAULTGLPAD 1 /* default padding for glyphs */
|
||||||
# define DEFAULTBITORDER MSBFirst /* default bitmap bit order */
|
# define DEFAULTBITORDER MSBFirst /* default bitmap bit order */
|
||||||
# define DEFAULTBYTEORDER MSBFirst /* default bitmap byte order */
|
# define DEFAULTBYTEORDER MSBFirst /* default bitmap byte order */
|
||||||
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
||||||
|
#endif
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
|
|
||||||
#define GLWIDTHBYTESPADDED(bits,nbytes) \
|
#define GLWIDTHBYTESPADDED(bits,nbytes) \
|
||||||
((nbytes) == 1 ? (((bits)+7)>>3) /* pad to 1 byte */ \
|
((nbytes) == 1 ? (((bits)+7)>>3) /* pad to 1 byte */ \
|
||||||
|
|
|
@ -214,17 +214,6 @@ This is unpublished proprietary source code of FUJITSU LIMITED
|
||||||
|
|
||||||
#endif /* tektronix */
|
#endif /* tektronix */
|
||||||
|
|
||||||
#ifdef macII
|
|
||||||
|
|
||||||
#define IMAGE_BYTE_ORDER MSBFirst /* Values for the MacII only */
|
|
||||||
#define BITMAP_BIT_ORDER MSBFirst
|
|
||||||
#define GLYPHPADBYTES 4
|
|
||||||
#define GETLEFTBITS_ALIGNMENT 1
|
|
||||||
|
|
||||||
/* might want FAST_UNALIGNED_READS for frame buffers with < 1us latency */
|
|
||||||
|
|
||||||
#endif /* macII */
|
|
||||||
|
|
||||||
#ifdef mips
|
#ifdef mips
|
||||||
|
|
||||||
#ifdef MIPSEL
|
#ifdef MIPSEL
|
||||||
|
|
Loading…
Reference in a new issue