Blame sysinfo/host/native.mk

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