mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Conditionally compile in some files
This commit is contained in:
parent
b2bf822f13
commit
c54ebd8b87
@ -192,10 +192,21 @@ OBJ += frontend/frontend.o \
|
||||
$(LIBRETRO_COMM_DIR)/string/stdstring.o \
|
||||
$(LIBRETRO_COMM_DIR)/memmap/memalign.o \
|
||||
list_special.o \
|
||||
$(LIBRETRO_COMM_DIR)/file/nbio/nbio_stdio.o \
|
||||
$(LIBRETRO_COMM_DIR)/file/nbio/nbio_linux.o \
|
||||
$(LIBRETRO_COMM_DIR)/file/nbio/nbio_unixmmap.o \
|
||||
$(LIBRETRO_COMM_DIR)/file/nbio/nbio_windowsmmap.o \
|
||||
$(LIBRETRO_COMM_DIR)/file/nbio/nbio_stdio.o
|
||||
|
||||
ifneq ($(findstring Linux,$(OS)),)
|
||||
OBJ += $(LIBRETRO_COMM_DIR)/file/nbio/nbio_linux.o
|
||||
endif
|
||||
ifneq ($(findstring Win32,$(OS)),)
|
||||
OBJ += $(LIBRETRO_COMM_DIR)/file/nbio/nbio_windowsmmap.o
|
||||
endif
|
||||
ifneq ($(findstring BSD,$(OS)),)
|
||||
OBJ += $(LIBRETRO_COMM_DIR)/file/nbio/nbio_unixmmap.o
|
||||
else ifneq ($(findstring Darwin,$(OS)),)
|
||||
OBJ += $(LIBRETRO_COMM_DIR)/file/nbio/nbio_unixmmap.o
|
||||
endif
|
||||
|
||||
OBJ += \
|
||||
$(LIBRETRO_COMM_DIR)/file/nbio/nbio_orbis.o \
|
||||
$(LIBRETRO_COMM_DIR)/file/nbio/nbio_intf.o \
|
||||
$(LIBRETRO_COMM_DIR)/file/file_path.o \
|
||||
@ -258,6 +269,7 @@ OBJ += frontend/frontend.o \
|
||||
verbosity.o \
|
||||
midi/drivers/null_midi.o
|
||||
|
||||
|
||||
ifeq ($(HAVE_AUDIOMIXER), 1)
|
||||
DEFINES += -DHAVE_AUDIOMIXER
|
||||
OBJ += \
|
||||
|
@ -966,10 +966,18 @@ FILE
|
||||
#include "../list_special.c"
|
||||
#include "../libretro-common/string/stdstring.c"
|
||||
#include "../libretro-common/file/nbio/nbio_stdio.c"
|
||||
#if defined(__linux__)
|
||||
#include "../libretro-common/file/nbio/nbio_linux.c"
|
||||
#endif
|
||||
#if defined(HAVE_MMAP) && defined(BSD)
|
||||
#include "../libretro-common/file/nbio/nbio_unixmmap.c"
|
||||
#endif
|
||||
#if defined(_WIN32) && !defined(_XBOX)
|
||||
#include "../libretro-common/file/nbio/nbio_windowsmmap.c"
|
||||
#endif
|
||||
#if defined(ORBIS)
|
||||
#include "../libretro-common/file/nbio/nbio_orbis.c"
|
||||
#endif
|
||||
#include "../libretro-common/file/nbio/nbio_intf.c"
|
||||
|
||||
/*============================================================
|
||||
|
Loading…
x
Reference in New Issue
Block a user