Blame sysinfo/host/native.mk
|
|
d40d13 |
include $(PROJECT_DIR)/sysinfo/os/$(BUILD_OS).mk
|
|
|
d40d13 |
|
|
|
d40d13 |
CC = $(BUILD_CC)
|
|
|
d40d13 |
OS = $(BUILD_OS)
|
|
|
d40d13 |
HOST_BITS = $(BUILD_OS_BITS)
|
|
|
d40d13 |
HOST_UNDERSCORE = $(BUILD_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
|