diff options
author | Lars Roland <Lars.Roland@gmx.net> | 2006-02-07 09:12:43 +0000 |
---|---|---|
committer | Lars Roland <Lars.Roland@gmx.net> | 2006-02-07 09:12:43 +0000 |
commit | 5f1e470cc2a42387a4b8823f53b826ce8d82b7e5 (patch) | |
tree | 59919707a0240a17f3c27533f162ae0ffa6d1fff /config.nmake | |
parent | baed8f088844966923d42e056f79dcdfaaa91f36 (diff) | |
download | wireshark-5f1e470cc2a42387a4b8823f53b826ce8d82b7e5.tar.gz |
changes to build lua plugin with MSVC6:
- nmake makefile for lua plugin added.
- declare variables at the beginning of a function.
- proto_reg_handoff_lua was removed, remove remaining calls, too.
- missing functions to libethereal.def added.
add lua plugin to installer, if available.
svn path=/trunk/; revision=17196
Diffstat (limited to 'config.nmake')
-rw-r--r-- | config.nmake | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/config.nmake b/config.nmake index a540034ee7..2ba6f91d74 100644 --- a/config.nmake +++ b/config.nmake @@ -157,6 +157,15 @@ PCRE_DIR=$(ETHEREAL_LIBS)\pcre-6.4 # NETTLE_DIR=$(ETHEREAL_LIBS)\nettle-1.10 # +# If you have the LUA library, set this to the pathname +# of the directory in which the LUA package has been extracted. +# +# If you don't have LUA, comment this line out, so that LUA_DIR +# isn't defined. +# +# LUA_DIR=$(ETHEREAL_LIBS)\lua-5.0.2 + +# # Set ICONV_DIR to the pathname of the directory in which the # ICONV include files and library resides. # @@ -419,6 +428,16 @@ GNUTLS_LIBS= GNUTLS_CONFIG= !ENDIF +!IFDEF LUA_DIR +LUA_CFLAGS=/I$(LUA_DIR)\include +LUA_LIBS=$(LUA_DIR)\bin\LibLua.lib $(LUA_DIR)\bin\LibLuaLib.lib +# Nmake uses carets to escape special characters +LUA_CONFIG=^#define HAVE_LUA 1 +!else +LUA_CFLAGS= +LUA_LIBS= +LUA_CONFIG= +!ENDIF # Construct the path PATH=$(PATH);$(CYGWIN_PATH);$(DLL_PATH);$(ZLIB_PATH);$(ADNS_PATH) |