Skip to content

Commit

Permalink
7zip + libretro-common update
Browse files Browse the repository at this point in the history
  • Loading branch information
sonninnos committed Nov 10, 2020
1 parent aa56e07 commit d4814bf
Show file tree
Hide file tree
Showing 160 changed files with 16,389 additions and 26,993 deletions.
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,6 @@ endif

CFLAGS += -fcommon -std=gnu99 -DINLINE="inline" -D__LIBRETRO__

ifeq ($(STATIC_LINKING), 1)
CFLAGS += -D__STATIC__
endif

include Makefile.common

$(info CFLAGS:$(CFLAGS))
Expand Down
62 changes: 43 additions & 19 deletions Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ DEPS_DIR = $(CORE_DIR)/deps
RETRODEP = $(CORE_DIR)/retrodep
LIBRETRO_COMM_DIR := $(CORE_DIR)/libretro-common

INCFLAGS := -I$(EMU) -I$(EMU)/include -I$(LIBRETRO) -I$(LIBRETRO_COMM_DIR)/include -I$(RETRODEP) -I$(CORE_DIR) -I$(DEPS_DIR)/zlib
INCFLAGS := \
-I$(EMU) \
-I$(EMU)/include \
-I$(CORE_DIR) \
-I$(RETRODEP) \
-I$(LIBRETRO) \
-I$(LIBRETRO_COMM_DIR)/include \

SOURCES_C += \
$(EMU)/a2065.c \
Expand Down Expand Up @@ -131,34 +137,52 @@ SOURCES_C += \
$(LIBRETRO)/libretro-glue.c \
$(LIBRETRO)/libretro-vkbd.c \
$(LIBRETRO)/libretro-graph.c \
$(DEPS_DIR)/zlib/unzip.c \
$(DEPS_DIR)/zlib/ioapi.c
$(DEPS_DIR)/libz/unzip.c \
$(DEPS_DIR)/libz/ioapi.c

ifneq ($(STATIC_LINKING), 1)
SOURCES_C += \
$(LIBRETRO_COMM_DIR)/file/file_path.c \
$(LIBRETRO_COMM_DIR)/compat/fopen_utf8.c \
$(LIBRETRO_COMM_DIR)/compat/compat_strl.c \
$(LIBRETRO_COMM_DIR)/compat/compat_strcasestr.c \
$(LIBRETRO_COMM_DIR)/compat/fopen_utf8.c \
$(LIBRETRO_COMM_DIR)/encodings/encoding_utf.c \
$(LIBRETRO_COMM_DIR)/file/file_path.c \
$(LIBRETRO_COMM_DIR)/file/file_path_io.c \
$(LIBRETRO_COMM_DIR)/streams/file_stream.c \
$(LIBRETRO_COMM_DIR)/streams/file_stream_transforms.c \
$(LIBRETRO_COMM_DIR)/string/stdstring.c \
$(LIBRETRO_COMM_DIR)/time/rtime.c \
$(LIBRETRO_COMM_DIR)/vfs/vfs_implementation.c

SOURCES_C += \
$(DEPS_DIR)/zlib/adler32.c \
$(DEPS_DIR)/zlib/compress.c \
$(DEPS_DIR)/zlib/crc32.c \
$(DEPS_DIR)/zlib/deflate.c \
$(DEPS_DIR)/zlib/gzclose.c \
$(DEPS_DIR)/zlib/gzlib.c \
$(DEPS_DIR)/zlib/gzread.c \
$(DEPS_DIR)/zlib/gzwrite.c \
$(DEPS_DIR)/zlib/inffast.c \
$(DEPS_DIR)/zlib/inflate.c \
$(DEPS_DIR)/zlib/inftrees.c \
$(DEPS_DIR)/zlib/trees.c \
$(DEPS_DIR)/zlib/uncompr.c \
$(DEPS_DIR)/zlib/zutil.c
$(DEPS_DIR)/libz/adler32.c \
$(DEPS_DIR)/libz/compress.c \
$(DEPS_DIR)/libz/crc32.c \
$(DEPS_DIR)/libz/deflate.c \
$(DEPS_DIR)/libz/gzclose.c \
$(DEPS_DIR)/libz/gzlib.c \
$(DEPS_DIR)/libz/gzread.c \
$(DEPS_DIR)/libz/gzwrite.c \
$(DEPS_DIR)/libz/inffast.c \
$(DEPS_DIR)/libz/inflate.c \
$(DEPS_DIR)/libz/inftrees.c \
$(DEPS_DIR)/libz/trees.c \
$(DEPS_DIR)/libz/uncompr.c \
$(DEPS_DIR)/libz/zutil.c

SOURCES_C += \
$(DEPS_DIR)/7zip/7zBuf.c \
$(DEPS_DIR)/7zip/7zCrc.c \
$(DEPS_DIR)/7zip/7zCrcOpt.c \
$(DEPS_DIR)/7zip/7zDec.c \
$(DEPS_DIR)/7zip/7zFile.c \
$(DEPS_DIR)/7zip/7zIn.c \
$(DEPS_DIR)/7zip/7zStream.c \
$(DEPS_DIR)/7zip/Bcj2.c \
$(DEPS_DIR)/7zip/Bra.c \
$(DEPS_DIR)/7zip/Bra86.c \
$(DEPS_DIR)/7zip/Lzma2Dec.c \
$(DEPS_DIR)/7zip/LzmaDec.c
endif

GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
Expand Down
Loading

0 comments on commit d4814bf

Please sign in to comment.