Linux build fix.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6950 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2011-01-28 20:07:32 +00:00
parent 0df636ca39
commit f283041970
8 changed files with 7 additions and 13 deletions

View File

@ -18,7 +18,6 @@ set(SRCS Src/ABI.cpp
Src/NandPaths.cpp Src/NandPaths.cpp
Src/OpenCL.cpp Src/OpenCL.cpp
Src/Plugin.cpp Src/Plugin.cpp
Src/PluginDSP.cpp
Src/PluginVideo.cpp Src/PluginVideo.cpp
Src/SDCardUtil.cpp Src/SDCardUtil.cpp
Src/StringUtil.cpp Src/StringUtil.cpp

View File

@ -33,11 +33,6 @@ set(SRCS Src/ActionReplay.cpp
Src/HW/AudioInterface.cpp Src/HW/AudioInterface.cpp
Src/HW/CPU.cpp Src/HW/CPU.cpp
Src/HW/DSP.cpp Src/HW/DSP.cpp
Src/DSPHandler.cpp
Src/MailHandler.cpp
Src/HLEMixer.cpp
Src/main.cpp
Src/Config.cpp
Src/HW/DSPHLE/UCodes/UCode_AX.cpp Src/HW/DSPHLE/UCodes/UCode_AX.cpp
Src/HW/DSPHLE/UCodes/UCode_AXWii.cpp Src/HW/DSPHLE/UCodes/UCode_AXWii.cpp
Src/HW/DSPHLE/UCodes/UCode_CARD.cpp Src/HW/DSPHLE/UCodes/UCode_CARD.cpp
@ -48,8 +43,7 @@ set(SRCS Src/ActionReplay.cpp
Src/HW/DSPHLE/UCodes/UCode_Zelda.cpp Src/HW/DSPHLE/UCodes/UCode_Zelda.cpp
Src/HW/DSPHLE/UCodes/UCode_Zelda_ADPCM.cpp Src/HW/DSPHLE/UCodes/UCode_Zelda_ADPCM.cpp
Src/HW/DSPHLE/UCodes/UCode_Zelda_Voice.cpp Src/HW/DSPHLE/UCodes/UCode_Zelda_Voice.cpp
Src/HW/DSPHLE/UCodes/UCode_Zelda_Synth.cpp) Src/HW/DSPHLE/UCodes/UCode_Zelda_Synth.cpp
Src/HW/DSPHLE/DSPHandler.cpp
Src/HW/DSPHLE/HLEMixer.cpp Src/HW/DSPHLE/HLEMixer.cpp
Src/HW/DSPHLE/MailHandler.cpp Src/HW/DSPHLE/MailHandler.cpp
Src/HW/DSPHLE/DSPHLE.cpp Src/HW/DSPHLE/DSPHLE.cpp
@ -160,7 +154,7 @@ set(SRCS Src/ActionReplay.cpp
Src/PowerPC/JitCommon/JitCache.cpp Src/PowerPC/JitCommon/JitCache.cpp
Src/PowerPC/JitCommon/Jit_Util.cpp) Src/PowerPC/JitCommon/Jit_Util.cpp)
set(LIBS bdisasm inputcommon lua sfml-network) set(LIBS bdisasm inputcommon dspcore lua sfml-network)
if(WIN32) if(WIN32)
set(SRCS ${SRCS} Src/HW/BBA-TAP/TAP_Win32.cpp Src/stdafx.cpp set(SRCS ${SRCS} Src/HW/BBA-TAP/TAP_Win32.cpp Src/stdafx.cpp

View File

@ -22,7 +22,6 @@
#include "ChunkFile.h" #include "ChunkFile.h"
#include "IniFile.h" #include "IniFile.h"
#include "HLEMixer.h" #include "HLEMixer.h"
#include "Config.h"
#include "Setup.h" #include "Setup.h"
#include "StringUtil.h" #include "StringUtil.h"
#include "LogManager.h" #include "LogManager.h"

View File

@ -15,7 +15,6 @@
// Official SVN repository and contact information can be found at // Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/ // http://code.google.com/p/dolphin-emu/
#include "Config.h" // Local
#include "DSPHLEGlobals.h" #include "DSPHLEGlobals.h"
#include "DSPHLE.h" #include "DSPHLE.h"
#include "HLEMixer.h" #include "HLEMixer.h"

View File

@ -30,7 +30,6 @@
#include "DSPHWInterface.h" #include "DSPHWInterface.h"
#include "disassemble.h" #include "disassemble.h"
#include "DSPSymbols.h" #include "DSPSymbols.h"
#include "Config.h"
#include "AudioCommon.h" #include "AudioCommon.h"
#include "Mixer.h" #include "Mixer.h"

View File

@ -29,6 +29,7 @@ set(SRCS Src/assemble.cpp
Src/Jit/DSPJitMisc.cpp) Src/Jit/DSPJitMisc.cpp)
add_library(dspcore STATIC ${SRCS}) add_library(dspcore STATIC ${SRCS})
target_link_libraries(dspcore core)
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
add_definitions(-fPIC) add_definitions(-fPIC)
endif() endif()

View File

@ -27,7 +27,7 @@
#include "DSPRegisterView.h" #include "DSPRegisterView.h"
#include "CodeView.h" #include "CodeView.h"
#include "MemoryView.h" #include "MemoryView.h"
#include "HW\DSPLLE\DSPSymbols.h" #include "HW/DSPLLE/DSPSymbols.h"
// Define these here to avoid undefined symbols while still saving functionality // Define these here to avoid undefined symbols while still saving functionality
void Host_NotifyMapLoaded() {} void Host_NotifyMapLoaded() {}

View File

@ -6,6 +6,7 @@ set(LIBS core
bdisasm bdisasm
inputcommon inputcommon
common common
audiocommon
lua lua
z z
sfml-network sfml-network
@ -20,6 +21,8 @@ if(wxWidgets_FOUND)
Src/ARCodeAddEdit.cpp Src/ARCodeAddEdit.cpp
Src/CheatsWindow.cpp Src/CheatsWindow.cpp
Src/ConfigMain.cpp Src/ConfigMain.cpp
Src/DSPHLEConfigDlg.cpp
Src/DSPLLEConfigDlg.cpp
Src/Frame.cpp Src/Frame.cpp
Src/FrameAui.cpp Src/FrameAui.cpp
Src/FrameTools.cpp Src/FrameTools.cpp