Blame sysinfo/host/native.mk

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