Changeset View
Changeset View
Standalone View
Standalone View
head/stand/defs.mk
Show First 20 Lines • Show All 140 Lines • ▼ Show 20 Lines | |||||
.endif | .endif | ||||
.if ${MK_LOADER_FORCE_LE} != "no" | .if ${MK_LOADER_FORCE_LE} != "no" | ||||
.if ${MACHINE_ARCH} == "powerpc64" | .if ${MACHINE_ARCH} == "powerpc64" | ||||
CFLAGS+= -mlittle-endian | CFLAGS+= -mlittle-endian | ||||
.endif | .endif | ||||
.endif | .endif | ||||
# | |||||
# Have a sensible default | |||||
# | |||||
.if ${MK_FORTH} == "yes" | |||||
LOADER_DEFAULT_INTERP?=4th | |||||
.elif ${MK_LOADER_LUA} == "yes" | |||||
LOADER_DEFAULT_INTERP?=lua | |||||
.else | |||||
LOADER_DEFAULT_INTERP?=simp | |||||
.endif | |||||
LOADER_INTERP?=${LOADER_DEFAULT_INTERP} | |||||
# Make sure we use the machine link we're about to create | # Make sure we use the machine link we're about to create | ||||
CFLAGS+=-I. | CFLAGS+=-I. | ||||
all: ${PROG} | all: ${PROG} | ||||
.if !defined(NO_OBJ) | .if !defined(NO_OBJ) | ||||
_ILINKS=machine | _ILINKS=machine | ||||
.if ${MACHINE} != ${MACHINE_CPUARCH} && ${MACHINE} != "arm64" | .if ${MACHINE} != ${MACHINE_CPUARCH} && ${MACHINE} != "arm64" | ||||
Show All 36 Lines |