Blame sysinfo/host/native.mk

fa897a
include $(PROJECT_DIR)/sysinfo/os/$(NATIVE_OS).mk
fa897a
a6e0dc
OS		= $(NATIVE_OS)
a6e0dc
HOST_BITS	= $(NATIVE_OS_BITS)
fa897a
HOST_UNDERSCORE = $(NATIVE_OS_UNDERSCORE)
fa897a
fa897a
ifeq ($(OS),linux)
fa897a
	ifeq ($(HOST_BITS),32)
fa897a
		ARCH = i386
fa897a
	else ifeq ($(HOST_BITS),64)
fa897a
		ARCH = x86_64
fa897a
	endif
fa897a
endif
fa897a
fa897a
ifeq ($(OS),midipix)
fa897a
	ifeq ($(HOST_BITS),32)
fa897a
		ARCH = nt32
fa897a
	else ifeq ($(HOST_BITS),64)
fa897a
		ARCH = nt64
fa897a
	endif
fa897a
endif
fa897a
fa897a
ifeq ($(OS),mingw)
fa897a
	ifeq ($(HOST_BITS),32)
fa897a
		ARCH = w32
fa897a
	else ifeq ($(HOST_BITS),64)
fa897a
		ARCH = w64
fa897a
	endif
fa897a
endif
fa897a
fa897a
ifeq ($(OS),bsd)
fa897a
	ifeq ($(HOST_BITS),32)
fa897a
		ARCH = bsd32
fa897a
	else ifeq ($(HOST_BITS),64)
fa897a
		ARCH = bsd64
fa897a
	endif
fa897a
endif
fa897a
fa897a
ifeq ($(OS),darwin)
fa897a
	ifeq ($(HOST_BITS),32)
fa897a
		ARCH = dw32
fa897a
	else ifeq ($(HOST_BITS),64)
fa897a
		ARCH = dw64
fa897a
	endif
fa897a
endif