version 1.10, 1997/01/15 23:42:51 |
version 1.11, 1997/01/27 05:24:09 |
|
|
* so we can share an executable for similar machines. |
* so we can share an executable for similar machines. |
* (i.e. m68k: amiga hp300, mac68k, sun3, ...) |
* (i.e. m68k: amiga hp300, mac68k, sun3, ...) |
* |
* |
* Note that while MACHINE is decided at run-time, |
* Note that both MACHINE and MACHINE_ARCH can be overridden |
* MACHINE_ARCH is always known at compile time. |
* by environment variables. MACHINE through the getenv() |
|
* above and MACHINE_ARCH, below. |
*/ |
*/ |
if (!machine) { |
if (!machine) { |
#ifndef MACHINE |
#ifndef MACHINE |
|
|
Var_Set("MFLAGS", "", VAR_GLOBAL); |
Var_Set("MFLAGS", "", VAR_GLOBAL); |
Var_Set("MACHINE", machine, VAR_GLOBAL); |
Var_Set("MACHINE", machine, VAR_GLOBAL); |
#ifdef MACHINE_ARCH |
#ifdef MACHINE_ARCH |
Var_Set("MACHINE_ARCH", MACHINE_ARCH, VAR_GLOBAL); |
if (NULL == getenv("MACHINE_ARCH")) { |
|
Var_Set("MACHINE_ARCH", MACHINE_ARCH, VAR_GLOBAL); |
|
} |
#endif |
#endif |
|
|
/* |
/* |