Blame sysinfo/host/native.mk

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