Blame sysinfo/host/native.mk

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