diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-09-26 05:07:46 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-09-26 05:07:46 +0200 |
commit | b3d606e872350e5d160c5a9a6b5ec5b498e26e3c (patch) | |
tree | 6f3ceb0722cb4b9a3ed0b2e1f6c0bf06052e7e83 /buildmin.cmd | |
parent | 64529036a8d742cc45f4b35085205c86ab46b5e0 (diff) | |
parent | 4b28a392fa890390755f58e0755ab56e8edaa295 (diff) |
Updated version 3.0.7 from 'upstream/3.0.7'
with Debian dir 8e805e19fa4d25d96a0772c0f753a89a30c8f069
Diffstat (limited to 'buildmin.cmd')
-rw-r--r-- | buildmin.cmd | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/buildmin.cmd b/buildmin.cmd new file mode 100644 index 0000000..bf40503 --- /dev/null +++ b/buildmin.cmd @@ -0,0 +1,31 @@ +@echo off
+REM # buildmin32.cmd
+REM # build ipmiutil for windows in standalone mode (minimal, 32bit)
+REM # without IPMI LAN 2.0 libraries, so no SOL. Use for bootables.
+REM #
+REM # First download a copy of getopt.c getopt.h.
+REM # copy getopt.* util
+REM #
+
+REM TODO, prebuild checking:
+REM check for getopt.c,h
+
+set | findstr VCINSTALLDIR
+if %errorlevel% EQU 1 goto vcerror
+
+set UTMAKE=ipmiutil2.mak
+echo %LIBPATH% |findstr /C:64 >NUL
+if %errorlevel% EQU 0 set UTMAKE=ipmiutil2-64.mak
+
+cd util
+nmake /nologo -f %UTMAKE% all
+cd ..
+
+echo buildmin %UTMAKE% done
+goto done
+
+:vcerror
+echo Need to first run vcvars.bat
+
+:done
+
|