1
0

fixed bindings generation

This commit is contained in:
Tycho Bickerstaff 2013-12-18 23:54:55 +00:00
parent 1149ab216c
commit 7dd1561a88
9 changed files with 1092 additions and 8044 deletions

2
.gitignore vendored
View File

@ -48,3 +48,5 @@ Makefile
cmake_install.cmake cmake_install.cmake
install_mainfest.txt install_mainfest.txt
src/MCServer src/MCServer
lib/tolua++/tolua
src/Bindings/Bindings.*

View File

@ -12,6 +12,7 @@ add_subdirectory(lib/jsoncpp/)
add_subdirectory(lib/cryptopp/) add_subdirectory(lib/cryptopp/)
add_subdirectory(lib/zlib/) add_subdirectory(lib/zlib/)
add_subdirectory(lib/lua/) add_subdirectory(lib/lua/)
add_subdirectory(lib/tolua++/)
#TODo: set -Wall -Werror -Wextra #TODo: set -Wall -Werror -Wextra
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_BAK}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_BAK}")

View File

@ -5,25 +5,8 @@ project (lua)
include_directories ("${PROJECT_SOURCE_DIR}/../../src/") include_directories ("${PROJECT_SOURCE_DIR}/../../src/")
file(GLOB SOURCE file(GLOB SOURCE
"*.c" "src/*.c"
) )
list(REMOVE_ITEM SOURCE "${PROJECT_SOURCE_DIR}/lua.c") add_library(lua ${SOURCE})
if ((${CMAKE_GENERATOR} MATCHES "Unix Makefiles") AND (NOT LUA_CMAKE_BUILD))
if(NOT ${PROJECT_SOURCE_DIR} MATCHES ${PROJECT_BINARY_DIR})
message(WARNING "lua does not support prefix when using the makefile")
endif()
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/lua
COMMAND "make"
DEPENDS ${SOURCE}
)
else()
message("generator [${CMAKE_GENERATOR}] does not match Unix Makefiles so manually compiling lua")
add_library(lua ${SOURCE})
endif()

View File

