Blame sysinfo/host/native.mk

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