Blame sysinfo/host/native.mk

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