Blame sysinfo/host/native.mk

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