Blame sysinfo/host/native.mk

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