mirror of
https://github.com/libretro/Mu.git
synced 2026-07-09 02:08:10 +00:00
As of now its not stable and there isnt plans to reenable it unless someone else can figure out what is wrong since I dont know ARM ASM.
61 lines
1.7 KiB
Makefile
61 lines
1.7 KiB
Makefile
EMU_PATH := $(CORE_DIR)/../src
|
|
LIBRETRO_COMM_DIR := $(CORE_DIR)/libretro-common
|
|
COREDEFINES :=
|
|
|
|
INCFLAGS := -I$(LIBRETRO_COMM_DIR)/include
|
|
|
|
ifeq ($(DEBUG), 1)
|
|
COREDEFINES += -DEMU_DEBUG -DEMU_SANDBOX
|
|
else
|
|
COREDEFINES += -DEMU_NO_SAFETY
|
|
endif
|
|
|
|
ifneq (,$(findstring msvc200,$(platform)))
|
|
INCFLAGS += -I$(LIBRETRO_COMM_DIR)/include/compat/msvc
|
|
endif
|
|
|
|
ifneq (,$(findstring msvc20,$(platform)))
|
|
# Mu is dependent on stdbool.h and the standard inline directive existing
|
|
INCFLAGS += -I$(CORE_DIR)/fixIncludes/stdbool
|
|
COREDEFINES += -Dinline=_inline -DINLINE=_inline
|
|
endif
|
|
|
|
ifneq (,$(filter ps3 sncps3 psl1ght ngc wii wiiu,$(platform)))
|
|
COREDEFINES += -DEMU_BIG_ENDIAN
|
|
else ifeq ($(platform), osx)
|
|
ifeq ($(arch), ppc)
|
|
COREDEFINES += -DEMU_BIG_ENDIAN
|
|
endif
|
|
endif
|
|
|
|
# ifneq (,$(filter qnx vita ctr rpi2 classic_armv7_a7,$(platform)))
|
|
# EMU_OPTIMIZE_FOR_ARM32 = 1
|
|
# else ifneq (,$(findstring armv7,$(platform)))
|
|
# EMU_OPTIMIZE_FOR_ARM32 = 1
|
|
# else ifneq (,$(findstring armv6,$(platform)))
|
|
# EMU_OPTIMIZE_FOR_ARM32 = 1
|
|
# else ifneq (,$(findstring armhf,$(platform)))
|
|
# EMU_OPTIMIZE_FOR_ARM32 = 1
|
|
# endif
|
|
|
|
include $(EMU_PATH)/makefile.all
|
|
|
|
COREDEFINES += $(EMU_DEFINES)
|
|
|
|
SOURCES_C := $(CORE_DIR)/libretro.c \
|
|
$(CORE_DIR)/cursors.c \
|
|
$(EMU_SOURCES_C)
|
|
|
|
ifneq ($(STATIC_LINKING), 1)
|
|
SOURCES_C += $(LIBRETRO_COMM_DIR)/compat/compat_strl.c \
|
|
$(LIBRETRO_COMM_DIR)/compat/compat_posix_string.c \
|
|
$(LIBRETRO_COMM_DIR)/compat/fopen_utf8.c \
|
|
$(LIBRETRO_COMM_DIR)/encodings/encoding_utf.c \
|
|
$(LIBRETRO_COMM_DIR)/memmap/memmap.c \
|
|
$(LIBRETRO_COMM_DIR)/streams/file_stream.c \
|
|
$(LIBRETRO_COMM_DIR)/string/stdstring.c \
|
|
$(LIBRETRO_COMM_DIR)/vfs/vfs_implementation.c
|
|
endif
|
|
|
|
SOURCES_ASM := $(EMU_SOURCES_ASM)
|