Blame sysinfo/host/native.mk

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