add support for xchat-lua, but don't build by default
This commit is contained in:
parent
9bff6d9d86
commit
25603820c1
@ -12,6 +12,9 @@ nmake -f makefile.mak
|
||||
::cd ..\dns
|
||||
::nmake -f makefile.mak clean
|
||||
::nmake -f makefile.mak
|
||||
::cd ..\lua
|
||||
::nmake -f makefile.mak clean
|
||||
::nmake -f makefile.mak
|
||||
cd ..\perl
|
||||
nmake -f makefile.mak clean
|
||||
nmake -f makefile.mak
|
||||
|
@ -35,6 +35,7 @@ xcopy %SSL_BIN%\libeay32.dll %XCHAT_DEST%
|
||||
xcopy %SSL_BIN%\ssleay32.dll %XCHAT_DEST%
|
||||
::xcopy /S /I ..\plugins\dns\xcdns.dll %XCHAT_DEST%\plugins\
|
||||
xcopy /S /I ..\plugins\ewc\xcewc.dll %XCHAT_DEST%\plugins\
|
||||
::xcopy /S /I ..\plugins\lua\xclua.dll %XCHAT_DEST%\plugins\
|
||||
xcopy /S /I ..\plugins\perl\xcperl.dll %XCHAT_DEST%\plugins\
|
||||
xcopy /S /I ..\plugins\python\xcpython.dll %XCHAT_DEST%\plugins\
|
||||
xcopy /S /I ..\plugins\tcl\xctcl.dll %XCHAT_DEST%\plugins\
|
||||
|
1882
plugins/lua/lua.c
Normal file
1882
plugins/lua/lua.c
Normal file
File diff suppressed because it is too large
Load Diff
19
plugins/lua/makefile.mak
Normal file
19
plugins/lua/makefile.mak
Normal 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
|
@ -32,6 +32,7 @@ LIBS = $(LIBS) /libpath:c:/mozilla-build/build/xchat-dev32/lib gtk-win32-2.0.lib
|
||||
|
||||
LDFLAGS = $(LDFLAGS) msvcrt_winxp.obj
|
||||
|
||||
LUAPATH = c:\mozilla-build\lua-5.1-x86
|
||||
PERLPATH = c:\mozilla-build\perl-5.10-x86\lib\CORE
|
||||
PYTHONPATH = c:\mozilla-build\python-2.6-x86
|
||||
TCLPATH = c:\mozilla-build\tcl-8.5-x86
|
||||
@ -40,6 +41,9 @@ MMX = YES
|
||||
!endif
|
||||
#############################################################
|
||||
|
||||
LUALIB = lua5.1
|
||||
LUAOUTPUT = xclua.dll
|
||||
|
||||
PERLLIB = perl510
|
||||
PERLOUTPUT = xcperl.dll
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user