aboutsummaryrefslogtreecommitdiff
path: root/make.bat
diff options
context:
space:
mode:
authorGuido G√ľnther <agx@sigxcpu.org>2009-01-08 15:39:24 +0100
committerGuido Guenther <agx@sigxcpu.org>2009-01-08 15:39:24 +0100
commit7bb8b22d8da0f6a398e2102a20d885d885339496 (patch)
tree94e1c50195604b3bd532cc703e90f9eb96e80d67 /make.bat
import initial version
from https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/dd6fc290-0201-0010-c190-86ce775d5673
Diffstat (limited to 'make.bat')
-rwxr-xr-xmake.bat35
1 files changed, 35 insertions, 0 deletions
diff --git a/make.bat b/make.bat
new file mode 100755
index 0000000..922e429
--- /dev/null
+++ b/make.bat
@@ -0,0 +1,35 @@
+@echo off
+set CC=cl
+set CFLAGS=/nologo /MD /W3 /GX /Zi /Od /Fo"Debug/"
+set LDFLAGS=/nologo /subsystem:console /incremental:no /pdb:"$*.pdb" /debug /pdbtype:sept /libpath:debug
+set LD=link
+set LDTARGET=/out:$(TARGET)
+set "RM=del 2>NUL "
+set OBJ=.obj
+set XOBJS=$(OBJS)
+set XD=Debug\
+set EXE=.exe
+set BUILD=
+set WIN_CLEAN=win-clean
+set LIBS=kernel32.lib
+set SHEXT=.dll
+set SHFLAGS=/LD
+set LINK_SHARED=$(LD) /DLL /DEF:sncgss32.def /IMPLIB:$*.lib /SUBSYSTEM:CONSOLE
+set LINK_SHARED_END=
+
+set VENLIB=.\gssntlm.lib
+if NOT %VENLIB%. == . goto :trymake
+echo ***
+echo *** Please edit MAKE.BAT and define VENLIB to point to the *.LIB stub
+echo *** of your GSS-API v2 windows library (DLL)
+echo ***
+goto :finish
+
+:trymake
+
+if %1. == clean. nmake /NOLOGO do-clean
+if %1. == . nmake /NOLOGO do-all
+if %1. == all. nmake /NOLOGO do-all
+
+@echo off
+