Blame sysinfo/host/native.mk

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