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