@ -95,6 +95,788 @@ depend:
cd /home/tycho/MCServer && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 cd /home/tycho/MCServer && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend .PHONY : depend
# Convenience name for target.
lib/lua/CMakeFiles/lua.dir/rule:
cd /home/tycho/MCServer && $(MAKE) -f CMakeFiles/Makefile2 lib/lua/CMakeFiles/lua.dir/rule
.PHONY : lib/lua/CMakeFiles/lua.dir/rule
# Convenience name for target.
lua: lib/lua/CMakeFiles/lua.dir/rule
.PHONY : lua
# fast build rule for target.
lua/fast:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/build
.PHONY : lua/fast
src/lapi.o: src/lapi.c.o
.PHONY : src/lapi.o
# target to build an object file
src/lapi.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lapi.c.o
.PHONY : src/lapi.c.o
src/lapi.i: src/lapi.c.i
.PHONY : src/lapi.i
# target to preprocess a source file
src/lapi.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lapi.c.i
.PHONY : src/lapi.c.i
src/lapi.s: src/lapi.c.s
.PHONY : src/lapi.s
# target to generate assembly for a file
src/lapi.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lapi.c.s
.PHONY : src/lapi.c.s
src/lauxlib.o: src/lauxlib.c.o
.PHONY : src/lauxlib.o
# target to build an object file
src/lauxlib.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lauxlib.c.o
.PHONY : src/lauxlib.c.o
src/lauxlib.i: src/lauxlib.c.i
.PHONY : src/lauxlib.i
# target to preprocess a source file
src/lauxlib.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lauxlib.c.i
.PHONY : src/lauxlib.c.i
src/lauxlib.s: src/lauxlib.c.s
.PHONY : src/lauxlib.s
# target to generate assembly for a file
src/lauxlib.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lauxlib.c.s
.PHONY : src/lauxlib.c.s
src/lbaselib.o: src/lbaselib.c.o
.PHONY : src/lbaselib.o
# target to build an object file
src/lbaselib.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lbaselib.c.o
.PHONY : src/lbaselib.c.o
src/lbaselib.i: src/lbaselib.c.i
.PHONY : src/lbaselib.i
# target to preprocess a source file
src/lbaselib.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lbaselib.c.i
.PHONY : src/lbaselib.c.i
src/lbaselib.s: src/lbaselib.c.s
.PHONY : src/lbaselib.s
# target to generate assembly for a file
src/lbaselib.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lbaselib.c.s
.PHONY : src/lbaselib.c.s
src/lcode.o: src/lcode.c.o
.PHONY : src/lcode.o
# target to build an object file
src/lcode.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lcode.c.o
.PHONY : src/lcode.c.o
src/lcode.i: src/lcode.c.i
.PHONY : src/lcode.i
# target to preprocess a source file
src/lcode.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lcode.c.i
.PHONY : src/lcode.c.i
src/lcode.s: src/lcode.c.s
.PHONY : src/lcode.s
# target to generate assembly for a file
src/lcode.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lcode.c.s
.PHONY : src/lcode.c.s
src/ldblib.o: src/ldblib.c.o
.PHONY : src/ldblib.o
# target to build an object file
src/ldblib.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldblib.c.o
.PHONY : src/ldblib.c.o
src/ldblib.i: src/ldblib.c.i
.PHONY : src/ldblib.i
# target to preprocess a source file
src/ldblib.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldblib.c.i
.PHONY : src/ldblib.c.i
src/ldblib.s: src/ldblib.c.s
.PHONY : src/ldblib.s
# target to generate assembly for a file
src/ldblib.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldblib.c.s
.PHONY : src/ldblib.c.s
src/ldebug.o: src/ldebug.c.o
.PHONY : src/ldebug.o
# target to build an object file
src/ldebug.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldebug.c.o
.PHONY : src/ldebug.c.o
src/ldebug.i: src/ldebug.c.i
.PHONY : src/ldebug.i
# target to preprocess a source file
src/ldebug.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldebug.c.i
.PHONY : src/ldebug.c.i
src/ldebug.s: src/ldebug.c.s
.PHONY : src/ldebug.s
# target to generate assembly for a file
src/ldebug.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldebug.c.s
.PHONY : src/ldebug.c.s
src/ldo.o: src/ldo.c.o
.PHONY : src/ldo.o
# target to build an object file
src/ldo.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldo.c.o
.PHONY : src/ldo.c.o
src/ldo.i: src/ldo.c.i
.PHONY : src/ldo.i
# target to preprocess a source file
src/ldo.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldo.c.i
.PHONY : src/ldo.c.i
src/ldo.s: src/ldo.c.s
.PHONY : src/ldo.s
# target to generate assembly for a file
src/ldo.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldo.c.s
.PHONY : src/ldo.c.s
src/ldump.o: src/ldump.c.o
.PHONY : src/ldump.o
# target to build an object file
src/ldump.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldump.c.o
.PHONY : src/ldump.c.o
src/ldump.i: src/ldump.c.i
.PHONY : src/ldump.i
# target to preprocess a source file
src/ldump.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldump.c.i
.PHONY : src/ldump.c.i
src/ldump.s: src/ldump.c.s
.PHONY : src/ldump.s
# target to generate assembly for a file
src/ldump.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ldump.c.s
.PHONY : src/ldump.c.s
src/lfunc.o: src/lfunc.c.o
.PHONY : src/lfunc.o
# target to build an object file
src/lfunc.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lfunc.c.o
.PHONY : src/lfunc.c.o
src/lfunc.i: src/lfunc.c.i
.PHONY : src/lfunc.i
# target to preprocess a source file
src/lfunc.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lfunc.c.i
.PHONY : src/lfunc.c.i
src/lfunc.s: src/lfunc.c.s
.PHONY : src/lfunc.s
# target to generate assembly for a file
src/lfunc.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lfunc.c.s
.PHONY : src/lfunc.c.s
src/lgc.o: src/lgc.c.o
.PHONY : src/lgc.o
# target to build an object file
src/lgc.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lgc.c.o
.PHONY : src/lgc.c.o
src/lgc.i: src/lgc.c.i
.PHONY : src/lgc.i
# target to preprocess a source file
src/lgc.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lgc.c.i
.PHONY : src/lgc.c.i
src/lgc.s: src/lgc.c.s
.PHONY : src/lgc.s
# target to generate assembly for a file
src/lgc.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lgc.c.s
.PHONY : src/lgc.c.s
src/linit.o: src/linit.c.o
.PHONY : src/linit.o
# target to build an object file
src/linit.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/linit.c.o
.PHONY : src/linit.c.o
src/linit.i: src/linit.c.i
.PHONY : src/linit.i
# target to preprocess a source file
src/linit.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/linit.c.i
.PHONY : src/linit.c.i
src/linit.s: src/linit.c.s
.PHONY : src/linit.s
# target to generate assembly for a file
src/linit.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/linit.c.s
.PHONY : src/linit.c.s
src/liolib.o: src/liolib.c.o
.PHONY : src/liolib.o
# target to build an object file
src/liolib.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/liolib.c.o
.PHONY : src/liolib.c.o
src/liolib.i: src/liolib.c.i
.PHONY : src/liolib.i
# target to preprocess a source file
src/liolib.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/liolib.c.i
.PHONY : src/liolib.c.i
src/liolib.s: src/liolib.c.s
.PHONY : src/liolib.s
# target to generate assembly for a file
src/liolib.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/liolib.c.s
.PHONY : src/liolib.c.s
src/llex.o: src/llex.c.o
.PHONY : src/llex.o
# target to build an object file
src/llex.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/llex.c.o
.PHONY : src/llex.c.o
src/llex.i: src/llex.c.i
.PHONY : src/llex.i
# target to preprocess a source file
src/llex.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/llex.c.i
.PHONY : src/llex.c.i
src/llex.s: src/llex.c.s
.PHONY : src/llex.s
# target to generate assembly for a file
src/llex.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/llex.c.s
.PHONY : src/llex.c.s
src/lmathlib.o: src/lmathlib.c.o
.PHONY : src/lmathlib.o
# target to build an object file
src/lmathlib.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lmathlib.c.o
.PHONY : src/lmathlib.c.o
src/lmathlib.i: src/lmathlib.c.i
.PHONY : src/lmathlib.i
# target to preprocess a source file
src/lmathlib.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lmathlib.c.i
.PHONY : src/lmathlib.c.i
src/lmathlib.s: src/lmathlib.c.s
.PHONY : src/lmathlib.s
# target to generate assembly for a file
src/lmathlib.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lmathlib.c.s
.PHONY : src/lmathlib.c.s
src/lmem.o: src/lmem.c.o
.PHONY : src/lmem.o
# target to build an object file
src/lmem.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lmem.c.o
.PHONY : src/lmem.c.o
src/lmem.i: src/lmem.c.i
.PHONY : src/lmem.i
# target to preprocess a source file
src/lmem.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lmem.c.i
.PHONY : src/lmem.c.i
src/lmem.s: src/lmem.c.s
.PHONY : src/lmem.s
# target to generate assembly for a file
src/lmem.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lmem.c.s
.PHONY : src/lmem.c.s
src/loadlib.o: src/loadlib.c.o
.PHONY : src/loadlib.o
# target to build an object file
src/loadlib.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/loadlib.c.o
.PHONY : src/loadlib.c.o
src/loadlib.i: src/loadlib.c.i
.PHONY : src/loadlib.i
# target to preprocess a source file
src/loadlib.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/loadlib.c.i
.PHONY : src/loadlib.c.i
src/loadlib.s: src/loadlib.c.s
.PHONY : src/loadlib.s
# target to generate assembly for a file
src/loadlib.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/loadlib.c.s
.PHONY : src/loadlib.c.s
src/lobject.o: src/lobject.c.o
.PHONY : src/lobject.o
# target to build an object file
src/lobject.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lobject.c.o
.PHONY : src/lobject.c.o
src/lobject.i: src/lobject.c.i
.PHONY : src/lobject.i
# target to preprocess a source file
src/lobject.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lobject.c.i
.PHONY : src/lobject.c.i
src/lobject.s: src/lobject.c.s
.PHONY : src/lobject.s
# target to generate assembly for a file
src/lobject.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lobject.c.s
.PHONY : src/lobject.c.s
src/lopcodes.o: src/lopcodes.c.o
.PHONY : src/lopcodes.o
# target to build an object file
src/lopcodes.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lopcodes.c.o
.PHONY : src/lopcodes.c.o
src/lopcodes.i: src/lopcodes.c.i
.PHONY : src/lopcodes.i
# target to preprocess a source file
src/lopcodes.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lopcodes.c.i
.PHONY : src/lopcodes.c.i
src/lopcodes.s: src/lopcodes.c.s
.PHONY : src/lopcodes.s
# target to generate assembly for a file
src/lopcodes.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lopcodes.c.s
.PHONY : src/lopcodes.c.s
src/loslib.o: src/loslib.c.o
.PHONY : src/loslib.o
# target to build an object file
src/loslib.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/loslib.c.o
.PHONY : src/loslib.c.o
src/loslib.i: src/loslib.c.i
.PHONY : src/loslib.i
# target to preprocess a source file
src/loslib.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/loslib.c.i
.PHONY : src/loslib.c.i
src/loslib.s: src/loslib.c.s
.PHONY : src/loslib.s
# target to generate assembly for a file
src/loslib.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/loslib.c.s
.PHONY : src/loslib.c.s
src/lparser.o: src/lparser.c.o
.PHONY : src/lparser.o
# target to build an object file
src/lparser.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lparser.c.o
.PHONY : src/lparser.c.o
src/lparser.i: src/lparser.c.i
.PHONY : src/lparser.i
# target to preprocess a source file
src/lparser.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lparser.c.i
.PHONY : src/lparser.c.i
src/lparser.s: src/lparser.c.s
.PHONY : src/lparser.s
# target to generate assembly for a file
src/lparser.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lparser.c.s
.PHONY : src/lparser.c.s
src/lstate.o: src/lstate.c.o
.PHONY : src/lstate.o
# target to build an object file
src/lstate.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lstate.c.o
.PHONY : src/lstate.c.o
src/lstate.i: src/lstate.c.i
.PHONY : src/lstate.i
# target to preprocess a source file
src/lstate.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lstate.c.i
.PHONY : src/lstate.c.i
src/lstate.s: src/lstate.c.s
.PHONY : src/lstate.s
# target to generate assembly for a file
src/lstate.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lstate.c.s
.PHONY : src/lstate.c.s
src/lstring.o: src/lstring.c.o
.PHONY : src/lstring.o
# target to build an object file
src/lstring.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lstring.c.o
.PHONY : src/lstring.c.o
src/lstring.i: src/lstring.c.i
.PHONY : src/lstring.i
# target to preprocess a source file
src/lstring.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lstring.c.i
.PHONY : src/lstring.c.i
src/lstring.s: src/lstring.c.s
.PHONY : src/lstring.s
# target to generate assembly for a file
src/lstring.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lstring.c.s
.PHONY : src/lstring.c.s
src/lstrlib.o: src/lstrlib.c.o
.PHONY : src/lstrlib.o
# target to build an object file
src/lstrlib.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lstrlib.c.o
.PHONY : src/lstrlib.c.o
src/lstrlib.i: src/lstrlib.c.i
.PHONY : src/lstrlib.i
# target to preprocess a source file
src/lstrlib.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lstrlib.c.i
.PHONY : src/lstrlib.c.i
src/lstrlib.s: src/lstrlib.c.s
.PHONY : src/lstrlib.s
# target to generate assembly for a file
src/lstrlib.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lstrlib.c.s
.PHONY : src/lstrlib.c.s
src/ltable.o: src/ltable.c.o
.PHONY : src/ltable.o
# target to build an object file
src/ltable.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ltable.c.o
.PHONY : src/ltable.c.o
src/ltable.i: src/ltable.c.i
.PHONY : src/ltable.i
# target to preprocess a source file
src/ltable.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ltable.c.i
.PHONY : src/ltable.c.i
src/ltable.s: src/ltable.c.s
.PHONY : src/ltable.s
# target to generate assembly for a file
src/ltable.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ltable.c.s
.PHONY : src/ltable.c.s
src/ltablib.o: src/ltablib.c.o
.PHONY : src/ltablib.o
# target to build an object file
src/ltablib.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ltablib.c.o
.PHONY : src/ltablib.c.o
src/ltablib.i: src/ltablib.c.i
.PHONY : src/ltablib.i
# target to preprocess a source file
src/ltablib.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ltablib.c.i
.PHONY : src/ltablib.c.i
src/ltablib.s: src/ltablib.c.s
.PHONY : src/ltablib.s
# target to generate assembly for a file
src/ltablib.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ltablib.c.s
.PHONY : src/ltablib.c.s
src/ltm.o: src/ltm.c.o
.PHONY : src/ltm.o
# target to build an object file
src/ltm.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ltm.c.o
.PHONY : src/ltm.c.o
src/ltm.i: src/ltm.c.i
.PHONY : src/ltm.i
# target to preprocess a source file
src/ltm.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ltm.c.i
.PHONY : src/ltm.c.i
src/ltm.s: src/ltm.c.s
.PHONY : src/ltm.s
# target to generate assembly for a file
src/ltm.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/ltm.c.s
.PHONY : src/ltm.c.s
src/lua.o: src/lua.c.o
.PHONY : src/lua.o
# target to build an object file
src/lua.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lua.c.o
.PHONY : src/lua.c.o
src/lua.i: src/lua.c.i
.PHONY : src/lua.i
# target to preprocess a source file
src/lua.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lua.c.i
.PHONY : src/lua.c.i
src/lua.s: src/lua.c.s
.PHONY : src/lua.s
# target to generate assembly for a file
src/lua.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lua.c.s
.PHONY : src/lua.c.s
src/luac.o: src/luac.c.o
.PHONY : src/luac.o
# target to build an object file
src/luac.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/luac.c.o
.PHONY : src/luac.c.o
src/luac.i: src/luac.c.i
.PHONY : src/luac.i
# target to preprocess a source file
src/luac.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/luac.c.i
.PHONY : src/luac.c.i
src/luac.s: src/luac.c.s
.PHONY : src/luac.s
# target to generate assembly for a file
src/luac.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/luac.c.s
.PHONY : src/luac.c.s
src/lundump.o: src/lundump.c.o
.PHONY : src/lundump.o
# target to build an object file
src/lundump.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lundump.c.o
.PHONY : src/lundump.c.o
src/lundump.i: src/lundump.c.i
.PHONY : src/lundump.i
# target to preprocess a source file
src/lundump.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lundump.c.i
.PHONY : src/lundump.c.i
src/lundump.s: src/lundump.c.s
.PHONY : src/lundump.s
# target to generate assembly for a file
src/lundump.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lundump.c.s
.PHONY : src/lundump.c.s
src/lvm.o: src/lvm.c.o
.PHONY : src/lvm.o
# target to build an object file
src/lvm.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lvm.c.o
.PHONY : src/lvm.c.o
src/lvm.i: src/lvm.c.i
.PHONY : src/lvm.i
# target to preprocess a source file
src/lvm.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lvm.c.i
.PHONY : src/lvm.c.i
src/lvm.s: src/lvm.c.s
.PHONY : src/lvm.s
# target to generate assembly for a file
src/lvm.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lvm.c.s
.PHONY : src/lvm.c.s
src/lzio.o: src/lzio.c.o
.PHONY : src/lzio.o
# target to build an object file
src/lzio.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lzio.c.o
.PHONY : src/lzio.c.o
src/lzio.i: src/lzio.c.i
.PHONY : src/lzio.i
# target to preprocess a source file
src/lzio.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lzio.c.i
.PHONY : src/lzio.c.i
src/lzio.s: src/lzio.c.s
.PHONY : src/lzio.s
# target to generate assembly for a file
src/lzio.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/lzio.c.s
.PHONY : src/lzio.c.s
src/print.o: src/print.c.o
.PHONY : src/print.o
# target to build an object file
src/print.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/print.c.o
.PHONY : src/print.c.o
src/print.i: src/print.c.i
.PHONY : src/print.i
# target to preprocess a source file
src/print.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/print.c.i
.PHONY : src/print.c.i
src/print.s: src/print.c.s
.PHONY : src/print.s
# target to generate assembly for a file
src/print.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/lua/CMakeFiles/lua.dir/build.make lib/lua/CMakeFiles/lua.dir/src/print.c.s
.PHONY : src/print.c.s
# Help Target # Help Target
help: help:
@echo "The following are some of the valid targets for this Makefile:" @echo "The following are some of the valid targets for this Makefile:"
@ -102,7 +884,104 @@ help:
@echo "... clean" @echo "... clean"
@echo "... depend" @echo "... depend"
@echo "... edit_cache" @echo "... edit_cache"
@echo "... lua"
@echo "... rebuild_cache" @echo "... rebuild_cache"
@echo "... src/lapi.o"
@echo "... src/lapi.i"
@echo "... src/lapi.s"
@echo "... src/lauxlib.o"
@echo "... src/lauxlib.i"
@echo "... src/lauxlib.s"
@echo "... src/lbaselib.o"
@echo "... src/lbaselib.i"
@echo "... src/lbaselib.s"
@echo "... src/lcode.o"
@echo "... src/lcode.i"
@echo "... src/lcode.s"
@echo "... src/ldblib.o"
@echo "... src/ldblib.i"
@echo "... src/ldblib.s"
@echo "... src/ldebug.o"
@echo "... src/ldebug.i"
@echo "... src/ldebug.s"
@echo "... src/ldo.o"
@echo "... src/ldo.i"
@echo "... src/ldo.s"
@echo "... src/ldump.o"
@echo "... src/ldump.i"
@echo "... src/ldump.s"
@echo "... src/lfunc.o"
@echo "... src/lfunc.i"
@echo "... src/lfunc.s"
@echo "... src/lgc.o"
@echo "... src/lgc.i"
@echo "... src/lgc.s"
@echo "... src/linit.o"
@echo "... src/linit.i"
@echo "... src/linit.s"
@echo "... src/liolib.o"
@echo "... src/liolib.i"
@echo "... src/liolib.s"
@echo "... src/llex.o"
@echo "... src/llex.i"
@echo "... src/llex.s"
@echo "... src/lmathlib.o"
@echo "... src/lmathlib.i"
@echo "... src/lmathlib.s"
@echo "... src/lmem.o"
@echo "... src/lmem.i"
@echo "... src/lmem.s"
@echo "... src/loadlib.o"
@echo "... src/loadlib.i"
@echo "... src/loadlib.s"
@echo "... src/lobject.o"
@echo "... src/lobject.i"
@echo "... src/lobject.s"
@echo "... src/lopcodes.o"
@echo "... src/lopcodes.i"
@echo "... src/lopcodes.s"
@echo "... src/loslib.o"
@echo "... src/loslib.i"
@echo "... src/loslib.s"
@echo "... src/lparser.o"
@echo "... src/lparser.i"
@echo "... src/lparser.s"
@echo "... src/lstate.o"
@echo "... src/lstate.i"
@echo "... src/lstate.s"
@echo "... src/lstring.o"
@echo "... src/lstring.i"
@echo "... src/lstring.s"
@echo "... src/lstrlib.o"
@echo "... src/lstrlib.i"
@echo "... src/lstrlib.s"
@echo "... src/ltable.o"
@echo "... src/ltable.i"
@echo "... src/ltable.s"
@echo "... src/ltablib.o"
@echo "... src/ltablib.i"
@echo "... src/ltablib.s"
@echo "... src/ltm.o"
@echo "... src/ltm.i"
@echo "... src/ltm.s"
@echo "... src/lua.o"
@echo "... src/lua.i"
@echo "... src/lua.s"
@echo "... src/luac.o"
@echo "... src/luac.i"
@echo "... src/luac.s"
@echo "... src/lundump.o"
@echo "... src/lundump.i"
@echo "... src/lundump.s"
@echo "... src/lvm.o"
@echo "... src/lvm.i"
@echo "... src/lvm.s"
@echo "... src/lzio.o"
@echo "... src/lzio.i"
@echo "... src/lzio.s"
@echo "... src/print.o"
@echo "... src/print.i"
@echo "... src/print.s"
.PHONY : help .PHONY : help

