commit
53787c19ca
240
Makefile.common
240
Makefile.common
|
@ -60,7 +60,6 @@ ifeq ($(SCALER_NO_SIMD), 1)
|
|||
DEFINES += -DSCALER_NO_SIMD
|
||||
endif
|
||||
|
||||
|
||||
ifeq ($(HAVE_PRESERVE_DYLIB),1)
|
||||
DEFINES += -DNO_DLCLOSE
|
||||
endif
|
||||
|
@ -282,11 +281,9 @@ OBJ += runahead/copy_load_info.o \
|
|||
runahead/secondary_core.o
|
||||
endif
|
||||
|
||||
|
||||
|
||||
ifeq ($(HAVE_CC_RESAMPLER), 1)
|
||||
DEFINES += -DHAVE_CC_RESAMPLER
|
||||
OBJ += audio/drivers_resampler/cc_resampler.o
|
||||
DEFINES += -DHAVE_CC_RESAMPLER
|
||||
OBJ += audio/drivers_resampler/cc_resampler.o
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_LANGEXTRA), 1)
|
||||
|
@ -314,33 +311,33 @@ OBJ += intl/msg_hash_de.o \
|
|||
endif
|
||||
|
||||
ifneq ($(HAVE_GETOPT_LONG), 1)
|
||||
OBJ += $(LIBRETRO_COMM_DIR)/compat/compat_getopt.o
|
||||
OBJ += $(LIBRETRO_COMM_DIR)/compat/compat_getopt.o
|
||||
endif
|
||||
|
||||
ifneq ($(HAVE_STRCASESTR), 1)
|
||||
OBJ += $(LIBRETRO_COMM_DIR)/compat/compat_strcasestr.o
|
||||
OBJ += $(LIBRETRO_COMM_DIR)/compat/compat_strcasestr.o
|
||||
endif
|
||||
|
||||
ifneq ($(HAVE_STRL), 1)
|
||||
OBJ += $(LIBRETRO_COMM_DIR)/compat/compat_strl.o
|
||||
OBJ += $(LIBRETRO_COMM_DIR)/compat/compat_strl.o
|
||||
endif
|
||||
|
||||
OBJ += $(LIBRETRO_COMM_DIR)/formats/image_texture.o
|
||||
|
||||
ifeq ($(HAVE_IMAGEVIEWER), 1)
|
||||
DEFINES += -DHAVE_IMAGEVIEWER
|
||||
OBJ += cores/libretro-imageviewer/image_core.o
|
||||
DEFINES += -DHAVE_IMAGEVIEWER
|
||||
OBJ += cores/libretro-imageviewer/image_core.o
|
||||
endif
|
||||
|
||||
# Qt WIMP GUI
|
||||
|
||||
ifeq ($(HAVE_OPENSSL), 1)
|
||||
DEFINES += $(OPENSSL_CFLAGS)
|
||||
LIBS += $(OPENSSL_LIBS)
|
||||
DEFINES += $(OPENSSL_CFLAGS)
|
||||
LIBS += $(OPENSSL_LIBS)
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_QT), 1)
|
||||
OBJ += ui/drivers/ui_qt.o \
|
||||
OBJ += ui/drivers/ui_qt.o \
|
||||
ui/drivers/qt/ui_qt_application.o \
|
||||
ui/drivers/qt/ui_qt_window.o \
|
||||
ui/drivers/qt/ui_qt_browser_window.o \
|
||||
|
@ -359,7 +356,7 @@ OBJ += ui/drivers/ui_qt.o \
|
|||
ui/drivers/qt/thumbnailpackdownload.o \
|
||||
ui/drivers/qt/playlistthumbnaildownload.o
|
||||
|
||||
MOC_HEADERS += ui/drivers/ui_qt.h \
|
||||
MOC_HEADERS += ui/drivers/ui_qt.h \
|
||||
ui/drivers/qt/ui_qt_load_core_window.h \
|
||||
ui/drivers/qt/flowlayout.h \
|
||||
ui/drivers/qt/shaderparamsdialog.h \
|
||||
|
@ -369,25 +366,25 @@ MOC_HEADERS += ui/drivers/ui_qt.h \
|
|||
ui/drivers/qt/playlistentrydialog.h \
|
||||
ui/drivers/qt/viewoptionsdialog.h
|
||||
|
||||
DEFINES += $(QT5CORE_CFLAGS) $(QT5GUI_CFLAGS) $(QT5WIDGETS_CFLAGS) $(QT5CONCURRENT_CFLAGS) $(QT5NETWORK_CFLAGS) -DHAVE_MAIN
|
||||
#DEFINES += $(QT5WEBENGINE_CFLAGS)
|
||||
LIBS += $(QT5CORE_LIBS) $(QT5GUI_LIBS) $(QT5WIDGETS_LIBS) $(QT5CONCURRENT_LIBS) $(QT5NETWORK_LIBS)
|
||||
#LIBS += $(QT5WEBENGINE_LIBS)
|
||||
NEED_CXX_LINKER = 1
|
||||
DEFINES += $(QT5CORE_CFLAGS) $(QT5GUI_CFLAGS) $(QT5WIDGETS_CFLAGS) $(QT5CONCURRENT_CFLAGS) $(QT5NETWORK_CFLAGS) -DHAVE_MAIN
|
||||
#DEFINES += $(QT5WEBENGINE_CFLAGS)
|
||||
LIBS += $(QT5CORE_LIBS) $(QT5GUI_LIBS) $(QT5WIDGETS_LIBS) $(QT5CONCURRENT_LIBS) $(QT5NETWORK_LIBS)
|
||||
#LIBS += $(QT5WEBENGINE_LIBS)
|
||||
NEED_CXX_LINKER = 1
|
||||
|
||||
ifneq ($(findstring Linux,$(OS)),)
|
||||
DEFINES += -fPIC
|
||||
endif
|
||||
ifneq ($(findstring Linux,$(OS)),)
|
||||
DEFINES += -fPIC
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_SSA),1)
|
||||
LIBS += $(SSA_LIBS)
|
||||
LIBS += $(SSA_LIBS)
|
||||
endif
|
||||
|
||||
# LibretroDB
|
||||
|
||||
ifeq ($(HAVE_LIBRETRODB), 1)
|
||||
OBJ += libretro-db/bintree.o \
|
||||
OBJ += libretro-db/bintree.o \
|
||||
libretro-db/libretrodb.o \
|
||||
libretro-db/query.o \
|
||||
libretro-db/rmsgpack.o \
|
||||
|
@ -398,20 +395,20 @@ OBJ += libretro-db/bintree.o \
|
|||
endif
|
||||
|
||||
ifneq ($(C89_BUILD), 1)
|
||||
HAVE_GTKPLUS = 0
|
||||
HAVE_GTKPLUS = 0
|
||||
|
||||
ifeq ($(HAVE_SSL), 1)
|
||||
ifeq ($(HAVE_NETWORKING), 1)
|
||||
DEFINES += -DHAVE_SSL
|
||||
ifeq ($(HAVE_SSL), 1)
|
||||
ifeq ($(HAVE_NETWORKING), 1)
|
||||
DEFINES += -DHAVE_SSL
|
||||
|
||||
ifeq ($(DEBUG), 1)
|
||||
ifeq ($(DEBUG), 1)
|
||||
DEFINES += -DMBEDTLS_SSL_DEBUG_ALL
|
||||
endif
|
||||
endif
|
||||
|
||||
# MinGW requires this for some reason, even though the include paths are relative to the source
|
||||
INCLUDE_DIRS += -Ideps/mbedtls
|
||||
# MinGW requires this for some reason, even though the include paths are relative to the source
|
||||
INCLUDE_DIRS += -Ideps/mbedtls
|
||||
|
||||
OBJS_TLS_CRYPTO = deps/mbedtls/aes.o \
|
||||
OBJS_TLS_CRYPTO = deps/mbedtls/aes.o \
|
||||
deps/mbedtls/aesni.o \
|
||||
deps/mbedtls/arc4.o \
|
||||
deps/mbedtls/asn1parse.o \
|
||||
|
@ -465,7 +462,7 @@ OBJS_TLS_CRYPTO = deps/mbedtls/aes.o \
|
|||
deps/mbedtls/version_features.o \
|
||||
deps/mbedtls/xtea.o
|
||||
|
||||
OBJS_TLS_X509 = deps/mbedtls/certs.o \
|
||||
OBJS_TLS_X509 = deps/mbedtls/certs.o \
|
||||
deps/mbedtls/pkcs11.o \
|
||||
deps/mbedtls/x509.o \
|
||||
deps/mbedtls/x509_create.o \
|
||||
|
@ -475,7 +472,7 @@ OBJS_TLS_X509 = deps/mbedtls/certs.o \
|
|||
deps/mbedtls/x509write_crt.o \
|
||||
deps/mbedtls/x509write_csr.o
|
||||
|
||||
OBJS_TLS = deps/mbedtls/debug.o \
|
||||
OBJS_TLS = deps/mbedtls/debug.o \
|
||||
deps/mbedtls/net_sockets.o \
|
||||
deps/mbedtls/ssl_cache.o \
|
||||
deps/mbedtls/ssl_ciphersuites.o \
|
||||
|
@ -485,9 +482,9 @@ OBJS_TLS = deps/mbedtls/debug.o \
|
|||
deps/mbedtls/ssl_ticket.o \
|
||||
deps/mbedtls/ssl_tls.o
|
||||
|
||||
OBJ += $(OBJS_TLS_CRYPTO) $(OBJS_TLS_X509) $(OBJS_TLS)
|
||||
endif
|
||||
endif
|
||||
OBJ += $(OBJS_TLS_CRYPTO) $(OBJS_TLS_X509) $(OBJS_TLS)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
# Miscellaneous
|
||||
|
@ -511,7 +508,7 @@ OBJ += frontend/drivers/platform_emscripten.o \
|
|||
endif
|
||||
|
||||
ifeq ($(HAVE_LAKKA), 1)
|
||||
OBJ += wifi/drivers/connmanctl.o
|
||||
OBJ += wifi/drivers/connmanctl.o
|
||||
endif
|
||||
|
||||
# Audio
|
||||
|
@ -548,9 +545,10 @@ ifeq ($(HAVE_ALSA), 1)
|
|||
OBJ += audio/drivers/alsa.o
|
||||
OBJ += midi/drivers/alsa_midi.o
|
||||
|
||||
ifeq ($(HAVE_THREADS), 1)
|
||||
ifeq ($(HAVE_THREADS), 1)
|
||||
OBJ += audio/drivers/alsathread.o
|
||||
endif
|
||||
endif
|
||||
|
||||
LIBS += $(ALSA_LIBS)
|
||||
DEFINES += $(ALSA_CFLAGS)
|
||||
endif
|
||||
|
@ -648,12 +646,12 @@ endif
|
|||
HW_CONTEXT_MENU_DRIVERS=$(HAVE_RGUI)
|
||||
|
||||
ifeq ($(HW_CONTEXT_MENU_DRIVERS),0)
|
||||
ifeq ($(HAVE_GL_CONTEXT),1)
|
||||
ifeq ($(HAVE_GL_CONTEXT),1)
|
||||
HW_CONTEXT_MENU_DRIVERS=1
|
||||
endif
|
||||
ifeq ($(HAVE_VULKAN),1)
|
||||
endif
|
||||
ifeq ($(HAVE_VULKAN),1)
|
||||
HW_CONTEXT_MENU_DRIVERS=1
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
# XMB and MaterialUI are always enabled if supported and not explicitly disabled
|
||||
|
@ -694,23 +692,22 @@ ifeq ($(HAVE_RGUI), 1)
|
|||
OBJ += menu/drivers/rgui.o
|
||||
DEFINES += -DHAVE_MENU -DHAVE_RGUI
|
||||
HAVE_MENU_COMMON = 1
|
||||
ifeq ($(HAVE_MATERIALUI), 1)
|
||||
ifeq ($(HAVE_MATERIALUI), 1)
|
||||
OBJ += menu/drivers/materialui.o
|
||||
DEFINES += -DHAVE_MATERIALUI
|
||||
HAVE_MENU_COMMON = 1
|
||||
endif
|
||||
ifeq ($(HAVE_NUKLEAR), 1)
|
||||
endif
|
||||
ifeq ($(HAVE_NUKLEAR), 1)
|
||||
OBJ += menu/drivers/nuklear/nk_common.o
|
||||
OBJ += menu/drivers/nuklear/nk_menu.o
|
||||
OBJ += menu/drivers/nuklear/nk_wnd_debug.o
|
||||
OBJ += menu/drivers/nuklear.o
|
||||
DEFINES += -DHAVE_NUKLEAR
|
||||
endif
|
||||
ifeq ($(HAVE_ZARCH), 1)
|
||||
endif
|
||||
ifeq ($(HAVE_ZARCH), 1)
|
||||
OBJ += menu/drivers/zarch.o
|
||||
DEFINES += -DHAVE_ZARCH
|
||||
endif
|
||||
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_XMB), 1)
|
||||
|
@ -779,8 +776,7 @@ endif
|
|||
|
||||
ifeq ($(HAVE_OVERLAY), 1)
|
||||
DEFINES += -DHAVE_OVERLAY
|
||||
OBJ += \
|
||||
tasks/task_overlay.o \
|
||||
OBJ += tasks/task_overlay.o \
|
||||
input/input_overlay.o \
|
||||
led/drivers/led_overlay.o
|
||||
endif
|
||||
|
@ -825,9 +821,9 @@ ifeq ($(HAVE_VITA2D), 1)
|
|||
$(DEPS_DIR)/libvita2d/shader/texture_f_gxp.o \
|
||||
$(DEPS_DIR)/libvita2d/shader/texture_tint_f_gxp.o
|
||||
|
||||
ifeq ($(HAVE_MENU),1)
|
||||
ifeq ($(HAVE_MENU),1)
|
||||
OBJ += menu/drivers_display/menu_display_vita2d.o
|
||||
endif
|
||||
endif
|
||||
|
||||
OBJ += gfx/drivers/vita2d_gfx.o \
|
||||
gfx/drivers_font/vita2d_font.o
|
||||
|
@ -902,12 +898,12 @@ ifeq ($(HAVE_X11), 1)
|
|||
|
||||
LIBS += $(X11_LIBS) $(XEXT_LIBS) $(XF86VM_LIBS) $(XINERAMA_LIBS)
|
||||
DEFINES += -DHAVE_X11 $(X11_CFLAGS) $(XEXT_CFLAGS) $(XF86VM_CFLAGS) $(XINERAMA_CFLAGS)
|
||||
ifeq ($(HAVE_XCB),1)
|
||||
ifeq ($(HAVE_XCB),1)
|
||||
LIBS += -lX11-xcb
|
||||
endif
|
||||
ifneq ($(HAVE_OPENGLES), 1)
|
||||
endif
|
||||
ifneq ($(HAVE_OPENGLES), 1)
|
||||
OBJ += gfx/drivers_context/x_ctx.o
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_XCB),1)
|
||||
|
@ -935,8 +931,8 @@ ifeq ($(HAVE_UDEV), 1)
|
|||
endif
|
||||
|
||||
ifeq ($(HAVE_LIBUSB), 1)
|
||||
ifeq ($(HAVE_THREADS), 1)
|
||||
ifeq ($(HAVE_HID), 1)
|
||||
ifeq ($(HAVE_THREADS), 1)
|
||||
ifeq ($(HAVE_HID), 1)
|
||||
DEFINES += -DHAVE_LIBUSB
|
||||
OBJ += input/drivers_hid/libusb_hid.o
|
||||
ifneq ($(findstring BSD,$(OS)),)
|
||||
|
@ -944,16 +940,16 @@ ifeq ($(HAVE_HID), 1)
|
|||
else
|
||||
LIBS += -lusb-1.0
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_IOHIDMANAGER), 1)
|
||||
ifeq ($(HAVE_HID), 1)
|
||||
ifeq ($(HAVE_HID), 1)
|
||||
DEFINES += -DHAVE_IOHIDMANAGER
|
||||
OBJ += input/drivers_hid/iohidmanager_hid.o
|
||||
LIBS += -framework IOKit
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_CORELOCATION), 1)
|
||||
|
@ -987,7 +983,7 @@ endif
|
|||
# Companion UI
|
||||
|
||||
ifneq ($(findstring Win32,$(OS)),)
|
||||
OBJ += ui/drivers/ui_win32.o \
|
||||
OBJ += ui/drivers/ui_win32.o \
|
||||
ui/drivers/win32/ui_win32_window.o \
|
||||
ui/drivers/win32/ui_win32_browser_window.o \
|
||||
ui/drivers/win32/ui_win32_msg_window.o \
|
||||
|
@ -1076,20 +1072,22 @@ ifeq ($(HAVE_GL_CONTEXT), 1)
|
|||
LIBS += $(EGL_LIBS)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_OSMESA), 1)
|
||||
OBJ += gfx/drivers_context/osmesa_ctx.o
|
||||
LIBS += -lOSMesa
|
||||
endif
|
||||
ifeq ($(HAVE_FFMPEG), 1)
|
||||
ifneq ($(C89_BUILD), 1)
|
||||
ifneq ($(HAVE_OPENGLES), 1)
|
||||
|
||||
ifeq ($(HAVE_FFMPEG), 1)
|
||||
ifneq ($(C89_BUILD), 1)
|
||||
ifneq ($(HAVE_OPENGLES), 1)
|
||||
OBJ += cores/libretro-ffmpeg/ffmpeg_fft.o
|
||||
DEFINES += -I$(DEPS_DIR) -DHAVE_GL_FFT
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_METAL), 1)
|
||||
ifeq ($(HAVE_METAL), 1)
|
||||
DEFINES += -DHAVE_METAL
|
||||
OBJ += gfx/common/metal/Context.o \
|
||||
gfx/common/metal/Filter.o \
|
||||
|
@ -1101,13 +1099,13 @@ ifeq ($(HAVE_METAL), 1)
|
|||
gfx/drivers/metal.o \
|
||||
menu/drivers_display/menu_display_metal.o \
|
||||
gfx/drivers_font/metal_raster_font.o
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_MPV), 1)
|
||||
ifeq ($(HAVE_MPV), 1)
|
||||
OBJ += cores/libretro-mpv/mpv-libretro.o
|
||||
DEFINES += -I$(DEPS_DIR) -DHAVE_MPV
|
||||
LIBS += -lmpv
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_OPENGLES), 1)
|
||||
LIBS += $(OPENGLES_LIBS)
|
||||
|
@ -1258,15 +1256,15 @@ ifeq ($(HAVE_D3D9), 1)
|
|||
HAVE_D3D_COMMON = 1
|
||||
HAVE_D3DX = 1
|
||||
DEFINES += -DHAVE_D3D9
|
||||
ifeq ($(HAVE_D3DX), 1)
|
||||
ifeq ($(HAVE_D3DX), 1)
|
||||
DEFINES += -DHAVE_D3DX
|
||||
endif
|
||||
ifneq ($(HAVE_DYLIB), 1)
|
||||
endif
|
||||
ifneq ($(HAVE_DYLIB), 1)
|
||||
LIBS += -ld3d9
|
||||
ifeq ($(HAVE_D3DX), 1)
|
||||
ifeq ($(HAVE_D3DX), 1)
|
||||
LIBS += -ld3dx9
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
HAVE_DX_COMMON = 1
|
||||
OBJ += gfx/drivers_font/d3d_w32_font.o
|
||||
ifeq ($(HAVE_CG), 1)
|
||||
|
@ -1320,12 +1318,12 @@ ifeq ($(HAVE_D3D8), 1)
|
|||
HAVE_D3D_COMMON = 1
|
||||
HAVE_DX_COMMON = 1
|
||||
DEFINES += -DHAVE_D3D8
|
||||
ifneq ($(HAVE_DYLIB), 1)
|
||||
ifneq ($(HAVE_DYLIB), 1)
|
||||
LIBS += -ld3d8
|
||||
ifeq ($(HAVE_D3DX), 1)
|
||||
ifeq ($(HAVE_D3DX), 1)
|
||||
LIBS += -ld3dx8
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_DX_COMMON), 1)
|
||||
|
@ -1337,9 +1335,9 @@ ifeq ($(HAVE_D3D8), 1)
|
|||
OBJ += gfx/drivers/d3d8.o
|
||||
OBJ += gfx/common/d3d8_common.o
|
||||
|
||||
ifeq ($(HAVE_MENU_COMMON), 1)
|
||||
ifeq ($(HAVE_MENU_COMMON), 1)
|
||||
OBJ += menu/drivers_display/menu_display_d3d8.o
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_D3D9), 1)
|
||||
|
@ -1347,9 +1345,9 @@ ifeq ($(HAVE_D3D9), 1)
|
|||
OBJ += gfx/drivers/d3d9.o
|
||||
OBJ += gfx/common/d3d9_common.o
|
||||
|
||||
ifeq ($(HAVE_MENU_COMMON), 1)
|
||||
ifeq ($(HAVE_MENU_COMMON), 1)
|
||||
OBJ += menu/drivers_display/menu_display_d3d9.o
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_D3D_COMMON), 1)
|
||||
|
@ -1392,11 +1390,10 @@ ifeq ($(HAVE_GLSLANG), 1)
|
|||
$(wildcard $(DEPS_DIR)/glslang/glslang/glslang/MachineIndependent/preprocessor/*.cpp) \
|
||||
$(wildcard $(DEPS_DIR)/glslang/glslang/glslang/OSDependent/$(GLSLANG_PLATFORM)/*.cpp)
|
||||
|
||||
ifneq ($(findstring Win32,$(OS)),)
|
||||
DEFINES += -DENABLE_HLSL
|
||||
GLSLANG_SOURCES += $(wildcard $(DEPS_DIR)/glslang/glslang/hlsl/*.cpp)
|
||||
endif
|
||||
|
||||
ifneq ($(findstring Win32,$(OS)),)
|
||||
DEFINES += -DENABLE_HLSL
|
||||
GLSLANG_SOURCES += $(wildcard $(DEPS_DIR)/glslang/glslang/hlsl/*.cpp)
|
||||
endif
|
||||
|
||||
OBJ += $(GLSLANG_SOURCES:.cpp=.o)
|
||||
endif
|
||||
|
@ -1574,14 +1571,13 @@ endif
|
|||
|
||||
ifeq ($(HAVE_V4L2),1)
|
||||
OBJ += camera/drivers/video4linux2.o
|
||||
ifeq ($(HAVE_VIDEO_PROCESSOR),1)
|
||||
ifeq ($(HAVE_VIDEO_PROCESSOR),1)
|
||||
OBJ += cores/libretro-video-processor/video_processor_v4l2.o
|
||||
endif
|
||||
endif
|
||||
DEFINES += -DHAVE_V4L2
|
||||
LIBS += $(V4L2_LIBS)
|
||||
endif
|
||||
|
||||
|
||||
# Things that depend on network availability
|
||||
|
||||
ifeq ($(HAVE_NETWORKING), 1)
|
||||
|
@ -1637,7 +1633,6 @@ ifeq ($(HAVE_NETWORKING), 1)
|
|||
cheevos/var.o \
|
||||
cheevos/cond.o
|
||||
|
||||
|
||||
ifeq ($(HAVE_LUA), 1)
|
||||
DEFINES += -DHAVE_LUA \
|
||||
-DLUA_32BITS \
|
||||
|
@ -1678,7 +1673,6 @@ ifeq ($(HAVE_NETWORKING), 1)
|
|||
else
|
||||
DEFINES += -DRC_DISABLE_LUA
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_DISCORD), 1)
|
||||
|
@ -1689,20 +1683,20 @@ ifeq ($(HAVE_NETWORKING), 1)
|
|||
deps/discord-rpc/src/rpc_connection.o \
|
||||
deps/discord-rpc/src/serialization.o \
|
||||
discord/discord.o
|
||||
ifneq ($(findstring Win32,$(OS)),)
|
||||
|
||||
ifneq ($(findstring Win32,$(OS)),)
|
||||
OBJ += deps/discord-rpc/src/discord_register_win.o \
|
||||
deps/discord-rpc/src/connection_win.o
|
||||
LIBS += -lpsapi -ladvapi32
|
||||
endif
|
||||
ifneq ($(findstring Linux,$(OS)),)
|
||||
endif
|
||||
ifneq ($(findstring Linux,$(OS)),)
|
||||
OBJ += deps/discord-rpc/src/discord_register_linux.o \
|
||||
deps/discord-rpc/src/connection_unix.o
|
||||
endif
|
||||
ifneq ($(findstring Darwin,$(OS)),)
|
||||
endif
|
||||
ifneq ($(findstring Darwin,$(OS)),)
|
||||
OBJ += deps/discord-rpc/src/discord_register_osx.o \
|
||||
deps/discord-rpc/src/connection_unix.o
|
||||
endif
|
||||
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_NETWORKGAMEPAD), 1)
|
||||
|
@ -1747,12 +1741,12 @@ ifneq ($(findstring Win32,$(OS)),)
|
|||
endif
|
||||
|
||||
ifeq ($(HAVE_AVFOUNDATION), 1)
|
||||
ifeq ($(HAVE_COCOA), 1)
|
||||
ifeq ($(HAVE_COCOA), 1)
|
||||
DEFINES += -DHAVE_AVFOUNDATION
|
||||
LIBS += -framework AVFoundation
|
||||
LIBS += -framework CoreVideo
|
||||
LIBS += -framework CoreMedia
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
# Record
|
||||
|
@ -1767,7 +1761,6 @@ ifeq ($(HAVE_FFMPEG), 1)
|
|||
DEFINES += -Wno-deprecated-declarations -DHAVE_FFMPEG -Iffmpeg
|
||||
endif
|
||||
|
||||
|
||||
ifeq ($(HAVE_COMPRESSION), 1)
|
||||
DEFINES += -DHAVE_COMPRESSION
|
||||
OBJ += tasks/task_decompress.o
|
||||
|
@ -1787,9 +1780,12 @@ ifeq ($(HAVE_COCOA),1)
|
|||
endif
|
||||
|
||||
ifneq ($(findstring DOS,$(OS)),)
|
||||
OBJ += gfx/drivers/vga_gfx.o gfx/drivers_font/vga_font.o \
|
||||
input/drivers/dos_input.o input/drivers_joypad/dos_joypad.o \
|
||||
frontend/drivers/platform_dos.o input/drivers_keyboard/keyboard_event_dos.o
|
||||
OBJ += gfx/drivers/vga_gfx.o \
|
||||
gfx/drivers_font/vga_font.o \
|
||||
input/drivers/dos_input.o \
|
||||
input/drivers_joypad/dos_joypad.o \
|
||||
frontend/drivers/platform_dos.o \
|
||||
input/drivers_keyboard/keyboard_event_dos.o
|
||||
|
||||
ifeq ($(HAVE_MENU_COMMON), 1)
|
||||
OBJ += menu/drivers_display/menu_display_vga.o
|
||||
|
@ -1797,7 +1793,7 @@ ifneq ($(findstring DOS,$(OS)),)
|
|||
endif
|
||||
|
||||
ifeq ($(HAVE_STATIC_VIDEO_FILTERS), 1)
|
||||
OBJ += gfx/video_filters/2xsai.o \
|
||||
OBJ += gfx/video_filters/2xsai.o \
|
||||
gfx/video_filters/super2xsai.o \
|
||||
gfx/video_filters/supereagle.o \
|
||||
gfx/video_filters/2xbr.o \
|
||||
|
@ -1811,17 +1807,17 @@ OBJ += gfx/video_filters/2xsai.o \
|
|||
endif
|
||||
|
||||
ifeq ($(WANT_IOSUHAX), 1)
|
||||
DEFINES += -I$(DEPS_DIR)/libiosuhax
|
||||
CFLAGS += -I$(DEPS_DIR)/libiosuhax
|
||||
OBJ += $(DEPS_DIR)/libiosuhax/iosuhax.o \
|
||||
DEFINES += -I$(DEPS_DIR)/libiosuhax
|
||||
CFLAGS += -I$(DEPS_DIR)/libiosuhax
|
||||
OBJ += $(DEPS_DIR)/libiosuhax/iosuhax.o \
|
||||
$(DEPS_DIR)/libiosuhax/iosuhax_devoptab.o \
|
||||
$(DEPS_DIR)/libiosuhax/iosuhax_disc_interface.o
|
||||
endif
|
||||
|
||||
ifeq ($(WANT_LIBFAT), 1)
|
||||
DEFINES += -I$(DEPS_DIR)/libfat/include
|
||||
CFLAGS += -I$(DEPS_DIR)/libfat/include
|
||||
OBJ += $(DEPS_DIR)/libfat/cache.o \
|
||||
DEFINES += -I$(DEPS_DIR)/libfat/include
|
||||
CFLAGS += -I$(DEPS_DIR)/libfat/include
|
||||
OBJ += $(DEPS_DIR)/libfat/cache.o \
|
||||
$(DEPS_DIR)/libfat/directory.o \
|
||||
$(DEPS_DIR)/libfat/disc.o \
|
||||
$(DEPS_DIR)/libfat/fatdir.o \
|
||||
|
@ -1834,7 +1830,7 @@ OBJ += $(DEPS_DIR)/libfat/cache.o \
|
|||
endif
|
||||
|
||||
ifeq ($(HAVE_STATIC_AUDIO_FILTERS), 1)
|
||||
OBJ += libretro-common/audio/dsp_filters/echo.o \
|
||||
OBJ += libretro-common/audio/dsp_filters/echo.o \
|
||||
libretro-common/audio/dsp_filters/eq.o \
|
||||
libretro-common/audio/dsp_filters/chorus.o \
|
||||
libretro-common/audio/dsp_filters/iir.o \
|
||||
|
|
Loading…
Reference in New Issue