diff options
author | Mike Pall <mike> | 2012-06-09 15:04:03 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2012-06-09 15:12:44 +0200 |
commit | 9a9509c66a98d0bf42003ad5d06e8f275c5ff1f5 (patch) | |
tree | f5ca35d9ed7cc66f644828233f511f6db4634849 /src/Makefile.dep | |
parent | 0a6c8338d240dd318db2f5269414dcf7ddc9ed35 (diff) | |
download | luajit-9a9509c66a98d0bf42003ad5d06e8f275c5ff1f5.tar.gz luajit-9a9509c66a98d0bf42003ad5d06e8f275c5ff1f5.tar.bz2 luajit-9a9509c66a98d0bf42003ad5d06e8f275c5ff1f5.zip |
Reorganize build process.
Drop pre-translated buildvm_*.h.
Rename buildvm_*.dasc to vm_*.dasc.
Move buildvm* to host directory.
Build minilua, unless HOST_LUA is set.
Use HOST_LUA to run DynASM.
Translate only vm_*.dasc for target architecture.
Diffstat (limited to 'src/Makefile.dep')
-rw-r--r-- | src/Makefile.dep | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/src/Makefile.dep b/src/Makefile.dep index 82cdc0d7..ff4492fb 100644 --- a/src/Makefile.dep +++ b/src/Makefile.dep | |||
@@ -1,15 +1,3 @@ | |||
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 \ | 1 | 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 | 2 | 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 \ | 3 | lib_base.o: lib_base.c lua.h luaconf.h lauxlib.h lualib.h lj_obj.h \ |
@@ -207,3 +195,17 @@ ljamalg.o: ljamalg.c lua.h luaconf.h lauxlib.h lj_gc.c lj_obj.h lj_def.h \ | |||
207 | lj_libdef.h lib_math.c lib_string.c lib_table.c lib_io.c lib_os.c \ | 195 | lj_libdef.h lib_math.c lib_string.c lib_table.c lib_io.c lib_os.c \ |
208 | lib_package.c lib_debug.c lib_bit.c lib_jit.c lib_ffi.c lib_init.c | 196 | lib_package.c lib_debug.c lib_bit.c lib_jit.c lib_ffi.c lib_init.c |
209 | luajit.o: luajit.c lua.h luaconf.h lauxlib.h lualib.h luajit.h lj_arch.h | 197 | luajit.o: luajit.c lua.h luaconf.h lauxlib.h lualib.h luajit.h lj_arch.h |
198 | host/buildvm.o: host/buildvm.c host/buildvm.h lj_def.h lua.h luaconf.h \ | ||
199 | lj_arch.h lj_obj.h lj_def.h lj_arch.h lj_gc.h lj_obj.h lj_bc.h lj_ir.h \ | ||
200 | lj_ircall.h lj_ir.h lj_jit.h lj_frame.h lj_bc.h lj_dispatch.h lj_ctype.h \ | ||
201 | lj_gc.h lj_ccall.h lj_ctype.h luajit.h \ | ||
202 | host/buildvm_arch.h lj_traceerr.h | ||
203 | host/buildvm_asm.o: host/buildvm_asm.c host/buildvm.h lj_def.h lua.h luaconf.h \ | ||
204 | lj_arch.h lj_bc.h lj_def.h lj_arch.h | ||
205 | host/buildvm_fold.o: host/buildvm_fold.c host/buildvm.h lj_def.h lua.h \ | ||
206 | luaconf.h lj_arch.h lj_obj.h lj_def.h lj_arch.h lj_ir.h lj_obj.h | ||
207 | host/buildvm_lib.o: host/buildvm_lib.c host/buildvm.h lj_def.h lua.h luaconf.h \ | ||
208 | lj_arch.h lj_obj.h lj_def.h lj_arch.h lj_lib.h lj_obj.h | ||
209 | host/buildvm_peobj.o: host/buildvm_peobj.c host/buildvm.h lj_def.h lua.h \ | ||
210 | luaconf.h lj_arch.h lj_bc.h lj_def.h lj_arch.h | ||
211 | host/minilua.o: host/minilua.c | ||