move source files only used by posix frontends

This commit is contained in:
zeromus 2016-08-17 01:55:24 -05:00
parent 57f26cb716
commit 56083bcd1f
14 changed files with 15 additions and 14 deletions

View File

@ -28,6 +28,7 @@ libdesmume_a_SOURCES = \
../../commandline.h ../../commandline.cpp \
../../common.cpp ../../common.h \
../../debug.cpp ../../debug.h \
../../driver.cpp ../../driver.h \
../../Database.cpp ../../Database.h ../../Disassembler.cpp ../../Disassembler.h \
../../emufile.h ../../emufile.cpp ../../encrypt.h ../../encrypt.cpp ../../FIFO.cpp ../../FIFO.h \
../../firmware.cpp ../../firmware.h ../../GPU.cpp ../../GPU.h \
@ -109,7 +110,6 @@ libdesmume_a_SOURCES = \
../../filter/videofilter.cpp ../../filter/videofilter.h \
../../filter/xbrz.cpp ../../filter/xbrz.h \
../../version.cpp ../../version.h \
../../desmume_config.cpp ../../desmume_config.h \
../../libretro-common/compat/compat_getopt.c \
../../libretro-common/file/file_path.c \
../../libretro-common/compat/compat_strl.c \
@ -193,15 +193,17 @@ libdesmume_a_SOURCES += \
../../utils/AsmJit/x86/x86util.h
endif
libdesmume_a_SOURCES += shared/desmume_config.cpp shared/desmume_config.h
if HAVE_GL
libdesmume_a_SOURCES += ../../OGLRender.cpp ../../OGLRender_3_2.cpp
endif
if HAVE_OPENAL
libdesmume_a_SOURCES += ../../mic_openal.cpp
libdesmume_a_SOURCES += shared/mic_openal.cpp
else
if HAVE_ALSA
libdesmume_a_SOURCES += ../../mic_alsa.cpp
libdesmume_a_SOURCES += shared/mic_alsa.cpp
else
libdesmume_a_SOURCES += ../../mic.cpp
endif

View File

@ -4,5 +4,5 @@ include ../desmume.mk
AM_CPPFLAGS += $(SDL_CFLAGS) $(ALSA_CFLAGS) $(LIBAGG_CFLAGS) $(GLIB_CFLAGS) $(GTHREAD_CFLAGS) $(LIBSOUNDTOUCH_CFLAGS)
bin_PROGRAMS = desmume-cli
desmume_cli_SOURCES = main.cpp ../../../sndsdl.cpp ../../../ctrlssdl.h ../../../ctrlssdl.cpp ../../../driver.h ../../../driver.cpp
desmume_cli_SOURCES = main.cpp ../shared/sndsdl.cpp ../shared/ctrlssdl.h ../shared/ctrlssdl.cpp
desmume_cli_LDADD = ../libdesmume.a $(SDL_LIBS) $(ALSA_LIBS) $(LIBAGG_LIBS) $(GLIB_LIBS) $(GTHREAD_LIBS) $(LIBSOUNDTOUCH_LIBS)

View File

@ -48,13 +48,13 @@
#include "../driver.h"
#include "../GPU.h"
#include "../SPU.h"
#include "../sndsdl.h"
#include "../ctrlssdl.h"
#include "../shared/sndsdl.h"
#include "../shared/ctrlssdl.h"
#include "../render3D.h"
#include "../rasterize.h"
#include "../saves.h"
#include "../GPU_osd.h"
#include "../desmume_config.h"
#include "../shared/desmume_config.h"
#include "../commandline.h"
#include "../slot2.h"
#include "../utils/xstring.h"

View File

@ -18,9 +18,8 @@ desmume_SOURCES = \
desmume.h desmume.cpp \
dTool.h dToolsList.cpp \
tools/ioregsView.cpp tools/ioregsView.h \
../../../sndsdl.cpp \
../../../ctrlssdl.h ../../../ctrlssdl.cpp \
../../../driver.h ../../../driver.cpp \
../shared/sndsdl.cpp \
../shared/ctrlssdl.h ../shared/ctrlssdl.cpp \
osmesa_3Demu.cpp osmesa_3Demu.h \
glx_3Demu.cpp glx_3Demu.h \
cheatsGTK.h cheatsGTK.cpp \

View File

@ -24,7 +24,7 @@
#include "../NDSSystem.h"
#include "../SPU.h"
#include "../sndsdl.h"
#include "../shared/sndsdl.h"
#include "../movie.h"
volatile bool execute = false;

View File

@ -38,8 +38,8 @@
#include "driver.h"
#include "GPU.h"
#include "SPU.h"
#include "sndsdl.h"
#include "ctrlssdl.h"
#include "../shared/sndsdl.h"
#include "../shared/ctrlssdl.h"
#include "MMU.h"
#include "render3D.h"
#include "desmume.h"
@ -49,7 +49,7 @@
#include "mic.h"
#include "movie.h"
#include "dTool.h"
#include "desmume_config.h"
#include "../shared/desmume_config.h"
#include "cheatsGTK.h"
#include "GPU_osd.h"