Blame sysinfo/host/native.mk

1857dc
include $(PROJECT_DIR)/sysinfo/os/$(NATIVE_OS).mk
d40d13
9b78c3
CC 		= $(CROSS_COMPILE)$(NATIVE_CC)
1857dc
OS 		= $(NATIVE_OS)
1857dc
HOST_BITS 	= $(NATIVE_OS_BITS)
1857dc
HOST_UNDERSCORE = $(NATIVE_OS_UNDERSCORE)
345227
345227
ifeq ($(OS),linux)
345227
	ifeq ($(HOST_BITS),32)
345227
		ARCH = i386
345227
	else ifeq ($(HOST_BITS),64)
345227
		ARCH = x86_64
345227
	endif
345227
endif
345227
345227
ifeq ($(OS),midipix)
345227
	ifeq ($(HOST_BITS),32)
345227
		ARCH = nt32
345227
	else ifeq ($(HOST_BITS),64)
345227
		ARCH = nt64
345227
	endif
345227
endif
345227
345227
ifeq ($(OS),mingw)
345227
	ifeq ($(HOST_BITS),32)
345227
		ARCH = w32
345227
	else ifeq ($(HOST_BITS),64)
345227
		ARCH = w64
345227
	endif
345227
endif
345227
345227
ifeq ($(OS),bsd)
345227
	ifeq ($(HOST_BITS),32)
345227
		ARCH = bsd32
345227
	else ifeq ($(HOST_BITS),64)
345227
		ARCH = bsd64
345227
	endif
345227
endif
345227
345227
ifeq ($(OS),darwin)
345227
	ifeq ($(HOST_BITS),32)
345227
		ARCH = dw32
345227
	else ifeq ($(HOST_BITS),64)
345227
		ARCH = dw64
345227
	endif
345227
endif