(libretro) one last wip

This commit is contained in:
barbudreadmon 2024-11-11 13:28:23 +01:00
parent b135e7709b
commit 02d7a949d7
3 changed files with 21 additions and 25 deletions

View File

@ -217,20 +217,14 @@ libretro-build-tvos-arm64:
# variables:
# PLATFORM_TARGET: ctr
#libretro-build-neogeo-ctr:
# extends:
# - .libretro-ctr-static-retroarch-master
# - .core-defs
# dependencies:
# - deps:ctr:neogeo
# needs:
# - deps:ctr:neogeo
# - project: libretro/RetroArch
# job: ${STATIC_RETROARCH_JOB_NAME}
# ref: ${STATIC_RETROARCH_BRANCH}
# artifacts: true
# variables:
# CORENAME: fbneo_neogeo
libretro-build-neogeo-ctr:
extends:
- .libretro-ctr-static-retroarch-master
- .core-defs
variables:
CORENAME: fbneo_neogeo
script:
- make -C ${MAKEFILE_PATH} platform=${PLATFORM_TARGET} subset=neogeo
# Nintendo WiiU
#libretro-build-wiiu:

View File

@ -619,17 +619,12 @@ CTVMAKE_EXE = ctvmake$(EXE_EXT)
PGM_SPRITE_CREATE_EXE = pgmspritecreate$(EXE_EXT)
EXE_PREFIX = ./
.PHONY: clean generate-files generate-files-clean clean-objs
# backward compatibility (make less than 4.4 doesn't support .WAIT)
.WAIT:
ifeq ($(platform), theos_ios)
COMMON_FLAGS := -DIOS -DARM $(COMMON_DEFINES) $(INCFLAGS) -I$(THEOS_INCLUDE_PATH) -Wno-error
$(LIBRARY_NAME)_CFLAGS += $(CFLAGS) $(COMMON_FLAGS)
$(LIBRARY_NAME)_CXXFLAGS += $(CXXFLAGS) $(COMMON_FLAGS)
${LIBRARY_NAME}_FILES = $(SOURCES_CXX) $(SOURCES_C)
include $(THEOS_MAKE_PATH)/library.mk
else
all: $(TARGET)
.PHONY: all clean generate-files generate-files-clean clean-objs
all: generate-files clean-objs .WAIT $(TARGET)
generate-files-clean:
rm -rf $(FBNEO_GENERATED_DIR)/
@ -759,4 +754,3 @@ endif
rm -f $(M68KMAKE_EXE)
rm -f $(PGM_SPRITE_CREATE_EXE)
rm -f $(CTVMAKE_EXE)
endif

View File

@ -150,10 +150,12 @@ FBNEO_SRC_DIRS := $(FBNEO_BURNER_DIR) $(FBNEO_BURN_DIRS) $(FBNEO_CPU_DIRS) $(FBN
ifneq ($(STATIC_LINKING), 1)
SOURCES_C += $(LIBRETRO_COMM_DIR)/file/file_path.c \
$(LIBRETRO_COMM_DIR)/file/file_path_io.c \
$(LIBRETRO_COMM_DIR)/file/retro_dirent.c \
$(LIBRETRO_COMM_DIR)/encodings/encoding_utf.c \
$(LIBRETRO_COMM_DIR)/compat/compat_posix_string.c \
$(LIBRETRO_COMM_DIR)/compat/compat_strcasestr.c \
$(LIBRETRO_COMM_DIR)/compat/compat_strl.c \
$(LIBRETRO_COMM_DIR)/compat/compat_strldup.c \
$(LIBRETRO_COMM_DIR)/compat/fopen_utf8.c \
$(LIBRETRO_COMM_DIR)/string/stdstring.c \
$(LIBRETRO_COMM_DIR)/streams/file_stream.c \
@ -320,9 +322,15 @@ SOURCES_CXX += $(LIBRETRO_DIR)/libretro.cpp \
$(LIBRETRO_DIR)/retro_cdemu.cpp \
$(LIBRETRO_DIR)/retro_common.cpp \
$(LIBRETRO_DIR)/retro_input.cpp \
$(LIBRETRO_DIR)/retro_memory.cpp
$(LIBRETRO_DIR)/retro_memory.cpp \
$(LIBRETRO_DIR)/retro_string.cpp \
$(LIBRETRO_DIR)/ips_manager.cpp \
$(LIBRETRO_DIR)/romdata.cpp
SOURCES_C += $(UGUI_DIR)/ugui.c \
$(UGUI_DIR)/ugui_textbox.c \
$(UGUI_DIR)/font_8x8.c \
$(UGUI_DIR)/SourceHanSansCN_Medium_13X17.c \
$(LIBRETRO_DIR)/ugui_tools.c
# Drivers, cpus and devices for this subset