View File

@ -0,0 +1,17 @@
cmake_minimum_required (VERSION 2.6)
project (tolua++)
include_directories ("${PROJECT_SOURCE_DIR}/../../src/")
include_directories ("${PROJECT_SOURCE_DIR}/include/")
include_directories ("${PROJECT_SOURCE_DIR}/../")
file(GLOB SOURCE
"src/bin/*.c"
"src/lib/*.c"
)
add_executable(tolua ${SOURCE})
#m is the standard math librarys
target_link_libraries(tolua lua m)

View File

@ -109,6 +109,174 @@ tolua/fast:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/build cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/build
.PHONY : tolua/fast .PHONY : tolua/fast
src/bin/tolua.o: src/bin/tolua.c.o
.PHONY : src/bin/tolua.o
# target to build an object file
src/bin/tolua.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/bin/tolua.c.o
.PHONY : src/bin/tolua.c.o
src/bin/tolua.i: src/bin/tolua.c.i
.PHONY : src/bin/tolua.i
# target to preprocess a source file
src/bin/tolua.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/bin/tolua.c.i
.PHONY : src/bin/tolua.c.i
src/bin/tolua.s: src/bin/tolua.c.s
.PHONY : src/bin/tolua.s
# target to generate assembly for a file
src/bin/tolua.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/bin/tolua.c.s
.PHONY : src/bin/tolua.c.s
src/bin/toluabind.o: src/bin/toluabind.c.o
.PHONY : src/bin/toluabind.o
# target to build an object file
src/bin/toluabind.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/bin/toluabind.c.o
.PHONY : src/bin/toluabind.c.o
src/bin/toluabind.i: src/bin/toluabind.c.i
.PHONY : src/bin/toluabind.i
# target to preprocess a source file
src/bin/toluabind.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/bin/toluabind.c.i
.PHONY : src/bin/toluabind.c.i
src/bin/toluabind.s: src/bin/toluabind.c.s
.PHONY : src/bin/toluabind.s
# target to generate assembly for a file
src/bin/toluabind.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/bin/toluabind.c.s
.PHONY : src/bin/toluabind.c.s
src/lib/tolua_event.o: src/lib/tolua_event.c.o
.PHONY : src/lib/tolua_event.o
# target to build an object file
src/lib/tolua_event.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_event.c.o
.PHONY : src/lib/tolua_event.c.o
src/lib/tolua_event.i: src/lib/tolua_event.c.i
.PHONY : src/lib/tolua_event.i
# target to preprocess a source file
src/lib/tolua_event.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_event.c.i
.PHONY : src/lib/tolua_event.c.i
src/lib/tolua_event.s: src/lib/tolua_event.c.s
.PHONY : src/lib/tolua_event.s
# target to generate assembly for a file
src/lib/tolua_event.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_event.c.s
.PHONY : src/lib/tolua_event.c.s
src/lib/tolua_is.o: src/lib/tolua_is.c.o
.PHONY : src/lib/tolua_is.o
# target to build an object file
src/lib/tolua_is.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_is.c.o
.PHONY : src/lib/tolua_is.c.o
src/lib/tolua_is.i: src/lib/tolua_is.c.i
.PHONY : src/lib/tolua_is.i
# target to preprocess a source file
src/lib/tolua_is.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_is.c.i
.PHONY : src/lib/tolua_is.c.i
src/lib/tolua_is.s: src/lib/tolua_is.c.s
.PHONY : src/lib/tolua_is.s
# target to generate assembly for a file
src/lib/tolua_is.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_is.c.s
.PHONY : src/lib/tolua_is.c.s
src/lib/tolua_map.o: src/lib/tolua_map.c.o
.PHONY : src/lib/tolua_map.o
# target to build an object file
src/lib/tolua_map.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_map.c.o
.PHONY : src/lib/tolua_map.c.o
src/lib/tolua_map.i: src/lib/tolua_map.c.i
.PHONY : src/lib/tolua_map.i
# target to preprocess a source file
src/lib/tolua_map.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_map.c.i
.PHONY : src/lib/tolua_map.c.i
src/lib/tolua_map.s: src/lib/tolua_map.c.s
.PHONY : src/lib/tolua_map.s
# target to generate assembly for a file
src/lib/tolua_map.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_map.c.s
.PHONY : src/lib/tolua_map.c.s
src/lib/tolua_push.o: src/lib/tolua_push.c.o
.PHONY : src/lib/tolua_push.o
# target to build an object file
src/lib/tolua_push.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_push.c.o
.PHONY : src/lib/tolua_push.c.o
src/lib/tolua_push.i: src/lib/tolua_push.c.i
.PHONY : src/lib/tolua_push.i
# target to preprocess a source file
src/lib/tolua_push.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_push.c.i
.PHONY : src/lib/tolua_push.c.i
src/lib/tolua_push.s: src/lib/tolua_push.c.s
.PHONY : src/lib/tolua_push.s
# target to generate assembly for a file
src/lib/tolua_push.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_push.c.s
.PHONY : src/lib/tolua_push.c.s
src/lib/tolua_to.o: src/lib/tolua_to.c.o
.PHONY : src/lib/tolua_to.o
# target to build an object file
src/lib/tolua_to.c.o:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_to.c.o
.PHONY : src/lib/tolua_to.c.o
src/lib/tolua_to.i: src/lib/tolua_to.c.i
.PHONY : src/lib/tolua_to.i
# target to preprocess a source file
src/lib/tolua_to.c.i:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_to.c.i
.PHONY : src/lib/tolua_to.c.i
src/lib/tolua_to.s: src/lib/tolua_to.c.s
.PHONY : src/lib/tolua_to.s
# target to generate assembly for a file
src/lib/tolua_to.c.s:
cd /home/tycho/MCServer && $(MAKE) -f lib/tolua++/CMakeFiles/tolua.dir/build.make lib/tolua++/CMakeFiles/tolua.dir/src/lib/tolua_to.c.s
.PHONY : src/lib/tolua_to.c.s
# Help Target # Help Target
help: help:
@echo "The following are some of the valid targets for this Makefile:" @echo "The following are some of the valid targets for this Makefile:"
@ -118,6 +286,27 @@ help:
@echo "... edit_cache" @echo "... edit_cache"
@echo "... rebuild_cache" @echo "... rebuild_cache"
@echo "... tolua" @echo "... tolua"
@echo "... src/bin/tolua.o"
@echo "... src/bin/tolua.i"
@echo "... src/bin/tolua.s"
@echo "... src/bin/toluabind.o"
@echo "... src/bin/toluabind.i"
@echo "... src/bin/toluabind.s"
@echo "... src/lib/tolua_event.o"
@echo "... src/lib/tolua_event.i"
@echo "... src/lib/tolua_event.s"
@echo "... src/lib/tolua_is.o"
@echo "... src/lib/tolua_is.i"
@echo "... src/lib/tolua_is.s"
@echo "... src/lib/tolua_map.o"
@echo "... src/lib/tolua_map.i"
@echo "... src/lib/tolua_map.s"
@echo "... src/lib/tolua_push.o"
@echo "... src/lib/tolua_push.i"
@echo "... src/lib/tolua_push.s"
@echo "... src/lib/tolua_to.o"
@echo "... src/lib/tolua_to.i"
@echo "... src/lib/tolua_to.s"
.PHONY : help .PHONY : help

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +0,0 @@
/*
** Lua binding: tolua
** Generated automatically by tolua++-1.0.8pre2 on Tue Dec 13 01:43:55 2005.
*/
/* Exported function */
TOLUA_API int tolua_tolua_open (lua_State* tolua_S);

