Don't #include the FS factory implementations in common/system.cpp; rather, rely on the build system to include them

svn-id: r30957
This commit is contained in:
Max Horn 2008-02-24 23:14:04 +00:00
parent a3f2f4b039
commit 5c99d45d9f
13 changed files with 44 additions and 11 deletions

View file

@ -137,27 +137,27 @@ void OSystem::getTimeAndDate(struct tm &t) const {
* to the respective backends.
*/
#if defined(__amigaos4__)
#include "backends/fs/amigaos4/amigaos4-fs-factory.cpp"
#include "backends/fs/amigaos4/amigaos4-fs-factory.h"
#elif defined(__DC__)
#include "backends/fs/dc/ronincd-fs-factory.cpp"
#include "backends/fs/dc/ronincd-fs-factory.h"
#elif defined(__DS__)
#include "backends/fs/ds/ds-fs-factory.cpp"
#include "backends/fs/ds/ds-fs-factory.h"
#elif defined(__GP32__)
#include "backends/fs/gp32/gp32-fs-factory.cpp"
#include "backends/fs/gp32/gp32-fs-factory.h"
#elif defined(__MORPHOS__)
#include "backends/fs/morphos/abox-fs-factory.cpp"
#include "backends/fs/morphos/abox-fs-factory.h"
#elif defined(PALMOS_MODE)
#include "backends/fs/palmos/palmos-fs-factory.cpp"
#include "backends/fs/palmos/palmos-fs-factory.h"
#elif defined(__PLAYSTATION2__)
#include "backends/fs/ps2/ps2-fs-factory.cpp"
#include "backends/fs/ps2/ps2-fs-factory.h"
#elif defined(__PSP__)
#include "backends/fs/psp/psp-fs-factory.cpp"
#include "backends/fs/psp/psp-fs-factory.h"
#elif defined(__SYMBIAN32__)
#include "backends/fs/symbian/symbian-fs-factory.cpp"
#include "backends/fs/symbian/symbian-fs-factory.h"
#elif defined(UNIX)
#include "backends/fs/posix/posix-fs-factory.cpp"
#include "backends/fs/posix/posix-fs-factory.h"
#elif defined(WIN32)
#include "backends/fs/windows/windows-fs-factory.cpp"
#include "backends/fs/windows/windows-fs-factory.h"
#endif
FilesystemFactory *OSystem::getFilesystemFactory() {