Blame sysinfo/host/native.mk

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