Blame sysinfo/host/native.mk

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