diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-07-06 18:04:32 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-07-06 18:04:32 +0200 |
commit | a7f89980e5b3f4b9a74c70dbc5ffe8aabd28be28 (patch) | |
tree | 41c4deec1fdfbafd7821b4ca7a9772ac0abd92f5 /lib/lanplus/ipmiplus.mak |
Imported Upstream version 2.9.3upstream/2.9.3
Diffstat (limited to 'lib/lanplus/ipmiplus.mak')
-rw-r--r-- | lib/lanplus/ipmiplus.mak | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/lib/lanplus/ipmiplus.mak b/lib/lanplus/ipmiplus.mak new file mode 100644 index 0000000..9a1435a --- /dev/null +++ b/lib/lanplus/ipmiplus.mak @@ -0,0 +1,67 @@ +# ipmiplus.mak
+# This makefile will build the ipmiutil lib\lanplus directory
+#
+# Make sure to download and build openssl for Windows first
+#
+
+# The ipmiutil lanplus directory
+SRC_D=.
+INC=/I$(SRC_D) /I$(SRC_D)\inc
+O_LIB=lanplus.lib
+
+# Set your compiler options
+CC=cl
+CF_EX=/DWIN32 $(INC) /D_CONSOLE /DNDEBUG /D_CRT_SECURE_NO_DEPRECATE
+# CFLAGS= /MD /W3 /WX /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo $(CF_EX)
+# CFLAGS= /W3 /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo $(CF_EX)
+# CFLAGS= /W3 /O2 /Zi /MD /GF /Gy /nologo $(CF_EX)
+# CFLAGS= /W3 /O2 /Zi /MD /nologo $(CF_EX)
+CFLAGS= /W3 /O2 /Zi /MT /nologo $(CF_EX)
+MKLIB=lib
+RM=del
+
+LIB_OBJ = lanplus.obj lanplus_crypt.obj lanplus_crypt_impl.obj \
+ lanplus_dump.obj lanplus_strings.obj helper.obj ipmi_strings.obj
+
+HEADERS =
+
+all: banner $(O_LIB)
+
+banner:
+ @echo Building ipmi lanplus library
+
+install:
+
+clean:
+ $(RM) *.obj 2>NUL
+ $(RM) $(O_LIB) 2>NUL
+
+distclean:
+ $(RM) *.obj 2>NUL
+ $(RM) $(O_LIB) 2>NUL
+ $(RM) *.lib 2>NUL
+
+lanplus.obj: lanplus.c
+ $(CC) /c $(CFLAGS) lanplus.c
+
+lanplus_crypt.obj: lanplus_crypt.c
+ $(CC) /c $(CFLAGS) lanplus_crypt.c
+
+lanplus_crypt_impl.obj: lanplus_crypt_impl.c
+ $(CC) /c $(CFLAGS) lanplus_crypt_impl.c
+
+lanplus_dump.obj: lanplus_dump.c
+ $(CC) /c $(CFLAGS) lanplus_dump.c
+
+lanplus_strings.obj: lanplus_strings.c
+ $(CC) /c $(CFLAGS) lanplus_strings.c
+
+ipmi_strings.obj: ipmi_strings.c
+ $(CC) /c $(CFLAGS) ipmi_strings.c
+
+helper.obj: helper.c
+ $(CC) /c $(CFLAGS) helper.c
+
+$(O_LIB): $(LIB_OBJ)
+ $(MKLIB) /OUT:$(O_LIB) /nologo $(LIB_OBJ)
+
|