Changeset View
Changeset View
Standalone View
Standalone View
head/lang/smlnj/Makefile
| Show All 37 Lines | |||||
| # Recompiling the compiler currently fails on amd64 | # Recompiling the compiler currently fails on amd64 | ||||
| .if ${ARCH} == "i386" | .if ${ARCH} == "i386" | ||||
| ML_RECOMPILE_OPTIONS= RECOMPILE POSITION64 | ML_RECOMPILE_OPTIONS= RECOMPILE POSITION64 | ||||
| .endif | .endif | ||||
| .if (${ARCH} == "amd64") && (${OSVERSION} >= 1000029) | .if (${ARCH} == "amd64") && (${OSVERSION} >= 1000029) | ||||
| ONLY_FOR_ARCHS= i386 amd64 | ONLY_FOR_ARCHS= i386 amd64 | ||||
| .elif (${ARCH} == "amd64") && (${OSVERSION} >= 800000) | .elif (${ARCH} == "amd64") | ||||
| ONLY_FOR_ARCHS= i386 amd64 | ONLY_FOR_ARCHS= i386 amd64 | ||||
| # Compilation of the i386 runtime source on older amd64 systems requires | # Compilation of the i386 runtime source on older amd64 systems requires | ||||
| # i386 system headers from the respective FreeBSD Version, taken from | # i386 system headers from the respective FreeBSD Version, taken from | ||||
| # stable/N/sys/i386/include, r196045 (N=8) and r225736 (N=9). | # stable/N/sys/i386/include, r196045 (N=8) and r225736 (N=9). | ||||
| EXTRA_DEFS+= -DINCLUDE_FREEBSD_I386_SIGNAL=\\\"freebsd-8-i386-signal.h\\\" | EXTRA_DEFS+= -DINCLUDE_FREEBSD_I386_SIGNAL=\\\"freebsd-8-i386-signal.h\\\" | ||||
| EXTRA_DEFS+= -DINCLUDE_FREEBSD_I386_IEEEFP=\\\"freebsd-8-i386-ieeefp.h\\\" | EXTRA_DEFS+= -DINCLUDE_FREEBSD_I386_IEEEFP=\\\"freebsd-8-i386-ieeefp.h\\\" | ||||
| .if (${OSVERSION} < 900000) | .if (${OSVERSION} < 900000) | ||||
| EXTRA_DEFS+= -DINCLUDE_FREEBSD_I386__TYPES=\\\"freebsd-8-i386-_types.h\\\" | EXTRA_DEFS+= -DINCLUDE_FREEBSD_I386__TYPES=\\\"freebsd-8-i386-_types.h\\\" | ||||
| ▲ Show 20 Lines • Show All 121 Lines • ▼ Show 20 Lines | |||||
| # See base/system/README for information on recompiling the compiler. | # See base/system/README for information on recompiling the compiler. | ||||
| .if defined(ML_RECOMPILE) | .if defined(ML_RECOMPILE) | ||||
| RECOMPILEDIR= base/system | RECOMPILEDIR= base/system | ||||
| .else | .else | ||||
| RECOMPILEDIR= | RECOMPILEDIR= | ||||
| .endif | .endif | ||||
| .if (${ARCH} == "amd64") && (${OSVERSION} >= 800000) && (${OSVERSION} < 1000029) | .if (${ARCH} == "amd64") && (${OSVERSION} < 1000029) | ||||
| MLRUNTIMEPATCHES_CMD= cd ${FILESDIR} && \ | MLRUNTIMEPATCHES_CMD= cd ${FILESDIR} && \ | ||||
| ( ${LS} do-patch-base_runtime_* extra-patch-base_runtime_* 2>&- || \ | ( ${LS} do-patch-base_runtime_* extra-patch-base_runtime_* 2>&- || \ | ||||
| ${TRUE} ) | ${TRUE} ) | ||||
| .else | .else | ||||
| MLRUNTIMEPATCHES_CMD= cd ${FILESDIR} && \ | MLRUNTIMEPATCHES_CMD= cd ${FILESDIR} && \ | ||||
| ( ${LS} do-patch-base_runtime_* 2>&- || \ | ( ${LS} do-patch-base_runtime_* 2>&- || \ | ||||
| ${TRUE} ) | ${TRUE} ) | ||||
| .endif | .endif | ||||
| ▲ Show 20 Lines • Show All 227 Lines • Show Last 20 Lines | |||||