+Tue Feb 4 15:56:41 1997 Richard Basch <basch@lehman.com>
+
+ * windows.in: Do not bother to define INTERFACE or INTERFACE_C
+
+Sun Feb 2 23:30:17 1997 Richard Basch <basch@lehman.com>
+
+ * windows.in:
+ Compile with /Ld to link dynamic libraries (win16)
+ Compile DLL objects with /DKRB5_DLL_FILE (win16)
+
+Thu Jan 30 22:08:42 1997 Richard Basch <basch@lehman.com>
+
+ * windows.in:
+ Compile with /MD to link against the runtime library (win32)
+
Tue Dec 24 16:43:45 1996 Tom Yu <tlyu@mit.edu>
* config.guess:
* config.sub: Update from autoconf-2.12.
+Thu Nov 21 11:55:16 EST 1996 Richard Basch <basch@lehman.com>
+
+ * rm.bat: Do the work first; the comments are at the end so as
+ to improve the speed of the script significantly (20%)
+ * windows.in: corrected typo (all-windows) and added win32 support
+ * win-post.in: win16/win32 support
+
Mon Nov 11 20:53:01 1996 Tom Yu <tlyu@mit.edu>
* pre.in (DEJAFLAGS): Change gmake-dependent $(shell uname foo) to
@echo off
+:loop
+if exist %1 del %1
+shift
+if not %1.==. goto loop
+exit
+
Rem
Rem rm.bat
Rem
Rem
Rem Batch file to mimic the functionality of the Unix rm command
Rem
-:loop
-if exist %1 del %1
-shift
-if not %1.==. goto loop
.c.obj:
$(CC) $(CFLAGS) /c $*.c
!if defined(LIBNAME)
-!if "$(LIBCMD)"!="rem"
##WIN16## $(LIBCMD) $(PAGESIZE) /nologo $(LIBNAME) -+$@;
-##WIN32## $(LIBCMD) /out:$(LIBNAME) /nologo $@
-!endif
+
+##WIN32##!if !defined(OBJFILELIST)
+##WIN32##OBJFILELIST=@$(OBJFILE)
+##WIN32##!endif
+##WIN32##!if !defined(OBJFILEDEP)
+##WIN32##OBJFILEDEP=$(OBJFILE)
+##WIN32##!endif
+
+##WIN32##all-windows:: $(LIBNAME)
+##WIN32##$(LIBNAME): $(OBJFILEDEP)
+##WIN32## $(LIBCMD) /out:$(LIBNAME) /nologo $(OBJFILELIST)
+
!endif
check::
clean-windows::
$(RM) *.$(OBJEXT)
- $(RM) msvc.pdb *.err
+ $(RM) msvc.pdb *.err *.exe
+
+!if defined(LIBNAME)
+clean-windows::
+ $(RM) $(LIBNAME)
+!endif
+!if defined(OBJFILE)
+clean-windows::
+ $(RM) $(OBJFILE)
+!endif
-# Microsoft Windows configuration file for Cygnus Kerberos
-# ***copy from K4***
WHAT=windows
check:: check-$(WHAT)
-all-windiws::
+all-windows::
clean-windows::
install-windows::
check-windows::
U=..\ # up one level
srcdir = .
-SRCTOP = $(srcdir)/$(BUILDTOP)
+SRCTOP = $(srcdir)\$(BUILDTOP)
# /* The name of the C compiler for the target */
CC=cl /nologo
#
# CCOPTS for DLL functions
#
-##WIN16##CCOPTS=/ALw /Zp /GD2s /Os /Zi /Od /W3 $(XTRA)
-##WIN32##CCOPTS=/Os /Zi /Od /W3 $(XTRA) -DKRB5_DLL_FILE
+##WIN16##CCOPTS=/ALw /Zp /GD2s /Os /Zi /Od /W3 /Ld $(XTRA) /DKRB5_DLL_FILE
+##WIN32##CCOPTS=/Os /Zi /Od /W3 /MD $(XTRA) -DKRB5_DLL_FILE
#
# CCOPTS for non-DLL compiles
#
-##WIN16##CCOPTS2=/AL /Zp /G2s /Os /Zi /Od /W3 -DINTERFACE= -DINTERFACE_C= $(XTRA)
-##WIN32##CCOPTS2=/Os /Zi /Od /W3 -DINTERFACE= -DINTERFACE_C= $(XTRA)
-CPPFLAGS = -I$(SRCTOP)/include -I$(SRCTOP)/include/krb5
+##WIN16##CCOPTS2=/AL /Zp /G2s /Os /Zi /Od /W3 $(XTRA)
+##WIN32##CCOPTS2=/Os /Zi /Od /W3 $(XTRA)
+CPPFLAGS = -I$(SRCTOP)\include -I$(SRCTOP)\include\krb5 -DLEHMAN
DEFS = $(CPPFLAGS)
CFLAGS2 = $(CCOPTS2) $(DEFS)
DBG=/nologo /Zp /AL /Os /Mq /Zi /Od
RM=$(BUILDTOP)\config\rm.bat
+LIBECHO=$(BUILDTOP)\util\windows\libecho
CP=copy
MV=ren
LN=copy
LIBCMD=lib
PAGESIZE=/pagesize:128
AWK=rem
+RC = rc
+CVTRES = cvtres
+
+##WIN16##KLIB=$(BUILDTOP)\lib\krb5_16.lib
+##WIN32##KLIB=$(BUILDTOP)\lib\krb5_32.lib
+##WIN16##GLIB=$(BUILDTOP)\lib\gssapi.lib
+##WIN32##GLIB=$(BUILDTOP)\lib\gssapi32.lib
ARADD=rem
RANLIB=rem