Blame sysinfo/host/native.mk

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