]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/jaegertracing/opentelemetry-cpp/third_party/prometheus-cpp/3rdparty/civetweb/src/third_party/lua-5.1.5/etc/luavs.bat
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / third_party / prometheus-cpp / 3rdparty / civetweb / src / third_party / lua-5.1.5 / etc / luavs.bat
diff --git a/ceph/src/jaegertracing/opentelemetry-cpp/third_party/prometheus-cpp/3rdparty/civetweb/src/third_party/lua-5.1.5/etc/luavs.bat b/ceph/src/jaegertracing/opentelemetry-cpp/third_party/prometheus-cpp/3rdparty/civetweb/src/third_party/lua-5.1.5/etc/luavs.bat
new file mode 100644 (file)
index 0000000..08c2bed
--- /dev/null
@@ -0,0 +1,28 @@
+@rem Script to build Lua under "Visual Studio .NET Command Prompt".\r
+@rem Do not run from this directory; run it from the toplevel: etc\luavs.bat .\r
+@rem It creates lua51.dll, lua51.lib, lua.exe, and luac.exe in src.\r
+@rem (contributed by David Manura and Mike Pall)\r
+\r
+@setlocal\r
+@set MYCOMPILE=cl /nologo /MD /O2 /W3 /c /D_CRT_SECURE_NO_DEPRECATE\r
+@set MYLINK=link /nologo\r
+@set MYMT=mt /nologo\r
+\r
+cd src\r
+%MYCOMPILE% /DLUA_BUILD_AS_DLL l*.c\r
+del lua.obj luac.obj\r
+%MYLINK% /DLL /out:lua51.dll l*.obj\r
+if exist lua51.dll.manifest^\r
+  %MYMT% -manifest lua51.dll.manifest -outputresource:lua51.dll;2\r
+%MYCOMPILE% /DLUA_BUILD_AS_DLL lua.c\r
+%MYLINK% /out:lua.exe lua.obj lua51.lib\r
+if exist lua.exe.manifest^\r
+  %MYMT% -manifest lua.exe.manifest -outputresource:lua.exe\r
+%MYCOMPILE% l*.c print.c\r
+del lua.obj linit.obj lbaselib.obj ldblib.obj liolib.obj lmathlib.obj^\r
+    loslib.obj ltablib.obj lstrlib.obj loadlib.obj\r
+%MYLINK% /out:luac.exe *.obj\r
+if exist luac.exe.manifest^\r
+  %MYMT% -manifest luac.exe.manifest -outputresource:luac.exe\r
+del *.obj *.manifest\r
+cd ..\r