diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/luajit-2.0/src/Makefile | 633 | ||||
-rw-r--r-- | libraries/luajit-2.0/src/Makefile.dep | 207 |
2 files changed, 0 insertions, 840 deletions
diff --git a/libraries/luajit-2.0/src/Makefile b/libraries/luajit-2.0/src/Makefile deleted file mode 100644 index 80991bf..0000000 --- a/libraries/luajit-2.0/src/Makefile +++ /dev/null | |||
@@ -1,633 +0,0 @@ | |||
1 | ############################################################################## | ||
2 | # LuaJIT Makefile. Requires GNU Make. | ||
3 | # | ||
4 | # Please read doc/install.html before changing any variables! | ||
5 | # | ||
6 | # Suitable for POSIX platforms (Linux, *BSD, OSX etc.). | ||
7 | # Also works with MinGW and Cygwin on Windows. | ||
8 | # Please check msvcbuild.bat for building with MSVC on Windows. | ||
9 | # | ||
10 | # Copyright (C) 2005-2011 Mike Pall. See Copyright Notice in luajit.h | ||
11 | ############################################################################## | ||
12 | |||
13 | MAJVER= 2 | ||
14 | MINVER= 0 | ||
15 | RELVER= 0 | ||
16 | ABIVER= 5.1 | ||
17 | NODOTABIVER= 51 | ||
18 | |||
19 | ############################################################################## | ||
20 | ############################# COMPILER OPTIONS ############################# | ||
21 | ############################################################################## | ||
22 | # These options mainly affect the speed of the JIT compiler itself, not the | ||
23 | # speed of the JIT-compiled code. Turn any of the optional settings on by | ||
24 | # removing the '#' in front of them. Make sure you force a full recompile | ||
25 | # with "make clean", followed by "make" if you change any options. | ||
26 | # | ||
27 | # LuaJIT builds as a native 32 or 64 bit binary by default. | ||
28 | CC= gcc | ||
29 | # | ||
30 | # Use this if you want to force a 32 bit build on a 64 bit multilib OS. | ||
31 | #CC= gcc -m32 | ||
32 | # | ||
33 | # Since the assembler part does NOT maintain a frame pointer, it's pointless | ||
34 | # to slow down the C part by not omitting it. Debugging, tracebacks and | ||
35 | # unwinding are not affected -- the assembler part has frame unwind | ||
36 | # information and GCC emits it where needed (x64) or with -g (see CCDEBUG). | ||
37 | CCOPT= -O2 -fomit-frame-pointer | ||
38 | # Use this if you want to generate a smaller binary (but it's slower): | ||
39 | #CCOPT= -Os -fomit-frame-pointer | ||
40 | # Note: it's no longer recommended to use -O3 with GCC 4.x. | ||
41 | # The I-Cache bloat usually outweighs the benefits from aggressive inlining. | ||
42 | # | ||
43 | # Target-specific compiler options: | ||
44 | # | ||
45 | # x86 only: it's recommended to compile at least for i686. By default the | ||
46 | # assembler part of the interpreter makes use of CMOV/FCOMI*/FUCOMI* | ||
47 | # instructions, anyway. | ||
48 | # | ||
49 | # x86/x64 only: For GCC 4.2 or higher and if you don't intend to distribute | ||
50 | # the binaries to a different machine you could also use: -march=native | ||
51 | # | ||
52 | CCOPT_X86= -march=i686 | ||
53 | CCOPT_X64= | ||
54 | CCOPT_ARM= | ||
55 | CCOPT_PPC= | ||
56 | CCOPT_PPCSPE= | ||
57 | CCOPT_MIPS= | ||
58 | # | ||
59 | CCDEBUG= | ||
60 | # Uncomment the next line to generate debug information: | ||
61 | #CCDEBUG= -g | ||
62 | # | ||
63 | CCWARN= -Wall | ||
64 | # Uncomment the next line to enable more warnings: | ||
65 | #CCWARN+= -Wextra -Wdeclaration-after-statement -Wredundant-decls -Wshadow -Wpointer-arith | ||
66 | # | ||
67 | ############################################################################## | ||
68 | |||
69 | ############################################################################## | ||
70 | ################################ BUILD MODE ################################ | ||
71 | ############################################################################## | ||
72 | # The default build mode is mixed mode on POSIX. On Windows this is the same | ||
73 | # as dynamic mode. | ||
74 | # | ||
75 | # Mixed mode creates a static + dynamic library and a statically linked luajit. | ||
76 | BUILDMODE= mixed | ||
77 | # | ||
78 | # Static mode creates a static library and a statically linked luajit. | ||
79 | #BUILDMODE= static | ||
80 | # | ||
81 | # Dynamic mode creates a dynamic library and a dynamically linked luajit. | ||
82 | # Note: this executable will only run when the library is installed! | ||
83 | #BUILDMODE= dynamic | ||
84 | # | ||
85 | ############################################################################## | ||
86 | |||
87 | ############################################################################## | ||
88 | ################################# FEATURES ################################# | ||
89 | ############################################################################## | ||
90 | # Enable/disable these features as needed, but make sure you force a full | ||
91 | # recompile with "make clean", followed by "make". | ||
92 | XCFLAGS= | ||
93 | # | ||
94 | # Permanently disable the FFI extension to reduce the size of the LuaJIT | ||
95 | # executable. But please consider that the FFI library is compiled-in, | ||
96 | # but NOT loaded by default. It only allocates any memory, if you actually | ||
97 | # make use of it. | ||
98 | #XCFLAGS+= -DLUAJIT_DISABLE_FFI | ||
99 | # | ||
100 | # Enable some upwards-compatible features from Lua 5.2 that are unlikely | ||
101 | # to break existing code (e.g. __pairs). Note that this does not provide | ||
102 | # full compatibility with Lua 5.2 at this time. | ||
103 | XCFLAGS+= -DLUAJIT_ENABLE_LUA52COMPAT | ||
104 | # | ||
105 | # Disable the JIT compiler, i.e. turn LuaJIT into a pure interpreter. | ||
106 | #XCFLAGS+= -DLUAJIT_DISABLE_JIT | ||
107 | # | ||
108 | # x86 only: use SSE2 instead of x87 instructions in the interpreter | ||
109 | # (always enabled for x64). A pure interpreter built with this flag won't | ||
110 | # run on older CPUs (before P4 or K8). There isn't much of a speed | ||
111 | # difference, so this is not enabled by default. | ||
112 | # The JIT compiler is not affected by this flag. It always uses runtime | ||
113 | # CPU feature detection before emitting code for SSE2 up to SSE4.1. | ||
114 | #XCFLAGS+= -DLUAJIT_CPU_SSE2 | ||
115 | # | ||
116 | # x86 only: Disable the use of CMOV and FCOMI*/FUCOMI* instructions in the | ||
117 | # interpreter. Do this only if you intend to use REALLY ANCIENT CPUs | ||
118 | # (before Pentium Pro, or on the VIA C3). This generally slows down the | ||
119 | # interpreter. Don't bother if your OS wouldn't run on them, anyway. | ||
120 | #XCFLAGS+= -DLUAJIT_CPU_NOCMOV | ||
121 | # | ||
122 | # Some architectures (e.g. PPC) can use either single-number (1) or | ||
123 | # dual-number (2) mode. Uncomment one of these lines to override the | ||
124 | # default mode. Please see LJ_ARCH_NUMMODE in lj_arch.h for details. | ||
125 | #XCFLAGS+= -DLUAJIT_NUMMODE=1 | ||
126 | XCFLAGS+= -DLUAJIT_NUMMODE=2 | ||
127 | # | ||
128 | ############################################################################## | ||
129 | |||
130 | ############################################################################## | ||
131 | ############################ DEBUGGING SUPPORT ############################# | ||
132 | ############################################################################## | ||
133 | # Enable these options as needed, but make sure you force a full recompile | ||
134 | # with "make clean", followed by "make". | ||
135 | # Note that most of these are NOT suitable for benchmarking or release mode! | ||
136 | # | ||
137 | # Use the system provided memory allocator (realloc) instead of the | ||
138 | # bundled memory allocator. This is slower, but sometimes helpful for | ||
139 | # debugging. It's helpful for Valgrind's memcheck tool, too. This option | ||
140 | # cannot be enabled on x64, since the built-in allocator is mandatory. | ||
141 | #XCFLAGS+= -DLUAJIT_USE_SYSMALLOC | ||
142 | # | ||
143 | # This define is required to run LuaJIT under Valgrind. The Valgrind | ||
144 | # header files must be installed. You should enable debug information, too. | ||
145 | #XCFLAGS+= -DLUAJIT_USE_VALGRIND | ||
146 | # | ||
147 | # This is the client for the GDB JIT API. GDB 7.0 or higher is required | ||
148 | # to make use of it. See lj_gdbjit.c for details. Enabling this causes | ||
149 | # a non-negligible overhead, even when not running under GDB. | ||
150 | #XCFLAGS+= -DLUAJIT_USE_GDBJIT | ||
151 | # | ||
152 | # Turn on assertions for the Lua/C API to debug problems with lua_* calls. | ||
153 | # This is rather slow -- use only while developing C libraries/embeddings. | ||
154 | #XCFLAGS+= -DLUA_USE_APICHECK | ||
155 | # | ||
156 | # Turn on assertions for the whole LuaJIT VM. This significantly slows down | ||
157 | # everything. Use only if you suspect a problem with LuaJIT itself. | ||
158 | #XCFLAGS+= -DLUA_USE_ASSERT | ||
159 | # | ||
160 | ############################################################################## | ||
161 | # You probably don't need to change anything below this line! | ||
162 | ############################################################################## | ||
163 | |||
164 | ############################################################################## | ||
165 | # Flags and options for host and target. | ||
166 | ############################################################################## | ||
167 | |||
168 | # You can override the following variables at the make command line: | ||
169 | # CC HOST_CC STATIC_CC DYNAMIC_CC | ||
170 | # CFLAGS HOST_CFLAGS TARGET_CFLAGS | ||
171 | # LDFLAGS HOST_LDFLAGS TARGET_LDFLAGS TARGET_SHLDFLAGS | ||
172 | # LIBS HOST_LIBS TARGET_LIBS | ||
173 | # CROSS HOST_SYS TARGET_SYS TARGET_FLAGS | ||
174 | # | ||
175 | # Cross-compilation examples: | ||
176 | # make HOST_CC="gcc -m32" CROSS=i586-mingw32msvc- TARGET_SYS=Windows | ||
177 | # make HOST_CC="gcc -m32" CROSS=powerpc-linux-gnu- | ||
178 | |||
179 | CCOPTIONS= $(CCDEBUG) $(CCOPT) $(CCWARN) $(XCFLAGS) $(CFLAGS) | ||
180 | LDOPTIONS= $(CCDEBUG) $(LDFLAGS) | ||
181 | |||
182 | HOST_CC= $(CC) | ||
183 | HOST_RM= rm -f | ||
184 | # NOTE: The LuaJIT distribution comes with pre-generated buildvm_*.h files. | ||
185 | # You DO NOT NEED an installed copy of (plain) Lua 5.1 to run DynASM unless | ||
186 | # you want to MODIFY the corresponding *.dasc file. You can also use LuaJIT | ||
187 | # itself (bootstrapped from a pre-generated file) to run DynASM of course. | ||
188 | HOST_LUA= lua | ||
189 | |||
190 | HOST_XCFLAGS= | ||
191 | HOST_XLDFLAGS= | ||
192 | HOST_XLIBS= | ||
193 | HOST_ACFLAGS= $(CCOPTIONS) $(HOST_XCFLAGS) $(TARGET_ARCH) $(HOST_CFLAGS) | ||
194 | HOST_ALDFLAGS= $(LDOPTIONS) $(HOST_XLDFLAGS) $(HOST_LDFLAGS) | ||
195 | HOST_ALIBS= $(HOST_XLIBS) $(LIBS) $(HOST_LIBS) | ||
196 | |||
197 | STATIC_CC = $(CROSS)$(CC) | ||
198 | DYNAMIC_CC = $(CROSS)$(CC) -fPIC | ||
199 | TARGET_CC= $(STATIC_CC) | ||
200 | TARGET_STCC= $(STATIC_CC) | ||
201 | TARGET_DYNCC= $(DYNAMIC_CC) | ||
202 | TARGET_LD= $(CROSS)$(CC) | ||
203 | TARGET_AR= $(CROSS)ar rcus | ||
204 | TARGET_STRIP= $(CROSS)strip | ||
205 | |||
206 | TARGET_SONAME= libluajit-$(ABIVER).so.$(MAJVER) | ||
207 | TARGET_DYLIBNAME= libluajit-$(NODOTABIVER).$(MAJVER).dylib | ||
208 | TARGET_DYLIBPATH= $(or $(PREFIX),/usr/local)/lib/$(TARGET_DYLIBNAME) | ||
209 | TARGET_DLLNAME= lua$(NODOTABIVER).dll | ||
210 | TARGET_XSHLDFLAGS= -shared -fPIC -Wl,-soname,$(TARGET_SONAME) | ||
211 | TARGET_DYNXLDOPTS= | ||
212 | |||
213 | TARGET_XCFLAGS= -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U_FORTIFY_SOURCE | ||
214 | TARGET_XLDFLAGS= | ||
215 | TARGET_XLIBS= -lm | ||
216 | TARGET_TCFLAGS= $(CCOPTIONS) $(TARGET_XCFLAGS) $(TARGET_FLAGS) $(TARGET_CFLAGS) | ||
217 | TARGET_ACFLAGS= $(CCOPTIONS) $(TARGET_XCFLAGS) $(TARGET_ARCH) $(TARGET_FLAGS) $(TARGET_CFLAGS) | ||
218 | TARGET_ALDFLAGS= $(LDOPTIONS) $(TARGET_XLDFLAGS) $(TARGET_FLAGS) $(TARGET_LDFLAGS) | ||
219 | TARGET_ASHLDFLAGS= $(LDOPTIONS) $(TARGET_XSHLDFLAGS) $(TARGET_FLAGS) $(TARGET_SHLDFLAGS) | ||
220 | TARGET_ALIBS= $(TARGET_XLIBS) $(LIBS) $(TARGET_LIBS) | ||
221 | |||
222 | ifneq (,$(findstring stack-protector,$(shell $(TARGET_CC) -dumpspecs))) | ||
223 | TARGET_XCFLAGS+= -fno-stack-protector | ||
224 | endif | ||
225 | |||
226 | TARGET_TESTARCH=$(shell $(TARGET_CC) $(TARGET_TCFLAGS) -E lj_arch.h -dM) | ||
227 | ifneq (,$(findstring LJ_TARGET_X64 ,$(TARGET_TESTARCH))) | ||
228 | TARGET_CCARCH= x64 | ||
229 | TARGET_XCFLAGS+= $(CCOPT_X64) | ||
230 | else | ||
231 | ifneq (,$(findstring LJ_TARGET_X86 ,$(TARGET_TESTARCH))) | ||
232 | TARGET_CCARCH= x86 | ||
233 | TARGET_XCFLAGS+= $(CCOPT_X86) | ||
234 | else | ||
235 | ifneq (,$(findstring LJ_TARGET_ARM ,$(TARGET_TESTARCH))) | ||
236 | TARGET_CCARCH= arm | ||
237 | TARGET_XCFLAGS+= $(CCOPT_ARM) | ||
238 | else | ||
239 | ifneq (,$(findstring LJ_TARGET_PPC ,$(TARGET_TESTARCH))) | ||
240 | TARGET_CCARCH= ppc | ||
241 | TARGET_XCFLAGS+= $(CCOPT_PPC) | ||
242 | else | ||
243 | ifneq (,$(findstring LJ_TARGET_PPCSPE ,$(TARGET_TESTARCH))) | ||
244 | TARGET_CCARCH= ppcspe | ||
245 | TARGET_XCFLAGS+= $(CCOPT_PPCSPE) | ||
246 | else | ||
247 | ifneq (,$(findstring LJ_TARGET_MIPS ,$(TARGET_TESTARCH))) | ||
248 | ifneq (,$(findstring MIPSEL ,$(TARGET_TESTARCH))) | ||
249 | TARGET_ARCH= -D__MIPSEL__=1 | ||
250 | endif | ||
251 | TARGET_CCARCH= mips | ||
252 | TARGET_XCFLAGS+= $(CCOPT_MIPS) | ||
253 | else | ||
254 | $(error Unsupported target architecture) | ||
255 | endif | ||
256 | endif | ||
257 | endif | ||
258 | endif | ||
259 | endif | ||
260 | endif | ||
261 | |||
262 | TARGET_ARCH+= $(patsubst %,-DLUAJIT_TARGET=LUAJIT_ARCH_%,$(TARGET_CCARCH)) | ||
263 | |||
264 | ifneq (,$(PREFIX)) | ||
265 | ifneq (/usr/local,$(PREFIX)) | ||
266 | TARGET_XCFLAGS+= -DLUA_XROOT=\"$(PREFIX)/\" | ||
267 | ifneq (/usr,$(PREFIX)) | ||
268 | TARGET_DYNXLDOPTS= -Wl,-rpath,$(PREFIX)/lib | ||
269 | endif | ||
270 | endif | ||
271 | endif | ||
272 | |||
273 | ############################################################################## | ||
274 | # System detection. | ||
275 | ############################################################################## | ||
276 | |||
277 | ifneq (,$(findstring Windows,$(OS))) | ||
278 | HOST_SYS= Windows | ||
279 | else | ||
280 | HOST_SYS:= $(shell uname -s) | ||
281 | ifneq (,$(findstring CYGWIN,$(TARGET_SYS))) | ||
282 | HOST_SYS= Windows | ||
283 | endif | ||
284 | endif | ||
285 | ifeq (Windows,$(HOST_SYS)) | ||
286 | HOST_RM= del | ||
287 | endif | ||
288 | |||
289 | TARGET_SYS= $(HOST_SYS) | ||
290 | ifeq (Windows,$(TARGET_SYS)) | ||
291 | TARGET_STRIP+= --strip-unneeded | ||
292 | TARGET_XSHLDFLAGS= -shared | ||
293 | TARGET_DYNXLDOPTS= | ||
294 | else | ||
295 | ifeq (Darwin,$(TARGET_SYS)) | ||
296 | export MACOSX_DEPLOYMENT_TARGET=10.4 | ||
297 | TARGET_STRIP+= -x | ||
298 | TARGET_AR+= 2>/dev/null | ||
299 | TARGET_XSHLDFLAGS= -dynamiclib -single_module -undefined dynamic_lookup -fPIC | ||
300 | TARGET_DYNXLDOPTS= | ||
301 | TARGET_XSHLDFLAGS+= -install_name $(TARGET_DYLIBPATH) -compatibility_version $(MAJVER).$(MINVER) -current_version $(MAJVER).$(MINVER).$(RELVER) | ||
302 | ifeq (x64,$(TARGET_CCARCH)) | ||
303 | TARGET_XLDFLAGS+= -pagezero_size 10000 -image_base 100000000 | ||
304 | TARGET_XSHLDFLAGS+= -image_base 7fff04c4a000 | ||
305 | endif | ||
306 | else | ||
307 | ifeq (iOS,$(TARGET_SYS)) | ||
308 | TARGET_STRIP+= -x | ||
309 | TARGET_AR+= 2>/dev/null | ||
310 | TARGET_XSHLDFLAGS= -dynamiclib -single_module -undefined dynamic_lookup -fPIC | ||
311 | TARGET_DYNXLDOPTS= | ||
312 | TARGET_XSHLDFLAGS+= -install_name $(TARGET_DYLIBPATH) -compatibility_version $(MAJVER).$(MINVER) -current_version $(MAJVER).$(MINVER).$(RELVER) | ||
313 | else | ||
314 | ifneq (SunOS,$(TARGET_SYS)) | ||
315 | TARGET_XLDFLAGS+= -Wl,-E | ||
316 | endif | ||
317 | ifeq (Linux,$(TARGET_SYS)) | ||
318 | TARGET_XLIBS+= -ldl | ||
319 | endif | ||
320 | ifeq (GNU/kFreeBSD,$(TARGET_SYS)) | ||
321 | TARGET_XLIBS+= -ldl | ||
322 | endif | ||
323 | endif | ||
324 | endif | ||
325 | endif | ||
326 | |||
327 | ifneq ($(HOST_SYS),$(TARGET_SYS)) | ||
328 | ifeq (Windows,$(TARGET_SYS)) | ||
329 | HOST_XCFLAGS+= -malign-double -DLUAJIT_OS=LUAJIT_OS_WINDOWS | ||
330 | else | ||
331 | ifeq (Linux,$(TARGET_SYS)) | ||
332 | HOST_XCFLAGS+= -DLUAJIT_OS=LUAJIT_OS_LINUX | ||
333 | else | ||
334 | ifeq (Darwin,$(TARGET_SYS)) | ||
335 | HOST_XCFLAGS+= -DLUAJIT_OS=LUAJIT_OS_OSX | ||
336 | else | ||
337 | ifeq (iOS,$(TARGET_SYS)) | ||
338 | HOST_XCFLAGS+= -DLUAJIT_OS=LUAJIT_OS_OSX | ||
339 | else | ||
340 | HOST_XCFLAGS+= -DLUAJIT_OS=LUAJIT_OS_OTHER | ||
341 | endif | ||
342 | endif | ||
343 | endif | ||
344 | endif | ||
345 | endif | ||
346 | |||
347 | ifneq (,$(CCDEBUG)) | ||
348 | TARGET_STRIP= @: | ||
349 | endif | ||
350 | |||
351 | ############################################################################## | ||
352 | # Files and pathnames. | ||
353 | ############################################################################## | ||
354 | |||
355 | DASM_DIR= ../dynasm | ||
356 | DASM= $(HOST_LUA) $(DASM_DIR)/dynasm.lua | ||
357 | DASM_FLAGS= | ||
358 | DASM_DISTFLAGS= -LN | ||
359 | DASM_FLAGS_X86= | ||
360 | DASM_FLAGS_X64= -D X64 | ||
361 | DASM_FLAGS_X64WIN= -D X64 -D X64WIN | ||
362 | DASM_FLAGS_ARM= | ||
363 | DASM_FLAGS_PPC= | ||
364 | DASM_FLAGS_PPCSPE= | ||
365 | DASM_FLAGS_MIPS= | ||
366 | |||
367 | BUILDVM_O= buildvm.o buildvm_asm.o buildvm_peobj.o buildvm_lib.o buildvm_fold.o | ||
368 | BUILDVM_T= buildvm | ||
369 | BUILDVM_X= ./$(BUILDVM_T) | ||
370 | |||
371 | HOST_O= $(BUILDVM_O) | ||
372 | HOST_T= $(BUILDVM_T) | ||
373 | |||
374 | LJVM_S= lj_vm.s | ||
375 | LJVM_O= lj_vm.o | ||
376 | LJVM_BOUT= $(LJVM_S) | ||
377 | LJVM_MODE= elfasm | ||
378 | |||
379 | LJLIB_O= lib_base.o lib_math.o lib_bit.o lib_string.o lib_table.o \ | ||
380 | lib_io.o lib_os.o lib_package.o lib_debug.o lib_jit.o lib_ffi.o | ||
381 | LJLIB_C= $(LJLIB_O:.o=.c) | ||
382 | |||
383 | LJCORE_O= lj_gc.o lj_err.o lj_char.o lj_bc.o lj_obj.o \ | ||
384 | lj_str.o lj_tab.o lj_func.o lj_udata.o lj_meta.o lj_debug.o \ | ||
385 | lj_state.o lj_dispatch.o lj_vmevent.o lj_vmmath.o lj_api.o \ | ||
386 | lj_lex.o lj_parse.o lj_bcread.o lj_bcwrite.o \ | ||
387 | lj_ir.o lj_opt_mem.o lj_opt_fold.o lj_opt_narrow.o \ | ||
388 | lj_opt_dce.o lj_opt_loop.o lj_opt_split.o \ | ||
389 | lj_mcode.o lj_snap.o lj_record.o lj_crecord.o lj_ffrecord.o \ | ||
390 | lj_asm.o lj_trace.o lj_gdbjit.o \ | ||
391 | lj_ctype.o lj_cdata.o lj_cconv.o lj_ccall.o lj_ccallback.o \ | ||
392 | lj_carith.o lj_clib.o lj_cparse.o \ | ||
393 | lj_lib.o lj_alloc.o lib_aux.o \ | ||
394 | $(LJLIB_O) lib_init.o | ||
395 | |||
396 | LJVMCORE_O= $(LJVM_O) $(LJCORE_O) | ||
397 | LJVMCORE_DYNO= $(LJVMCORE_O:.o=_dyn.o) | ||
398 | |||
399 | LIB_VMDEF= ../lib/vmdef.lua | ||
400 | LIB_VMDEFP= $(LIB_VMDEF) | ||
401 | |||
402 | LUAJIT_O= luajit.o | ||
403 | LUAJIT_A= libluajit.a | ||
404 | LUAJIT_SO= libluajit.so | ||
405 | LUAJIT_T= luajit | ||
406 | |||
407 | ALL_T= $(LUAJIT_T) $(LUAJIT_A) $(LUAJIT_SO) $(BUILDVM_T) | ||
408 | ALL_HDRGEN= lj_bcdef.h lj_ffdef.h lj_libdef.h lj_recdef.h lj_folddef.h | ||
409 | ALL_GEN= $(LJVM_S) $(ALL_HDRGEN) $(LIB_VMDEFP) | ||
410 | ALL_DYNGEN= buildvm_x86.h buildvm_x64.h buildvm_x64win.h buildvm_arm.h \ | ||
411 | buildvm_ppc.h buildvm_ppcspe.h | ||
412 | ###ALL_DYNGEN+= buildvm_mips.h | ||
413 | WIN_RM= *.obj *.lib *.exp *.dll *.exe *.manifest *.pdb *.ilk | ||
414 | ALL_RM= $(ALL_T) $(ALL_GEN) *.o $(WIN_RM) | ||
415 | |||
416 | ############################################################################## | ||
417 | # Build mode handling. | ||
418 | ############################################################################## | ||
419 | |||
420 | # Mixed mode defaults. | ||
421 | TARGET_O= $(LUAJIT_A) | ||
422 | TARGET_T= $(LUAJIT_T) $(LUAJIT_SO) | ||
423 | TARGET_DEP= $(LIB_VMDEF) $(LUAJIT_SO) | ||
424 | |||
425 | ifeq (Windows,$(HOST_SYS)) | ||
426 | BUILDVM_T= buildvm.exe | ||
427 | LIB_VMDEFP= $(subst /,\\,$(LIB_VMDEF)) | ||
428 | endif | ||
429 | ifeq (Windows,$(TARGET_SYS)) | ||
430 | TARGET_DYNCC= $(STATIC_CC) | ||
431 | LJVM_MODE= coffasm | ||
432 | LUAJIT_SO= $(TARGET_DLLNAME) | ||
433 | LUAJIT_T= luajit.exe | ||
434 | # Mixed mode is not supported on Windows. And static mode doesn't work well. | ||
435 | # C modules cannot be loaded, because they bind to lua51.dll. | ||
436 | ifneq (static,$(BUILDMODE)) | ||
437 | BUILDMODE= dynamic | ||
438 | TARGET_XCFLAGS+= -DLUA_BUILD_AS_DLL | ||
439 | endif | ||
440 | endif | ||
441 | ifeq (Darwin,$(TARGET_SYS)) | ||
442 | LJVM_MODE= machasm | ||
443 | endif | ||
444 | ifeq (iOS,$(TARGET_SYS)) | ||
445 | LJVM_MODE= machasm | ||
446 | endif | ||
447 | ifeq (SunOS,$(TARGET_SYS)) | ||
448 | BUILDMODE= static | ||
449 | endif | ||
450 | |||
451 | ifeq (static,$(BUILDMODE)) | ||
452 | TARGET_DYNCC= @: | ||
453 | TARGET_T= $(LUAJIT_T) | ||
454 | TARGET_DEP= $(LIB_VMDEF) | ||
455 | else | ||
456 | ifeq (dynamic,$(BUILDMODE)) | ||
457 | ifneq (Windows,$(TARGET_SYS)) | ||
458 | TARGET_CC= $(DYNAMIC_CC) | ||
459 | endif | ||
460 | TARGET_DYNCC= @: | ||
461 | LJVMCORE_DYNO= $(LJVMCORE_O) | ||
462 | TARGET_O= $(LUAJIT_SO) | ||
463 | TARGET_XLDFLAGS+= $(TARGET_DYNXLDOPTS) | ||
464 | else | ||
465 | ifeq (Darwin,$(TARGET_SYS)) | ||
466 | TARGET_DYNCC= @: | ||
467 | LJVMCORE_DYNO= $(LJVMCORE_O) | ||
468 | endif | ||
469 | ifeq (iOS,$(TARGET_SYS)) | ||
470 | TARGET_DYNCC= @: | ||
471 | LJVMCORE_DYNO= $(LJVMCORE_O) | ||
472 | endif | ||
473 | endif | ||
474 | endif | ||
475 | |||
476 | Q= @ | ||
477 | E= @echo | ||
478 | #Q= | ||
479 | #E= @: | ||
480 | |||
481 | ############################################################################## | ||
482 | # Make targets. | ||
483 | ############################################################################## | ||
484 | |||
485 | default all: $(TARGET_T) | ||
486 | |||
487 | amalg: | ||
488 | @grep "^[+|]" ljamalg.c | ||
489 | $(MAKE) all "LJCORE_O=ljamalg.o" | ||
490 | |||
491 | clean: | ||
492 | $(HOST_RM) $(ALL_RM) | ||
493 | |||
494 | cleaner: | ||
495 | $(HOST_RM) $(ALL_RM) $(ALL_DYNGEN) | ||
496 | |||
497 | distclean: clean | ||
498 | $(E) "DYNASM $@" | ||
499 | $(Q)$(DASM) $(DASM_DISTFLAGS) $(DASM_FLAGS_X86) -o buildvm_x86.h buildvm_x86.dasc | ||
500 | $(Q)$(DASM) $(DASM_DISTFLAGS) $(DASM_FLAGS_X64) -o buildvm_x64.h buildvm_x86.dasc | ||
501 | $(Q)$(DASM) $(DASM_DISTFLAGS) $(DASM_FLAGS_X64WIN) -o buildvm_x64win.h buildvm_x86.dasc | ||
502 | $(Q)$(DASM) $(DASM_DISTFLAGS) $(DASM_FLAGS_ARM) -o buildvm_arm.h buildvm_arm.dasc | ||
503 | $(Q)$(DASM) $(DASM_DISTFLAGS) $(DASM_FLAGS_PPC) -o buildvm_ppc.h buildvm_ppc.dasc | ||
504 | $(Q)$(DASM) $(DASM_DISTFLAGS) $(DASM_FLAGS_PPCSPE) -o buildvm_ppcspe.h buildvm_ppcspe.dasc | ||
505 | @### $(Q)$(DASM) $(DASM_DISTFLAGS) $(DASM_FLAGS_MIPS) -o buildvm_mips.h buildvm_mips.dasc | ||
506 | |||
507 | depend: | ||
508 | @for file in $(ALL_HDRGEN) $(ALL_DYNGEN); do \ | ||
509 | test -f $$file || touch $$file; \ | ||
510 | done | ||
511 | @$(HOST_CC) $(HOST_ACFLAGS) -MM *.c | \ | ||
512 | sed -e "s| [^ ]*/dasm_\S*\.h||g" \ | ||
513 | -e "s| buildvm_\S*\.h||g" \ | ||
514 | -e "s| lj_target_\S*\.h| lj_target_*.h|g" \ | ||
515 | -e "s| lj_emit_\S*\.h| lj_emit_*.h|g" \ | ||
516 | -e "s| lj_asm_\S*\.h| lj_asm_*.h|g" >Makefile.dep | ||
517 | @for file in $(ALL_HDRGEN) $(ALL_DYNGEN); do \ | ||
518 | test -s $$file || $(HOST_RM) $$file; \ | ||
519 | done | ||
520 | |||
521 | .PHONY: default all amalg clean cleaner distclean depend | ||
522 | |||
523 | ############################################################################## | ||
524 | # Rules for generated files. | ||
525 | ############################################################################## | ||
526 | |||
527 | buildvm_x86.h: buildvm_x86.dasc | ||
528 | $(E) "DYNASM $@" | ||
529 | $(Q)$(DASM) $(DASM_FLAGS) $(DASM_FLAGS_X86) -o $@ buildvm_x86.dasc | ||
530 | |||
531 | buildvm_x64.h: buildvm_x86.dasc | ||
532 | $(E) "DYNASM $@" | ||
533 | $(Q)$(DASM) $(DASM_FLAGS) $(DASM_FLAGS_X64) -o $@ buildvm_x86.dasc | ||
534 | |||
535 | buildvm_x64win.h: buildvm_x86.dasc | ||
536 | $(E) "DYNASM $@" | ||
537 | $(Q)$(DASM) $(DASM_FLAGS) $(DASM_FLAGS_X64WIN) -o $@ buildvm_x86.dasc | ||
538 | |||
539 | buildvm_arm.h: buildvm_arm.dasc | ||
540 | $(E) "DYNASM $@" | ||
541 | $(Q)$(DASM) $(DASM_FLAGS) $(DASM_FLAGS_ARM) -o $@ buildvm_arm.dasc | ||
542 | |||
543 | buildvm_ppc.h: buildvm_ppc.dasc | ||
544 | $(E) "DYNASM $@" | ||
545 | $(Q)$(DASM) $(DASM_FLAGS) $(DASM_FLAGS_PPC) -o $@ buildvm_ppc.dasc | ||
546 | |||
547 | buildvm_ppcspe.h: buildvm_ppcspe.dasc | ||
548 | $(E) "DYNASM $@" | ||
549 | $(Q)$(DASM) $(DASM_FLAGS) $(DASM_FLAGS_PPCSPE) -o $@ buildvm_ppcspe.dasc | ||
550 | |||
551 | buildvm_mips.h: buildvm_mips.dasc | ||
552 | $(E) "DYNASM $@" | ||
553 | $(Q)$(DASM) $(DASM_FLAGS) $(DASM_FLAGS_MIPS) -o $@ buildvm_mips.dasc | ||
554 | |||
555 | buildvm.o: $(ALL_DYNGEN) $(DASM_DIR)/dasm_*.h | ||
556 | |||
557 | $(BUILDVM_T): $(BUILDVM_O) | ||
558 | $(E) "HOSTLINK $@" | ||
559 | $(Q)$(HOST_CC) $(HOST_ALDFLAGS) -o $@ $(BUILDVM_O) $(HOST_ALIBS) | ||
560 | |||
561 | $(LJVM_BOUT): $(BUILDVM_T) | ||
562 | $(E) "BUILDVM $@" | ||
563 | $(Q)$(BUILDVM_X) -m $(LJVM_MODE) -o $@ | ||
564 | |||
565 | lj_bcdef.h: $(BUILDVM_T) $(LJLIB_C) | ||
566 | $(E) "BUILDVM $@" | ||
567 | $(Q)$(BUILDVM_X) -m bcdef -o $@ $(LJLIB_C) | ||
568 | |||
569 | lj_ffdef.h: $(BUILDVM_T) $(LJLIB_C) | ||
570 | $(E) "BUILDVM $@" | ||
571 | $(Q)$(BUILDVM_X) -m ffdef -o $@ $(LJLIB_C) | ||
572 | |||
573 | lj_libdef.h: $(BUILDVM_T) $(LJLIB_C) | ||
574 | $(E) "BUILDVM $@" | ||
575 | $(Q)$(BUILDVM_X) -m libdef -o $@ $(LJLIB_C) | ||
576 | |||
577 | lj_recdef.h: $(BUILDVM_T) $(LJLIB_C) | ||
578 | $(E) "BUILDVM $@" | ||
579 | $(Q)$(BUILDVM_X) -m recdef -o $@ $(LJLIB_C) | ||
580 | |||
581 | $(LIB_VMDEF): $(BUILDVM_T) $(LJLIB_C) | ||
582 | $(E) "BUILDVM $@" | ||
583 | $(Q)$(BUILDVM_X) -m vmdef -o $(LIB_VMDEFP) $(LJLIB_C) | ||
584 | |||
585 | lj_folddef.h: $(BUILDVM_T) lj_opt_fold.c | ||
586 | $(E) "BUILDVM $@" | ||
587 | $(Q)$(BUILDVM_X) -m folddef -o $@ lj_opt_fold.c | ||
588 | |||
589 | ############################################################################## | ||
590 | # Object file rules. | ||
591 | ############################################################################## | ||
592 | |||
593 | %.o: %.c | ||
594 | $(E) "CC $@" | ||
595 | $(Q)$(TARGET_DYNCC) $(TARGET_ACFLAGS) -c -o $(@:.o=_dyn.o) $< | ||
596 | $(Q)$(TARGET_CC) $(TARGET_ACFLAGS) -c -o $@ $< | ||
597 | |||
598 | %.o: %.s | ||
599 | $(E) "ASM $@" | ||
600 | $(Q)$(TARGET_DYNCC) $(TARGET_ACFLAGS) -c -o $(@:.o=_dyn.o) $< | ||
601 | $(Q)$(TARGET_CC) $(TARGET_ACFLAGS) -c -o $@ $< | ||
602 | |||
603 | $(LUAJIT_O): | ||
604 | $(E) "CC $@" | ||
605 | $(Q)$(TARGET_STCC) $(TARGET_ACFLAGS) -c -o $@ $< | ||
606 | |||
607 | $(HOST_O): %.o: %.c | ||
608 | $(E) "HOSTCC $@" | ||
609 | $(Q)$(HOST_CC) $(HOST_ACFLAGS) -c -o $@ $< | ||
610 | |||
611 | include Makefile.dep | ||
612 | |||
613 | ############################################################################## | ||
614 | # Target file rules. | ||
615 | ############################################################################## | ||
616 | |||
617 | $(LUAJIT_A): $(LJVMCORE_O) | ||
618 | $(E) "AR $@" | ||
619 | $(Q)$(TARGET_AR) $@ $(LJVMCORE_O) | ||
620 | |||
621 | # The dependency on _O, but linking with _DYNO is intentional. | ||
622 | $(LUAJIT_SO): $(LJVMCORE_O) | ||
623 | $(E) "DYNLINK $@" | ||
624 | $(Q)$(TARGET_LD) $(TARGET_ASHLDFLAGS) -o $@ $(LJVMCORE_DYNO) $(TARGET_ALIBS) | ||
625 | $(Q)$(TARGET_STRIP) $@ | ||
626 | |||
627 | $(LUAJIT_T): $(TARGET_O) $(LUAJIT_O) $(TARGET_DEP) | ||
628 | $(E) "LINK $@" | ||
629 | $(Q)$(TARGET_LD) $(TARGET_ALDFLAGS) -o $@ $(LUAJIT_O) $(TARGET_O) $(TARGET_ALIBS) | ||
630 | $(Q)$(TARGET_STRIP) $@ | ||
631 | $(E) "OK Successfully built LuaJIT" | ||
632 | |||
633 | ############################################################################## | ||
diff --git a/libraries/luajit-2.0/src/Makefile.dep b/libraries/luajit-2.0/src/Makefile.dep deleted file mode 100644 index add7508..0000000 --- a/libraries/luajit-2.0/src/Makefile.dep +++ /dev/null | |||
@@ -1,207 +0,0 @@ | |||
1 | buildvm.o: buildvm.c buildvm.h lj_def.h lua.h luaconf.h lj_arch.h \ | ||
2 | lj_obj.h lj_gc.h lj_bc.h lj_ir.h lj_ircall.h lj_jit.h lj_frame.h \ | ||
3 | lj_dispatch.h lj_ctype.h lj_ccall.h luajit.h \ | ||
4 | lj_traceerr.h | ||
5 | buildvm_asm.o: buildvm_asm.c buildvm.h lj_def.h lua.h luaconf.h lj_arch.h \ | ||
6 | lj_bc.h | ||
7 | buildvm_fold.o: buildvm_fold.c buildvm.h lj_def.h lua.h luaconf.h \ | ||
8 | lj_arch.h lj_obj.h lj_ir.h | ||
9 | buildvm_lib.o: buildvm_lib.c buildvm.h lj_def.h lua.h luaconf.h lj_arch.h \ | ||
10 | lj_obj.h lj_lib.h | ||
11 | buildvm_peobj.o: buildvm_peobj.c buildvm.h lj_def.h lua.h luaconf.h \ | ||
12 | lj_arch.h lj_bc.h | ||
13 | lib_aux.o: lib_aux.c lua.h luaconf.h lauxlib.h lj_obj.h lj_def.h \ | ||
14 | lj_arch.h lj_err.h lj_errmsg.h lj_state.h lj_lib.h lj_alloc.h | ||
15 | lib_base.o: lib_base.c lua.h luaconf.h lauxlib.h lualib.h lj_obj.h \ | ||
16 | lj_def.h lj_arch.h lj_gc.h lj_err.h lj_errmsg.h lj_debug.h lj_str.h \ | ||
17 | lj_tab.h lj_meta.h lj_state.h lj_ctype.h lj_cconv.h lj_bc.h lj_ff.h \ | ||
18 | lj_ffdef.h lj_dispatch.h lj_jit.h lj_ir.h lj_char.h lj_lib.h lj_libdef.h | ||
19 | lib_bit.o: lib_bit.c lua.h luaconf.h lauxlib.h lualib.h lj_obj.h lj_def.h \ | ||
20 | lj_arch.h lj_err.h lj_errmsg.h lj_str.h lj_lib.h lj_libdef.h | ||
21 | lib_debug.o: lib_debug.c lua.h luaconf.h lauxlib.h lualib.h lj_obj.h \ | ||
22 | lj_def.h lj_arch.h lj_err.h lj_errmsg.h lj_lib.h lj_libdef.h | ||
23 | lib_ffi.o: lib_ffi.c lua.h luaconf.h lauxlib.h lualib.h lj_obj.h lj_def.h \ | ||
24 | lj_arch.h lj_gc.h lj_err.h lj_errmsg.h lj_str.h lj_tab.h lj_meta.h \ | ||
25 | lj_ctype.h lj_cparse.h lj_cdata.h lj_cconv.h lj_carith.h lj_ccall.h \ | ||
26 | lj_ccallback.h lj_clib.h lj_ff.h lj_ffdef.h lj_lib.h lj_libdef.h | ||
27 | lib_init.o: lib_init.c lua.h luaconf.h lauxlib.h lualib.h lj_arch.h | ||
28 | lib_io.o: lib_io.c lua.h luaconf.h lauxlib.h lualib.h lj_obj.h lj_def.h \ | ||
29 | lj_arch.h lj_gc.h lj_err.h lj_errmsg.h lj_str.h lj_ff.h lj_ffdef.h \ | ||
30 | lj_trace.h lj_jit.h lj_ir.h lj_dispatch.h lj_bc.h lj_traceerr.h lj_lib.h \ | ||
31 | lj_libdef.h | ||
32 | lib_jit.o: lib_jit.c lua.h luaconf.h lauxlib.h lualib.h lj_arch.h \ | ||
33 | lj_obj.h lj_def.h lj_err.h lj_errmsg.h lj_debug.h lj_str.h lj_tab.h \ | ||
34 | lj_bc.h lj_ir.h lj_jit.h lj_ircall.h lj_iropt.h lj_target.h \ | ||
35 | lj_target_*.h lj_dispatch.h lj_vm.h lj_vmevent.h lj_lib.h luajit.h \ | ||
36 | lj_libdef.h | ||
37 | lib_math.o: lib_math.c lua.h luaconf.h lauxlib.h lualib.h lj_obj.h \ | ||
38 | lj_def.h lj_arch.h lj_lib.h lj_vm.h lj_libdef.h | ||
39 | lib_os.o: lib_os.c lua.h luaconf.h lauxlib.h lualib.h lj_obj.h lj_def.h \ | ||
40 | lj_arch.h lj_err.h lj_errmsg.h lj_lib.h lj_libdef.h | ||
41 | lib_package.o: lib_package.c lua.h luaconf.h lauxlib.h lualib.h lj_obj.h \ | ||
42 | lj_def.h lj_arch.h lj_err.h lj_errmsg.h lj_lib.h | ||
43 | lib_string.o: lib_string.c lua.h luaconf.h lauxlib.h lualib.h lj_obj.h \ | ||
44 | lj_def.h lj_arch.h lj_gc.h lj_err.h lj_errmsg.h lj_str.h lj_tab.h \ | ||
45 | lj_state.h lj_ff.h lj_ffdef.h lj_bcdump.h lj_lex.h lj_char.h lj_lib.h \ | ||
46 | lj_libdef.h | ||
47 | lib_table.o: lib_table.c lua.h luaconf.h lauxlib.h lualib.h lj_obj.h \ | ||
48 | lj_def.h lj_arch.h lj_gc.h lj_err.h lj_errmsg.h lj_tab.h lj_lib.h \ | ||
49 | lj_libdef.h | ||
50 | lj_alloc.o: lj_alloc.c lj_def.h lua.h luaconf.h lj_arch.h lj_alloc.h | ||
51 | lj_api.o: lj_api.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h lj_gc.h \ | ||
52 | lj_err.h lj_errmsg.h lj_debug.h lj_str.h lj_tab.h lj_func.h lj_udata.h \ | ||
53 | lj_meta.h lj_state.h lj_bc.h lj_frame.h lj_trace.h lj_jit.h lj_ir.h \ | ||
54 | lj_dispatch.h lj_traceerr.h lj_vm.h lj_lex.h lj_bcdump.h lj_parse.h | ||
55 | lj_asm.o: lj_asm.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h lj_gc.h \ | ||
56 | lj_str.h lj_tab.h lj_frame.h lj_bc.h lj_ctype.h lj_ir.h lj_jit.h \ | ||
57 | lj_ircall.h lj_iropt.h lj_mcode.h lj_trace.h lj_dispatch.h lj_traceerr.h \ | ||
58 | lj_snap.h lj_asm.h lj_vm.h lj_target.h lj_target_*.h lj_emit_*.h \ | ||
59 | lj_asm_*.h | ||
60 | lj_bc.o: lj_bc.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h lj_bc.h \ | ||
61 | lj_bcdef.h | ||
62 | lj_bcread.o: lj_bcread.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
63 | lj_gc.h lj_err.h lj_errmsg.h lj_str.h lj_tab.h lj_bc.h lj_ctype.h \ | ||
64 | lj_cdata.h lj_lex.h lj_bcdump.h lj_state.h | ||
65 | lj_bcwrite.o: lj_bcwrite.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
66 | lj_gc.h lj_str.h lj_bc.h lj_ctype.h lj_dispatch.h lj_jit.h lj_ir.h \ | ||
67 | lj_bcdump.h lj_lex.h lj_err.h lj_errmsg.h lj_vm.h | ||
68 | lj_carith.o: lj_carith.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
69 | lj_gc.h lj_err.h lj_errmsg.h lj_tab.h lj_meta.h lj_ctype.h lj_cconv.h \ | ||
70 | lj_cdata.h lj_carith.h | ||
71 | lj_ccall.o: lj_ccall.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
72 | lj_gc.h lj_err.h lj_errmsg.h lj_str.h lj_tab.h lj_ctype.h lj_cconv.h \ | ||
73 | lj_cdata.h lj_ccall.h lj_trace.h lj_jit.h lj_ir.h lj_dispatch.h lj_bc.h \ | ||
74 | lj_traceerr.h | ||
75 | lj_ccallback.o: lj_ccallback.c lj_obj.h lua.h luaconf.h lj_def.h \ | ||
76 | lj_arch.h lj_gc.h lj_err.h lj_errmsg.h lj_tab.h lj_state.h lj_frame.h \ | ||
77 | lj_bc.h lj_ctype.h lj_cconv.h lj_ccall.h lj_ccallback.h lj_target.h \ | ||
78 | lj_target_*.h lj_mcode.h lj_jit.h lj_ir.h lj_vm.h | ||
79 | lj_cconv.o: lj_cconv.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
80 | lj_err.h lj_errmsg.h lj_tab.h lj_ctype.h lj_gc.h lj_cdata.h lj_cconv.h \ | ||
81 | lj_ccallback.h | ||
82 | lj_cdata.o: lj_cdata.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
83 | lj_gc.h lj_err.h lj_errmsg.h lj_str.h lj_tab.h lj_ctype.h lj_cconv.h \ | ||
84 | lj_cdata.h | ||
85 | lj_char.o: lj_char.c lj_char.h lj_def.h lua.h luaconf.h | ||
86 | lj_clib.o: lj_clib.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h lj_gc.h \ | ||
87 | lj_err.h lj_errmsg.h lj_tab.h lj_str.h lj_udata.h lj_ctype.h lj_cconv.h \ | ||
88 | lj_cdata.h lj_clib.h | ||
89 | lj_cparse.o: lj_cparse.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
90 | lj_gc.h lj_err.h lj_errmsg.h lj_str.h lj_ctype.h lj_cparse.h lj_frame.h \ | ||
91 | lj_bc.h lj_vm.h lj_char.h | ||
92 | lj_crecord.o: lj_crecord.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
93 | lj_err.h lj_errmsg.h lj_str.h lj_tab.h lj_frame.h lj_bc.h lj_ctype.h \ | ||
94 | lj_gc.h lj_cdata.h lj_cparse.h lj_cconv.h lj_clib.h lj_ccall.h lj_ir.h \ | ||
95 | lj_jit.h lj_ircall.h lj_iropt.h lj_trace.h lj_dispatch.h lj_traceerr.h \ | ||
96 | lj_record.h lj_ffrecord.h lj_snap.h lj_crecord.h | ||
97 | lj_ctype.o: lj_ctype.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
98 | lj_gc.h lj_err.h lj_errmsg.h lj_str.h lj_tab.h lj_ctype.h lj_ccallback.h | ||
99 | lj_debug.o: lj_debug.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
100 | lj_err.h lj_errmsg.h lj_debug.h lj_str.h lj_tab.h lj_state.h lj_frame.h \ | ||
101 | lj_bc.h lj_jit.h lj_ir.h | ||
102 | lj_dispatch.o: lj_dispatch.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
103 | lj_err.h lj_errmsg.h lj_debug.h lj_state.h lj_frame.h lj_bc.h lj_ff.h \ | ||
104 | lj_ffdef.h lj_jit.h lj_ir.h lj_trace.h lj_dispatch.h lj_traceerr.h \ | ||
105 | lj_vm.h luajit.h | ||
106 | lj_err.o: lj_err.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h lj_err.h \ | ||
107 | lj_errmsg.h lj_debug.h lj_str.h lj_func.h lj_state.h lj_frame.h lj_bc.h \ | ||
108 | lj_ff.h lj_ffdef.h lj_trace.h lj_jit.h lj_ir.h lj_dispatch.h \ | ||
109 | lj_traceerr.h lj_vm.h | ||
110 | lj_ffrecord.o: lj_ffrecord.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
111 | lj_err.h lj_errmsg.h lj_str.h lj_tab.h lj_frame.h lj_bc.h lj_ff.h \ | ||
112 | lj_ffdef.h lj_ir.h lj_jit.h lj_ircall.h lj_iropt.h lj_trace.h \ | ||
113 | lj_dispatch.h lj_traceerr.h lj_record.h lj_ffrecord.h lj_crecord.h \ | ||
114 | lj_vm.h lj_recdef.h | ||
115 | lj_func.o: lj_func.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h lj_gc.h \ | ||
116 | lj_func.h lj_trace.h lj_jit.h lj_ir.h lj_dispatch.h lj_bc.h \ | ||
117 | lj_traceerr.h lj_vm.h | ||
118 | lj_gc.o: lj_gc.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h lj_gc.h \ | ||
119 | lj_err.h lj_errmsg.h lj_str.h lj_tab.h lj_func.h lj_udata.h lj_meta.h \ | ||
120 | lj_state.h lj_frame.h lj_bc.h lj_ctype.h lj_cdata.h lj_trace.h lj_jit.h \ | ||
121 | lj_ir.h lj_dispatch.h lj_traceerr.h lj_vm.h | ||
122 | lj_gdbjit.o: lj_gdbjit.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
123 | lj_gc.h lj_err.h lj_errmsg.h lj_debug.h lj_frame.h lj_bc.h lj_jit.h \ | ||
124 | lj_ir.h lj_dispatch.h | ||
125 | lj_ir.o: lj_ir.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h lj_gc.h \ | ||
126 | lj_str.h lj_tab.h lj_ir.h lj_jit.h lj_ircall.h lj_iropt.h lj_trace.h \ | ||
127 | lj_dispatch.h lj_bc.h lj_traceerr.h lj_ctype.h lj_cdata.h lj_carith.h \ | ||
128 | lj_vm.h lj_lib.h | ||
129 | lj_lex.o: lj_lex.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h lj_gc.h \ | ||
130 | lj_err.h lj_errmsg.h lj_str.h lj_tab.h lj_ctype.h lj_cdata.h lualib.h \ | ||
131 | lj_state.h lj_lex.h lj_parse.h lj_char.h | ||
132 | lj_lib.o: lj_lib.c lauxlib.h lua.h luaconf.h lj_obj.h lj_def.h lj_arch.h \ | ||
133 | lj_gc.h lj_err.h lj_errmsg.h lj_str.h lj_tab.h lj_func.h lj_bc.h \ | ||
134 | lj_dispatch.h lj_jit.h lj_ir.h lj_vm.h lj_lib.h | ||
135 | lj_mcode.o: lj_mcode.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
136 | lj_gc.h lj_jit.h lj_ir.h lj_mcode.h lj_trace.h lj_dispatch.h lj_bc.h \ | ||
137 | lj_traceerr.h lj_vm.h | ||
138 | lj_meta.o: lj_meta.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h lj_gc.h \ | ||
139 | lj_err.h lj_errmsg.h lj_str.h lj_tab.h lj_meta.h lj_frame.h lj_bc.h \ | ||
140 | lj_vm.h | ||
141 | lj_obj.o: lj_obj.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h | ||
142 | lj_opt_dce.o: lj_opt_dce.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
143 | lj_ir.h lj_jit.h lj_iropt.h | ||
144 | lj_opt_fold.o: lj_opt_fold.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
145 | lj_str.h lj_tab.h lj_ir.h lj_jit.h lj_iropt.h lj_trace.h lj_dispatch.h \ | ||
146 | lj_bc.h lj_traceerr.h lj_carith.h lj_vm.h lj_folddef.h | ||
147 | lj_opt_loop.o: lj_opt_loop.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
148 | lj_err.h lj_errmsg.h lj_str.h lj_ir.h lj_jit.h lj_iropt.h lj_trace.h \ | ||
149 | lj_dispatch.h lj_bc.h lj_traceerr.h lj_snap.h lj_vm.h | ||
150 | lj_opt_mem.o: lj_opt_mem.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
151 | lj_tab.h lj_ir.h lj_jit.h lj_iropt.h | ||
152 | lj_opt_narrow.o: lj_opt_narrow.c lj_obj.h lua.h luaconf.h lj_def.h \ | ||
153 | lj_arch.h lj_str.h lj_bc.h lj_ir.h lj_jit.h lj_iropt.h lj_trace.h \ | ||
154 | lj_dispatch.h lj_traceerr.h lj_vm.h | ||
155 | lj_opt_split.o: lj_opt_split.c lj_obj.h lua.h luaconf.h lj_def.h \ | ||
156 | lj_arch.h lj_err.h lj_errmsg.h lj_str.h lj_ir.h lj_jit.h lj_ircall.h \ | ||
157 | lj_iropt.h lj_vm.h | ||
158 | lj_parse.o: lj_parse.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
159 | lj_gc.h lj_err.h lj_errmsg.h lj_debug.h lj_str.h lj_tab.h lj_func.h \ | ||
160 | lj_state.h lj_bc.h lj_ctype.h lj_lex.h lj_parse.h lj_vm.h lj_vmevent.h | ||
161 | lj_record.o: lj_record.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
162 | lj_err.h lj_errmsg.h lj_str.h lj_tab.h lj_meta.h lj_frame.h lj_bc.h \ | ||
163 | lj_ff.h lj_ffdef.h lj_ir.h lj_jit.h lj_ircall.h lj_iropt.h lj_trace.h \ | ||
164 | lj_dispatch.h lj_traceerr.h lj_record.h lj_ffrecord.h lj_snap.h lj_vm.h | ||
165 | lj_snap.o: lj_snap.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h lj_gc.h \ | ||
166 | lj_state.h lj_frame.h lj_bc.h lj_ir.h lj_jit.h lj_iropt.h lj_trace.h \ | ||
167 | lj_dispatch.h lj_traceerr.h lj_snap.h lj_target.h lj_target_*.h | ||
168 | lj_state.o: lj_state.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
169 | lj_gc.h lj_err.h lj_errmsg.h lj_str.h lj_tab.h lj_func.h lj_meta.h \ | ||
170 | lj_state.h lj_frame.h lj_bc.h lj_ctype.h lj_trace.h lj_jit.h lj_ir.h \ | ||
171 | lj_dispatch.h lj_traceerr.h lj_vm.h lj_lex.h lj_alloc.h | ||
172 | lj_str.o: lj_str.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h lj_gc.h \ | ||
173 | lj_err.h lj_errmsg.h lj_str.h lj_state.h lj_char.h | ||
174 | lj_tab.o: lj_tab.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h lj_gc.h \ | ||
175 | lj_err.h lj_errmsg.h lj_tab.h | ||
176 | lj_trace.o: lj_trace.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
177 | lj_gc.h lj_err.h lj_errmsg.h lj_debug.h lj_str.h lj_frame.h lj_bc.h \ | ||
178 | lj_state.h lj_ir.h lj_jit.h lj_iropt.h lj_mcode.h lj_trace.h \ | ||
179 | lj_dispatch.h lj_traceerr.h lj_snap.h lj_gdbjit.h lj_record.h lj_asm.h \ | ||
180 | lj_vm.h lj_vmevent.h lj_target.h lj_target_*.h | ||
181 | lj_udata.o: lj_udata.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
182 | lj_gc.h lj_udata.h | ||
183 | lj_vmevent.o: lj_vmevent.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
184 | lj_str.h lj_tab.h lj_state.h lj_dispatch.h lj_bc.h lj_jit.h lj_ir.h \ | ||
185 | lj_vm.h lj_vmevent.h | ||
186 | lj_vmmath.o: lj_vmmath.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h \ | ||
187 | lj_ir.h lj_vm.h | ||
188 | ljamalg.o: ljamalg.c lua.h luaconf.h lauxlib.h lj_gc.c lj_obj.h lj_def.h \ | ||
189 | lj_arch.h lj_gc.h lj_err.h lj_errmsg.h lj_str.h lj_tab.h lj_func.h \ | ||
190 | lj_udata.h lj_meta.h lj_state.h lj_frame.h lj_bc.h lj_ctype.h lj_cdata.h \ | ||
191 | lj_trace.h lj_jit.h lj_ir.h lj_dispatch.h lj_traceerr.h lj_vm.h lj_err.c \ | ||
192 | lj_debug.h lj_ff.h lj_ffdef.h lj_char.c lj_char.h lj_bc.c lj_bcdef.h \ | ||
193 | lj_obj.c lj_str.c lj_tab.c lj_func.c lj_udata.c lj_meta.c lj_debug.c \ | ||
194 | lj_state.c lj_lex.h lj_alloc.h lj_dispatch.c luajit.h lj_vmevent.c \ | ||
195 | lj_vmevent.h lj_vmmath.c lj_api.c lj_bcdump.h lj_parse.h lj_lex.c \ | ||
196 | lualib.h lj_parse.c lj_bcread.c lj_bcwrite.c lj_ctype.c lj_ccallback.h \ | ||
197 | lj_cdata.c lj_cconv.h lj_cconv.c lj_ccall.c lj_ccall.h lj_ccallback.c \ | ||
198 | lj_target.h lj_target_*.h lj_mcode.h lj_carith.c lj_carith.h lj_clib.c \ | ||
199 | lj_clib.h lj_cparse.c lj_cparse.h lj_lib.c lj_lib.h lj_ir.c lj_ircall.h \ | ||
200 | lj_iropt.h lj_opt_mem.c lj_opt_fold.c lj_folddef.h lj_opt_narrow.c \ | ||
201 | lj_opt_dce.c lj_opt_loop.c lj_snap.h lj_opt_split.c lj_mcode.c lj_snap.c \ | ||
202 | lj_record.c lj_record.h lj_ffrecord.h lj_crecord.c lj_crecord.h \ | ||
203 | lj_ffrecord.c lj_recdef.h lj_asm.c lj_asm.h lj_emit_*.h lj_asm_*.h \ | ||
204 | lj_trace.c lj_gdbjit.h lj_gdbjit.c lj_alloc.c lib_aux.c lib_base.c \ | ||
205 | lj_libdef.h lib_math.c lib_string.c lib_table.c lib_io.c lib_os.c \ | ||
206 | lib_package.c lib_debug.c lib_bit.c lib_jit.c lib_ffi.c lib_init.c | ||
207 | luajit.o: luajit.c lua.h luaconf.h lauxlib.h lualib.h luajit.h lj_arch.h | ||