From 5cf31189e6a37b5244f0e6bfc962a2e70cf8a5e5 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 17 Feb 2014 11:22:05 -0800 Subject: [PATCH] remove obsolete unity build I used to speed up compilation by reducing the number of compilation units with this hack. It's no longer done this way, so let me kill the supporting files here. --- core/src/build/atoi36.c | 6 --- core/src/build/dependencies.c | 26 ------------ core/src/build/gamecode.c | 77 ----------------------------------- core/src/build/kernel.c | 54 ------------------------ core/src/build/lib.c | 14 ------- core/src/build/stdafx.c | 2 - core/src/build/stdafx.h | 14 ------- core/src/build/util.c | 34 ---------------- 8 files changed, 227 deletions(-) delete mode 100644 core/src/build/atoi36.c delete mode 100644 core/src/build/dependencies.c delete mode 100644 core/src/build/gamecode.c delete mode 100644 core/src/build/kernel.c delete mode 100644 core/src/build/lib.c delete mode 100644 core/src/build/stdafx.c delete mode 100644 core/src/build/stdafx.h delete mode 100644 core/src/build/util.c diff --git a/core/src/build/atoi36.c b/core/src/build/atoi36.c deleted file mode 100644 index 4f896a1e7..000000000 --- a/core/src/build/atoi36.c +++ /dev/null @@ -1,6 +0,0 @@ -#include "common/settings.h" -#include "common/config.h" -#include "stdafx.h" - -#include "common/util/base36.c" -#include "tools/atoi36.c" diff --git a/core/src/build/dependencies.c b/core/src/build/dependencies.c deleted file mode 100644 index 47c3314a8..000000000 --- a/core/src/build/dependencies.c +++ /dev/null @@ -1,26 +0,0 @@ -#include -#include -#include "stdafx.h" - -#pragma warning(push) -#pragma warning(disable: 4706) /* '__STDC_VERSION__' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' */ -#pragma warning(disable: 4244) /* '-=' : conversion from 'int' to 'u16', possible loss of data */ -#pragma warning(disable: 4127) /* conditional expression is constant */ -#pragma warning(disable: 4820) /* 'sqlite3_index_constraint' : '2' bytes padding added after data member 'usable' */ -#pragma warning(disable: 4668) /* is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' */ -#pragma warning(disable: 4242) /* '=' : conversion from 'int' to 'ynVar', possible loss of data */ -#include -#pragma warning(pop) - -#pragma warning(push) -#pragma warning(disable: 4668) /* is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' */ -#include -#pragma warning(pop) - -#include - -#include - -#ifndef DISABLE_TESTS -#include -#endif diff --git a/core/src/build/gamecode.c b/core/src/build/gamecode.c deleted file mode 100644 index db0797b27..000000000 --- a/core/src/build/gamecode.c +++ /dev/null @@ -1,77 +0,0 @@ -#include -#include "stdafx.h" - -#ifdef BINDINGS_TOLUA -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include diff --git a/core/src/build/kernel.c b/core/src/build/kernel.c deleted file mode 100644 index 22e8992b8..000000000 --- a/core/src/build/kernel.c +++ /dev/null @@ -1,54 +0,0 @@ -#include -#include -#include "stdafx.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include diff --git a/core/src/build/lib.c b/core/src/build/lib.c deleted file mode 100644 index a5e6ff13d..000000000 --- a/core/src/build/lib.c +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include "stdafx.h" - -#ifdef _MSC_VER -#pragma warning(push) -#pragma warning(disable: 4668) -#include -#pragma warning(pop) -#endif - -#include -#include -#include diff --git a/core/src/build/stdafx.c b/core/src/build/stdafx.c deleted file mode 100644 index da835cf2b..000000000 --- a/core/src/build/stdafx.c +++ /dev/null @@ -1,2 +0,0 @@ -#pragma warning(disable: 4206) -#include "stdafx.h" diff --git a/core/src/build/stdafx.h b/core/src/build/stdafx.h deleted file mode 100644 index b67bed8c1..000000000 --- a/core/src/build/stdafx.h +++ /dev/null @@ -1,14 +0,0 @@ -#ifdef _MSC_VER -#define VC_EXTRALEAN -#define WIN32_LEAN_AND_MEAN -#pragma warning(disable: 4820) -#pragma warning(push) -#pragma warning(disable: 4668) -#pragma warning(disable: 4255) -#include -#include -#pragma warning(pop) -#endif /* _MSC_VER */ - -#include -#include diff --git a/core/src/build/util.c b/core/src/build/util.c deleted file mode 100644 index 3fa1e4f1c..000000000 --- a/core/src/build/util.c +++ /dev/null @@ -1,34 +0,0 @@ -#include -#include -#include "stdafx.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef HAVE_INLINE -#include -#endif