Browse Source

Move lib/* to src/jit/*.

Mike Pall 13 years ago
parent
commit
cccf763898

+ 1 - 1
Makefile

@@ -120,7 +120,7 @@ install: $(INSTALL_DEP)
 	  $(INSTALL_F) $(FILE_PC).tmp $(INSTALL_PC) && \
 	  $(RM) $(FILE_PC).tmp
 	cd src && $(INSTALL_F) $(FILES_INC) $(INSTALL_INC)
-	cd lib && $(INSTALL_F) $(FILES_JITLIB) $(INSTALL_JITLIB)
+	cd src/jit && $(INSTALL_F) $(FILES_JITLIB) $(INSTALL_JITLIB)
 	@echo "==== Successfully installed LuaJIT $(VERSION) to $(PREFIX) ===="
 	@echo ""
 	@echo "Note: the beta releases deliberately do NOT install a symlink for luajit"

+ 1 - 1
doc/install.html

@@ -329,7 +329,7 @@ Then follow the installation instructions below.
 Copy <tt>luajit.exe</tt> and <tt>lua51.dll</tt> (built in the <tt>src</tt>
 directory) to a newly created directory (any location is ok).
 Add <tt>lua</tt> and <tt>lua\jit</tt> directories below it and copy
-all Lua files from the <tt>lib</tt> directory of the distribution
+all Lua files from the <tt>src\jit</tt> directory of the distribution
 to the latter directory.
 </p>
 <p>

+ 1 - 1
src/Makefile

@@ -401,7 +401,7 @@ LJCORE_O= lj_gc.o lj_err.o lj_char.o lj_bc.o lj_obj.o \
 LJVMCORE_O= $(LJVM_O) $(LJCORE_O)
 LJVMCORE_DYNO= $(LJVMCORE_O:.o=_dyn.o)
 
-LIB_VMDEF= ../lib/vmdef.lua
+LIB_VMDEF= jit/vmdef.lua
 LIB_VMDEFP= $(LIB_VMDEF)
 
 LUAJIT_O= luajit.o

+ 0 - 0
lib/.gitignore → src/jit/.gitignore


+ 0 - 0
lib/bc.lua → src/jit/bc.lua


+ 0 - 0
lib/bcsave.lua → src/jit/bcsave.lua


+ 0 - 0
lib/dis_arm.lua → src/jit/dis_arm.lua


+ 0 - 0
lib/dis_mips.lua → src/jit/dis_mips.lua


+ 0 - 0
lib/dis_mipsel.lua → src/jit/dis_mipsel.lua


+ 0 - 0
lib/dis_ppc.lua → src/jit/dis_ppc.lua


+ 0 - 0
lib/dis_x64.lua → src/jit/dis_x64.lua


+ 0 - 0
lib/dis_x86.lua → src/jit/dis_x86.lua


+ 0 - 0
lib/dump.lua → src/jit/dump.lua


+ 0 - 0
lib/v.lua → src/jit/v.lua


+ 1 - 1
src/msvcbuild.bat

@@ -46,7 +46,7 @@ buildvm -m libdef -o lj_libdef.h %ALL_LIB%
 @if errorlevel 1 goto :BAD
 buildvm -m recdef -o lj_recdef.h %ALL_LIB%
 @if errorlevel 1 goto :BAD
-buildvm -m vmdef -o ..\lib\vmdef.lua %ALL_LIB%
+buildvm -m vmdef -o jit\vmdef.lua %ALL_LIB%
 @if errorlevel 1 goto :BAD
 buildvm -m folddef -o lj_folddef.h lj_opt_fold.c
 @if errorlevel 1 goto :BAD