add support for xchat-lua, but don't build by default

This commit is contained in:
berkeviktor@aol.com
2010-08-12 02:56:10 +02:00
parent 9bff6d9d86
commit 25603820c1
5 changed files with 1909 additions and 0 deletions

19
plugins/lua/makefile.mak Normal file
View File

@@ -0,0 +1,19 @@
include "..\..\src\makeinc.mak"
xclua.dll: lua.obj lua.def
link $(LDFLAGS) $(LIBS) /dll /out:xclua.dll /LIBPATH:$(LUAPATH)\lib $(LUALIB).lib /def:lua.def lua.obj
dir xclua.dll
lua.def:
echo EXPORTS > lua.def
echo xchat_plugin_init >> lua.def
echo xchat_plugin_deinit >> lua.def
lua.obj: lua.c makefile.mak
cl $(CFLAGS) /Dsnprintf=g_snprintf /I.. /I$(LUAPATH)\include /I.. lua.c
clean:
del *.obj
del *.dll
del *.exp
del *.lib