View File

@ -4,19 +4,13 @@ project (MCServer)
include_directories ("${PROJECT_SOURCE_DIR}/../") include_directories ("${PROJECT_SOURCE_DIR}/../")
if (WIN32)
add_executable(tolua++.exe IMPORTED)
else ()
message(WARNING "cannot rebuild bindings when not on windows")
endif()
ADD_CUSTOM_COMMAND( ADD_CUSTOM_COMMAND(
#add any new generated bindings here #add any new generated bindings here
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/Bindings.cpp ${CMAKE_CURRENT_BINARY_DIR}/Bindings.h OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/Bindings.cpp ${CMAKE_CURRENT_BINARY_DIR}/Bindings.h
#command execuded to regerate bindings #command execuded to regerate bindings
COMMAND "./tolua++.exe" -L virtual_method_hooks.lua -o Bindings.cpp -H Bindings.h AllToLua.pkg COMMAND tolua -L virtual_method_hooks.lua -o Bindings.cpp -H Bindings.h AllToLua.pkg
#add any new generation dependencies here #add any new generation dependencies here
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/virtual_method_hooks.lua ${CMAKE_CURRENT_SOURCE_DIR}/AllToLua.pkg tolua++.exe DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/virtual_method_hooks.lua ${CMAKE_CURRENT_SOURCE_DIR}/AllToLua.pkg tolua
) )
add_library(Bindings PluginManager LuaState WebPlugin Bindings) add_library(Bindings PluginManager LuaState WebPlugin Bindings)