summaryrefslogtreecommitdiff
path: root/src/ljamalg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ljamalg.c')
-rw-r--r--src/ljamalg.c70
1 files changed, 70 insertions, 0 deletions
diff --git a/src/ljamalg.c b/src/ljamalg.c
new file mode 100644
index 00000000..46d0e21f
--- /dev/null
+++ b/src/ljamalg.c
@@ -0,0 +1,70 @@
1/*
2** LuaJIT core and libraries amalgamation.
3** Copyright (C) 2005-2009 Mike Pall. See Copyright Notice in luajit.h
4*/
5
6/*
7+--------------------------------------------------------------------------+
8| WARNING: Compiling the amalgamation needs a lot of virtual memory |
9| (around 160 MB with GCC 4.x)! If you don't have enough physical memory |
10| your machine will start swapping to disk and the compile will not finish |
11| within a reasonable amount of time. |
12| So either compile on a bigger machine or use the non-amalgamated build. |
13+--------------------------------------------------------------------------+
14*/
15
16#define ljamalg_c
17#define LUA_CORE
18
19/* To get the mremap prototype. Must be defind before any system includes. */
20#if defined(__linux__) && !defined(_GNU_SOURCE)
21#define _GNU_SOURCE
22#endif
23
24#include "lua.h"
25#include "lauxlib.h"
26
27#include "lj_gc.c"
28#include "lj_err.c"
29#include "lj_ctype.c"
30#include "lj_bc.c"
31#include "lj_obj.c"
32#include "lj_str.c"
33#include "lj_tab.c"
34#include "lj_func.c"
35#include "lj_udata.c"
36#include "lj_meta.c"
37#include "lj_state.c"
38#include "lj_dispatch.c"
39#include "lj_vmevent.c"
40#include "lj_api.c"
41#include "lj_lex.c"
42#include "lj_parse.c"
43#include "lj_lib.c"
44#include "lj_ir.c"
45#include "lj_opt_mem.c"
46#include "lj_opt_fold.c"
47#include "lj_opt_narrow.c"
48#include "lj_opt_dce.c"
49#include "lj_opt_loop.c"
50#include "lj_mcode.c"
51#include "lj_snap.c"
52#include "lj_record.c"
53#include "lj_asm.c"
54#include "lj_trace.c"
55#include "lj_gdbjit.c"
56#include "lj_alloc.c"
57
58#include "lib_aux.c"
59#include "lib_base.c"
60#include "lib_math.c"
61#include "lib_string.c"
62#include "lib_table.c"
63#include "lib_io.c"
64#include "lib_os.c"
65#include "lib_package.c"
66#include "lib_debug.c"
67#include "lib_bit.c"
68#include "lib_jit.c"
69#include "lib_init.c"
70