summaryrefslogtreecommitdiff
path: root/lib/ipmilib.mak
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-06 18:04:32 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-06 18:04:32 +0200
commita7f89980e5b3f4b9a74c70dbc5ffe8aabd28be28 (patch)
tree41c4deec1fdfbafd7821b4ca7a9772ac0abd92f5 /lib/ipmilib.mak
Imported Upstream version 2.9.3upstream/2.9.3
Diffstat (limited to 'lib/ipmilib.mak')
-rw-r--r--lib/ipmilib.mak37
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/ipmilib.mak b/lib/ipmilib.mak
new file mode 100644
index 0000000..a894d3f
--- /dev/null
+++ b/lib/ipmilib.mak
@@ -0,0 +1,37 @@
+# ipmilib.mak
+# This makefile will build the ipmiutil lib directory
+#
+# Make sure to download and build openssl for Windows
+#
+
+# The ipmiutil lib directory
+PLUS_DIR=lanplus
+PLUS_LIB=lanplus.lib
+
+# Set your compiler options
+RM=del
+CP=copy
+
+all: banner $(PLUS_LIB)
+
+banner:
+ @echo Building ipmi libs
+
+$(PLUS_LIB):
+ cd $(PLUS_DIR)
+ nmake /nologo -f ipmiplus.mak all
+ cd ..
+ $(CP) $(PLUS_DIR)\$(PLUS_LIB) .
+
+clean:
+ $(RM) $(PLUS_LIB) 2>NUL
+ cd $(PLUS_DIR)
+ nmake /nologo -f ipmiplus.mak clean
+ cd ..
+
+distclean:
+ $(RM) $(PLUS_LIB) 2>NUL
+ cd $(PLUS_DIR)
+ nmake /nologo -f ipmiplus.mak distclean
+ cd ..
+