aboutsummaryrefslogtreecommitdiffstats
path: root/config.nmake
diff options
context:
space:
mode:
authorlroland <lroland@f5534014-38df-0310-8fa8-9805f1628bb7>2006-02-07 09:12:43 +0000
committerlroland <lroland@f5534014-38df-0310-8fa8-9805f1628bb7>2006-02-07 09:12:43 +0000
commit9213b3b231c28d04eb2559577dad7e504b4e26a5 (patch)
tree59919707a0240a17f3c27533f162ae0ffa6d1fff /config.nmake
parentf9badc2f661b758c3d9a90ee74a1fdb88c77114b (diff)
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17196 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'config.nmake')
-rw-r--r--config.nmake19
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)