From: Francesco M. <fr...@us...> - 2006-05-14 12:56:00
|
Update of /cvsroot/wxlua/wxLua/modules/build/bakefiles In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv28721/modules/build/bakefiles Modified Files: modules.bkl options.bkl Log Message: added LUA checks to configure script Index: options.bkl =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/build/bakefiles/options.bkl,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** options.bkl 6 Mar 2006 19:31:45 -0000 1.10 --- options.bkl 14 May 2006 12:55:56 -0000 1.11 *************** *** 71,73 **** --- 71,89 ---- </if> + + + <!-- lua module specific flags --> + <!-- ========================= --> + + <if cond="FORMAT=='autoconf'"> + <!-- right values for these are detected by the configure script --> + <option name="LUA_PLATFORM_SPECIFIC_CFLAGS"/> + <option name="LUA_PLATFORM_SPECIFIC_LDFLAGS"/> + </if> + + <if cond="FORMAT!='autoconf'"> + <set var="LUA_PLATFORM_SPECIFIC_CFLAGS"/> + <set var="LUA_PLATFORM_SPECIFIC_LDFLAGS"/> + </if> + </makefile> Index: modules.bkl =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/build/bakefiles/modules.bkl,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** modules.bkl 13 May 2006 21:05:36 -0000 1.29 --- modules.bkl 14 May 2006 12:55:56 -0000 1.30 *************** *** 50,53 **** --- 50,58 ---- <srcdir>$(WXLUA_SOURCEDIR)</srcdir> <define>WXLUA_LUA_NEWTHREAD</define> + + <!-- see options.bkl for these --> + <cflags>$(LUA_PLATFORM_SPECIFIC_CFLAGS)</cflags> + <ldflags>$(LUA_PLATFORM_SPECIFIC_LDFLAGS)</ldflags> + <sources>$(LUALIB_SRC)</sources> <headers>$(LUALIB_HDR)</headers> *************** *** 67,70 **** --- 72,79 ---- <sources>$(LUA_SRC)</sources> + <!-- see options.bkl for these --> + <cflags>$(LUA_PLATFORM_SPECIFIC_CFLAGS)</cflags> + <ldflags>$(LUA_PLATFORM_SPECIFIC_LDFLAGS)</ldflags> + <include>$(WXLUA_SOURCEDIR)/lua/include</include> <dirname>$(WXLUA_BINOUTPUT_PATH)</dirname> |