+Tue May 18 19:52:56 1999 Danilo Almeida <dalmeida@mit.edu>
+
+ * Makefile.in: Remove - from recursive Win32 make invocation.
+ Move definition of WCONFIG into config/win-pre.in. Use
+ symbolic name for output dir dependency when building
+ wconfig. Remove wconfig clean stuff since we do it
+ automagically in win-post.in. Build util instead of
+ directly building util/windows, util/et, util/profile.
+
Mon May 17 20:45:54 1999 Danilo Almeida <dalmeida@mit.edu>
* Makefile.in, wconfig.c: Rename config/windows.in to
all-mac::
all-windows:: Makefile-windows
- @echo Making in util\windows
- cd util\windows
- -$(MAKE) -$(MAKEFLAGS)
+ @echo Making in util
+ cd util
+ $(MAKE) -$(MFLAGS)
@echo Making in include
- cd ..\..\include
- -$(MAKE) -$(MAKEFLAGS)
- @echo Making in util\et
- cd ..\util\et
- -$(MAKE) -$(MAKEFLAGS)
- @echo Making in util\profile
- cd ..\profile
- -$(MAKE) -$(MAKEFLAGS)
+ cd ..\include
+ $(MAKE) -$(MFLAGS)
@echo Making in lib
- cd ..\..\lib
- -$(MAKE) -$(MAKEFLAGS)
+ cd ..\lib
+ $(MAKE) -$(MFLAGS)
@echo Making in windows
cd ..\windows
- -$(MAKE) -$(MAKEFLAGS)
+ $(MAKE) -$(MFLAGS)
@echo Making in clients
cd ..\clients
- -$(MAKE) -$(MAKEFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..
world::
#
config-windows:: Makefile-windows
- @echo Making in include
- cd include
- -$(MAKE) -$(MAKEFLAGS)
- cd ..
+# @echo Making in include
+# cd include
+# $(MAKE) -$(MFLAGS)
+# cd ..
-##DOS##WCONFIG_EXE=.\$(OUTPRE)wconfig.exe
-##DOS##WCONFIG_OBJ=$(OUTPRE)wconfig.obj
-
-##DOS##$(WCONFIG_EXE): $(OUTPRE) wconfig.c
+#
+# We need outpre-dir explicitly in here because we may
+# try to build wconfig on a config-windows.
+#
+##DOS##$(WCONFIG_EXE): outpre-dir wconfig.c
##DOS## $(CC) -Fe$@ -Fo$*.obj wconfig.c
-##DOS##MKFDEP= $(WCONFIG_EXE) config\pre.in config\post.in \
-##DOS## config\win-pre.in config\win-post.in
-##DOS##WCONFIG= $(WCONFIG_EXE) $(WCONFIG_FLAGS)
+##DOS##MKFDEP=$(WCONFIG_EXE) config\win-pre.in config\win-post.in
WINMAKEFILES=Makefile \
clients\Makefile clients\kdestroy\Makefile \
lib\krb5\keytab\file\Makefile lib\krb5\krb\Makefile \
lib\krb5\os\Makefile lib\krb5\posix\Makefile \
lib\krb5\rcache\Makefile \
+ util\Makefile \
util\et\Makefile util\profile\Makefile \
util\windows\Makefile \
windows\Makefile windows\lib\Makefile \
windows\gss\Makefile windows\wintel\Makefile
##DOS##Makefile-windows:: $(MKFDEP) $(WINMAKEFILES)
-##DOS## config\rm.bat $(WCONFIG_OBJ)
##DOS##Makefile: Makefile.in $(MKFDEP)
##DOS## $(WCONFIG) config < $@.in > $@
##DOS## $(WCONFIG) config < $@.in > $@
##DOS##lib\krb5\rcache\Makefile: lib\krb5\rcache\Makefile.in $(MKFDEP)
##DOS## $(WCONFIG) config < $@.in > $@
+##DOS##util\Makefile: util\Makefile.in $(MKFDEP)
+##DOS## $(WCONFIG) config < $@.in > $@
##DOS##util\et\Makefile: util\et\Makefile.in $(MKFDEP)
##DOS## $(WCONFIG) config < $@.in > $@
##DOS##util\profile\Makefile: util\profile\Makefile.in $(MKFDEP)
##DOS## $(WCONFIG) config < $@.in > $@
clean-windows:: Makefile-windows
- @echo Making clean in util\windows
- cd util\windows
- -$(MAKE) -$(MAKEFLAGS) clean
+ @echo Making clean in util
+ cd util
+ $(MAKE) -$(MFLAGS) clean
@echo Making clean in include
- cd ..\..\include
- -$(MAKE) -$(MAKEFLAGS) clean
- @echo Making clean in util\et
- cd ..\util\et
- -$(MAKE) -$(MAKEFLAGS) clean
- @echo Making clean in util\profile
- cd ..\profile
- -$(MAKE) -$(MAKEFLAGS) clean
+ cd ..\include
+ $(MAKE) -$(MFLAGS) clean
@echo Making clean in lib
- cd ..\..\lib
- -$(MAKE) -$(MAKEFLAGS) clean
+ cd ..\lib
+ $(MAKE) -$(MFLAGS) clean
@echo Making clean in windows
cd ..\windows
- -$(MAKE) -$(MAKEFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
@echo Making clean in clients
cd ..\clients
- -$(MAKE) -$(MAKEFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..
@echo Making clean in root
- config\rm.bat $(WCONFIG_OBJ) $(WCONFIG_EXE)
#
# Renames DOS 8.3 filenames back to their proper, longer names.
KBINDIR=kbin
distclean-windows:
- rm -f $(CLEANUP)
- rm -f $(WINMAKEFILES)
- rm -f $(KBINDIR)\*
+ config\rm.bat $(CLEANUP:^/=^\)
+ config\rm.bat $(WINMAKEFILES)
+ config\rm.bat $(KBINDIR)\*.dll $(KBINDIR)\*.exe
@if exist $(KBINDIR)\nul rmdir $(KBINDIR)
mkbin:
@if not exist $(KBINDIR)\nul mkdir $(KBINDIR)
- -$(CP) lib\$(OUTPRE)*.dll $(KBINDIR)\.
- -$(CP) windows\cns\$(OUTPRE)krb5.exe $(KBINDIR)\.
- -$(CP) windows\telnet\$(OUTPRE)telnet.exe $(KBINDIR)\.
- -$(CP) windows\gss\$(OUTPRE)gss.exe $(KBINDIR)\.
- -$(CP) clients\klist\$(OUTPRE)klist.exe $(KBINDIR)\.
- -$(CP) clients\kinit\$(OUTPRE)kinit.exe $(KBINDIR)\.
- -$(CP) clients\kdestroy\$(OUTPRE)kdestroy.exe $(KBINDIR)\.
+ $(CP) lib\$(OUTPRE)*.dll $(KBINDIR)\.
+ $(CP) windows\cns\$(OUTPRE)krb5.exe $(KBINDIR)\.
+ $(CP) windows\wintel\$(OUTPRE)telnet.exe $(KBINDIR)\.
+ $(CP) windows\gss\$(OUTPRE)gss.exe $(KBINDIR)\.
+ $(CP) clients\klist\$(OUTPRE)klist.exe $(KBINDIR)\.
+ $(CP) clients\kinit\$(OUTPRE)kinit.exe $(KBINDIR)\.
+ $(CP) clients\kdestroy\$(OUTPRE)kdestroy.exe $(KBINDIR)\.
+Tue May 18 19:52:56 1999 Danilo Almeida <dalmeida@mit.edu>
+
+ * Makefile.in: Remove - from recursive Win32 make invocation.
+
Mon May 17 12:24:55 1999 Danilo Almeida <dalmeida@mit.edu>
* Makefile.in: Add NO_OUTPRE flag to prevent creation of output
all-windows::
@echo Making all in clients\klist
cd klist
- -$(MAKE) -$(MAKEFLAGS)
+ $(MAKE) -$(MFLAGS)
@echo Making all in clients\kdestroy
cd ..\kdestroy
- -$(MAKE) -$(MAKEFLAGS)
+ $(MAKE) -$(MFLAGS)
@echo Making all in clients\kinit
cd ..\kinit
- -$(MAKE) -$(MAKEFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..
clean-windows::
@echo Making clean in clients\klist
cd klist
- -$(MAKE) -$(MAKEFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
@echo Making clean in clients\kdestroy
cd ..\kdestroy
- -$(MAKE) -$(MAKEFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
@echo Making clean in clients\kinit
cd ..\kinit
- -$(MAKE) -$(MAKEFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..
+Tue May 18 20:06:01 1999 Danilo Almeida <dalmeida@mit.edu>
+
+ * win-pre.in, win-pre.in: Remove trailing backslash from output
+ dir target in rule so rule is not always invoked if it
+ already exists. Add MIGNORE option if we really want make
+ to ignore errors from recursive invocations of make. Move
+ definition of WCONFIG and WCONFIG_EXE into win-pre.in.
+ Add NO_OUTDIR as synonym for NO_OUTPRE.
+
Mon May 17 20:45:05 1999 Danilo Almeida <dalmeida@mit.edu>
* win-post.in, win-pre.in, windows.in: Rename windows.in to
# Start of Win32 post-config lines (config/win-post.in)
#
-!ifndef NO_OUTPRE
-outpre-dir:: $(OUTPRE)
-!else
+!if defined(NO_OUTPRE) || defined(NO_OUTDIR)
outpre-dir::
+!else
+outpre-dir:: $(OUTPRE3)
!endif
#
#(where there is already an explicit rule).
!if !defined(ZIP) && !defined(WINFILES)
Makefile: Makefile.in $(BUILDTOP)\config\win-pre.in $(BUILDTOP)\config\win-post.in
- $(BUILDTOP)\$(OUTPRE)wconfig $(BUILDTOP)\config < Makefile.in > Makefile
+ $(WCONFIG) $(BUILDTOP)\config < Makefile.in > Makefile
!endif
OUTPRE3=$(OUTPRE2)\$(OUTPRE_DBG)
OUTPRE=$(OUTPRE3)^\
-$(OUTPRE):
+$(OUTPRE3):
-@if not exist $(OUTPRE1)\nul mkdir $(OUTPRE1)
-@if not exist $(OUTPRE2)\nul mkdir $(OUTPRE2)
-@if not exist $(OUTPRE3)\nul mkdir $(OUTPRE3)
RC = rc
CVTRES = cvtres
+WCONFIG_EXE=$(BUILDTOP)\$(OUTPRE)wconfig.exe
+WCONFIG=$(WCONFIG_EXE:.exe=) $(WCONFIG_FLAGS)
+
CLIB=$(BUILDTOP)\lib\$(OUTPRE)comerr32.lib
PLIB=$(BUILDTOP)\lib\$(OUTPRE)xpprof32.lib
KLIB=$(BUILDTOP)\lib\$(OUTPRE)krb5_32.lib
EXEEXT=.exe
MFLAGS=$(MAKEFLAGS)
+!ifdef MIGNORE
+MAKE=-$(MAKE)
+!endif
{}.rc{$(OUTPRE)}.res:
$(RC) $(RCFLAGS) -fo $@ -r $<
+Wed May 19 11:33:15 1999 Danilo Almeida <dalmeida@mit.edu>
+
+ * Makefile.in: Remove copying of header files for Win32. These
+ will be copied only if needed by the components that are
+ responsible for the header files (gssapi, et, and
+ profile).
+
+Tue May 18 19:52:56 1999 Danilo Almeida <dalmeida@mit.edu>
+
+ * Makefile.in: Remove - from recursive Win32 make invocation.
+
Mon May 17 12:30:58 1999 Danilo Almeida <dalmeida@mit.edu>
* Makefile.in: Add NO_OUTPRE flag to prevent creation of output
all-mac::
all-windows::
- copy $(BUILDTOP)\util\et\com_err.h .
- copy $(BUILDTOP)\util\profile\profile.h .
- if not exist gssapi\nul mkdir gssapi
- copy $(BUILDTOP)\lib\gssapi\generic\gssapi.h gssapi
- copy $(BUILDTOP)\lib\gssapi\generic\gssapi_generic.h gssapi
- cd krb5
@echo Making in include\krb5
- -$(MAKE) -$(MFLAGS)
+ cd krb5
+ $(MAKE) -$(MFLAGS)
cd ..
krb5/autoconf.h:
if exist gssapi\nul rmdir gssapi
cd krb5
@echo Making clean in include\krb5
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..
@echo Making clean in include
+Wed May 19 11:35:18 1999 Danilo Almeida <dalmeida@mit.edu>
+
+ * Makefile.in: Create build rules for windows instead of blindly
+ copying files. Wrap Unix build rules with !if 0/!endif
+ that get used only in windows build. People need to
+ remember to keep this !if/!endif in the proper place when
+ they modify this file.
+
Mon May 17 12:33:58 1999 Danilo Almeida <dalmeida@mit.edu>
* Makefile.in: Add NO_OUTPRE flag to prevent creation of output
all-unix:: autoconf.h $(BUILT_HEADERS)
all-mac:: $(BUILT_HEADERS)
-all-windows::
- $(RM) osconf.h autoconf.h autoconf.stamp
- copy stock\osconf.h osconf.h
- copy ..\win-mac.h autoconf.h
+all-windows:: autoconf.h $(BUILT_HEADERS)
+
+##DOS##autoconf.h: ..\win-mac.h
+##DOS## $(CP) ..\win-mac.h $@
+##DOS##osconf.h: stock\osconf.h
+##DOS## $(CP) stock\osconf.h $@
+
+# We need to comment out the Unix autoconf.h and osconf.h block below
+# if we're building for Windows. Thus, we need to enclose them
+# between the lines "##DOS##!if 0" and "##DOS##!endif". We enclosed
+# the entire section between the long hashed lines to make the block
+# stand out.
+###############################################################################
+##DOS##!if 0
# Should only rebuild autoconf.h here (use CONFIG_FILES=), but the weird krb5
# makefile post-processing is unconditional and would trash the makefile.
autoconf.h: autoconf.stamp
(cd $(thisconfigdir) && $(SHELL) config.status)
touch autoconf.stamp
-depend::
-
-install::
SYSCONFDIR = @sysconfdir@
LOCALSTATEDIR = @localstatedir@
PROCESS_REPLACE = -e "s+@KRB5RCTMPDIR+$(KRB5RCTMPDIR)+" \
cat $(OSCONFSRC) | sed $(PROCESS_REPLACE) > osconf.new
@if cmp -s osconf.new osconf.h ; then :; \
else (set -x; $(RM) osconf.h ; $(CP) osconf.new osconf.h; $(RM) osconf.new) fi
+##DOS##!endif
+###############################################################################
+
+depend::
+
+install::
clean::
$(RM) osconf.new $(BUILT_HEADERS)
+Tue May 18 19:52:56 1999 Danilo Almeida <dalmeida@mit.edu>
+
+ * Makefile.in: Remove - from recursive Win32 make invocation.
+
Mon May 17 19:50:53 1999 Danilo Almeida <dalmeida@mit.edu>
* Makefile.in: Use only one resource file per binary.
all-windows::
@echo Making in lib\crypto
cd crypto
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
@echo Making in lib\krb5
cd ..\krb5
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
@echo Making in lib\des425
cd ..\des425
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
@echo Making in lib\krb4
cd ..\krb4
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
@echo Making in lib\gssapi
cd ..\gssapi
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
@echo Making in lib
cd ..
clean-windows::
@echo Making clean in lib\crypto
cd crypto
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
@echo Making clean in lib\krb5
cd ..\krb5
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
@echo Making clean in lib\des425
cd ..\des425
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
@echo Making clean in lib\krb4
cd ..\krb4
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
@echo Making clean in lib\gssapi
cd ..\gssapi
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
@echo Making clean in lib
cd ..
+Tue May 18 19:52:56 1999 Danilo Almeida <dalmeida@mit.edu>
+
+ * Makefile.in: Remove - from recursive Win32 make invocation.
+
Mon May 10 15:15:00 1999 Danilo Almeida <dalmeida@mit.edu>
* Makefile.in: Do win32 build in subdir.
all-windows::
cd crc32
@echo Making in crypto\crc32
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..\des
@echo Making in crypto\des
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..\dk
@echo Making in crypto\dk
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..\enc_provider
@echo Making in crypto\enc_provider
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..\hash_provider
@echo Making in crypto\hash_provider
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..\keyhash_provider
@echo Making in crypto\keyhash_provider
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..\md4
@echo Making in crypto\md4
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..\md5
@echo Making in crypto\md5
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..\old
@echo Making in crypto\old
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..\raw
@echo Making in crypto\raw
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..\sha1
@echo Making in crypto\sha1
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..
clean-windows::
cd crc32
@echo Making in clean crypto\crc32
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..\des
@echo Making clean in crypto\des
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..\dk
@echo Making clean in crypto\dk
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..\enc_provider
@echo Making clean in crypto\enc_provider
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..\hash_provider
@echo Making clean in crypto\hash_provider
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..\keyhash_provider
@echo Making clean in crypto\keyhash_provider
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..\md4
@echo Making clean in crypto\md4
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..\md5
@echo Making clean in crypto\md5
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..\old
@echo Making clean in crypto\old
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..\raw
@echo Making clean in crypto\raw
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..\sha1
@echo Making clean in crypto\sha1
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..
check-windows::
cd crc32
@echo Making in check crypto\crc32
- -$(MAKE) -$(MFLAGS) check
+ $(MAKE) -$(MFLAGS) check
cd ..\des
@echo Making check in crypto\des
- -$(MAKE) -$(MFLAGS) check
+ $(MAKE) -$(MFLAGS) check
cd ..\dk
@echo Making check in crypto\dk
- -$(MAKE) -$(MFLAGS) check
+ $(MAKE) -$(MFLAGS) check
cd ..\enc_provider
@echo Making check in crypto\enc_provider
- -$(MAKE) -$(MFLAGS) check
+ $(MAKE) -$(MFLAGS) check
cd ..\hash_provider
@echo Making check in crypto\hash_provider
- -$(MAKE) -$(MFLAGS) check
+ $(MAKE) -$(MFLAGS) check
cd ..\keyhash_provider
@echo Making check in crypto\keyhash_provider
- -$(MAKE) -$(MFLAGS) check
+ $(MAKE) -$(MFLAGS) check
cd ..\md4
@echo Making check in crypto\md4
- -$(MAKE) -$(MFLAGS) check
+ $(MAKE) -$(MFLAGS) check
cd ..\md5
@echo Making check in crypto\md5
- -$(MAKE) -$(MFLAGS) check
+ $(MAKE) -$(MFLAGS) check
cd ..\old
@echo Making check in crypto\old
- -$(MAKE) -$(MFLAGS) check
+ $(MAKE) -$(MFLAGS) check
cd ..\raw
@echo Making check in crypto\raw
- -$(MAKE) -$(MFLAGS) check
+ $(MAKE) -$(MFLAGS) check
cd ..\sha1
@echo Making check in crypto\sha1
- -$(MAKE) -$(MFLAGS) check
+ $(MAKE) -$(MFLAGS) check
cd ..
+Tue May 18 19:52:56 1999 Danilo Almeida <dalmeida@mit.edu>
+
+ * Makefile.in: Remove - from recursive Win32 make invocation.
+
Mon May 10 15:21:50 1999 Danilo Almeida <dalmeida@mit.edu>
* Makefile.in: Do win32 build in subdir.
all-windows::
cd generic
@echo Making in gssapi\generic
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..\krb5
@echo Making in gssapi\krb5
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
# cd ..\mechglue
# @echo Making in gssapi\mechglue
-# -$(MAKE) -$(MFLAGS)
+# $(MAKE) -$(MFLAGS)
cd ..
clean-windows::
cd generic
@echo Making clean in gssapi\generic
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..\krb5
@echo Making clean in gssapi\krb5
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
# cd ..\mechglue
# @echo Making clean in gssapi\mechglue
-# -$(MAKE) -$(MFLAGS) clean
+# $(MAKE) -$(MFLAGS) clean
cd ..
@echo Making clean in gssapi
+Wed May 19 11:39:05 1999 Danilo Almeida <dalmeida@mit.edu>
+
+ * Makefile.in: Fix windows cleanup to ignore any errors while
+ removing gssapi include dir.
+
Mon May 10 15:22:12 1999 Danilo Almeida <dalmeida@mit.edu>
* Makefile.in: Do win32 build in subdir.
clean-windows::
$(RM) $(HDRS)
- if exist $(EHDRDIR)\nul rmdir $(EHDRDIR)
+ -if exist $(EHDRDIR)\nul rmdir $(EHDRDIR)
includes-unix::
@if test -d $(EHDRDIR); then :; else (set -x; mkdir $(EHDRDIR)) fi
+Wed May 19 11:40:52 1999 Danilo Almeida <dalmeida@mit.edu>
+
+ * Makefile.in: Add windows build rules for putting header files in
+ include dir.
+
Mon May 10 15:22:27 1999 Danilo Almeida <dalmeida@mit.edu>
* Makefile.in: Do win32 build in subdir.
##DOS##LIBOBJS = $(OBJS)
-all-windows:: win-include $(SRCS) $(HDRS)
+GSSAPI_KRB5_HDR=$(EHDRDIR)$(S)gssapi_krb5.h
+
+all-windows:: win-include $(GSSAPI_KRB5_HDR) $(SRCS) $(HDRS)
all-unix:: $(SRCS) $(HDRS) includes
all-unix:: all-libobjs
win-include::
if not exist $(EHDRDIR)\nul mkdir $(EHDRDIR)
- copy gssapi_krb5.h $(EHDRDIR)
+
+$(GSSAPI_KRB5_HDR): gssapi_krb5.h
+ $(CP) gssapi_krb5.h $@
clean-unix:: clean-libobjs
$(RM) $(ETHDRS) $(ETSRCS)
clean-windows::
$(RM) $(EHDRDIR)\gssapi_krb5.h
- if exist $(EHDRDIR)\nul rmdir $(EHDRDIR)
+ -if exist $(EHDRDIR)\nul rmdir $(EHDRDIR)
install::
@set -x; for f in $(EXPORTED_HEADERS) ; \
+Tue May 18 19:52:56 1999 Danilo Almeida <dalmeida@mit.edu>
+
+ * Makefile.in: Remove - from recursive Win32 make invocation.
+
Mon May 17 14:09:28 1999 Danilo Almeida <dalmeida@mit.edu>
* Makefile.in: Make directories for clean-windows target lowercase
all-windows::
cd asn.1
@echo Making in krb5\asn.1
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..\ccache
@echo Making in krb5\ccache
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..\error_tables
@echo Making in krb5\error_tables
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..\keytab
@echo Making in krb5\keytab
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..\krb
@echo Making in krb5\krb
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..\os
@echo Making in krb5\os
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..\posix
@echo Making in krb5\posix
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..\rcache
@echo Making in krb5\rcache
- -$(MAKE) -$(MFLAGS)
+ $(MAKE) -$(MFLAGS)
cd ..
clean-windows::
cd asn.1
@echo Making clean in krb5\asn.1
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..\ccache
@echo Making clean in krb5\ccache
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..\error_tables
@echo Making clean in krb5\error_tables
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..\keytab
@echo Making clean in krb5\keytab
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..\krb
@echo Making clean in krb5\krb
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..\os
@echo Making clean in krb5\os
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..\posix
@echo Making clean in krb5\posix
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..\rcache
@echo Making clean in krb5\rcache
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..
@echo Making clean locally
+Tue May 18 19:52:56 1999 Danilo Almeida <dalmeida@mit.edu>
+
+ * Makefile.in: Remove - from recursive Win32 make invocation.
+
Mon May 17 14:11:45 1999 Danilo Almeida <dalmeida@mit.edu>
* Makefile.in: Clean ccapi subdirectory in clean-windows target.
##DOS##file\$(OUTPRE)file.lst::
##DOS## cd file
##DOS## @echo Making in krb5\ccache\file
-##DOS## -$(MAKE) -$(MFLAGS)
+##DOS## $(MAKE) -$(MFLAGS)
##DOS## cd ..
##DOS##memory\$(OUTPRE)file.lst::
##DOS## cd memory
##DOS## @echo Making in krb5\ccache\memory
-##DOS## -$(MAKE) -$(MFLAGS)
+##DOS## $(MAKE) -$(MFLAGS)
##DOS## cd ..
##DOS##ccapi\$(OUTPRE)file.lst::
##DOS## cd ccapi
##DOS## @echo Making in krb5\ccache\ccapi
-##DOS## -$(MAKE) -$(MFLAGS)
+##DOS## $(MAKE) -$(MFLAGS)
##DOS## cd ..
##DOS##$(OBJFILE): $(OBJS) file\$(OUTPRE)file.lst memory\$(OUTPRE)file.lst ccapi\$(OUTPRE)file.lst
clean-windows::
cd file
@echo Making clean in krb5\ccache\file
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..\memory
@echo Making clean in krb5\ccache\memory
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..\ccapi
@echo Making clean in krb5\ccache\ccapi
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..
@echo Making clean in krb5\ccache
$(RM) $(OBJFILE)
+Tue May 18 19:52:56 1999 Danilo Almeida <dalmeida@mit.edu>
+
+ * Makefile.in: Remove - from recursive Win32 make invocation.
+
Mon May 10 15:25:32 1999 Danilo Almeida <dalmeida@mit.edu>
* Makefile.in: Do win32 build in subdir.
##DOSfile\$(OUTPRE)file.lst::
##DOS cd file
##DOS @echo Making in krb5\keytab\file
-##DOS -$(MAKE) -$(MFLAGS)
+##DOS $(MAKE) -$(MFLAGS)
##DOS cd ..
##DOS$(OBJFILE): $(OBJS) file\$(OUTPRE)file.lst
clean-windows::
cd file
@echo Making clean in krb5\keytab\file
- -$(MAKE) -$(MFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..
@echo Making clean in krb5\keytab
$(RM) $(OBJFILE)
+Wed May 19 11:43:36 1999 Danilo Almeida <dalmeida@mit.edu>
+
+ * Makefile.in: Add all and cleanup rules for windows for windows,
+ et, and profile subdirectories.
+
Sat May 15 19:48:31 1999 Theodore Y. Ts'o <tytso@mit.edu>
* makeshlib.sh (library): Add -bnoentry to the AIX shared library
all-recurse: libupdate makeshlib
all-mac::
-all-windows: libupdate
+
+NO_OUTDIR=1
+all-windows::
+ @echo Making in util\windows
+ cd windows
+ $(MAKE) -$(MFLAGS)
+ @echo Making in util\et
+ cd ..\et
+ $(MAKE) -$(MFLAGS)
+ @echo Making in util\profile
+ cd ..\profile
+ $(MAKE) -$(MFLAGS)
+ cd ..
+
+clean-windows::
+ @echo Making clean in util\windows
+ cd windows
+ $(MAKE) -$(MFLAGS) clean
+ @echo Making clean in util\et
+ cd ..\et
+ $(MAKE) -$(MFLAGS) clean
+ @echo Making clean in util\profile
+ cd ..\profile
+ $(MAKE) -$(MFLAGS) clean
+ cd ..
# this is necessary because the db2 build, which is intended to be
# standalone, of course does not know to make symlinks in the right
+Wed May 19 11:44:31 1999 Danilo Almeida <dalmeida@mit.edu>
+
+ * Makefile.in: Add windows build rules for putting header files in
+ include dir. Do cleanup of header for windows clean.
+
Mon May 10 15:27:07 1999 Danilo Almeida <dalmeida@mit.edu>
* Makefile.in: Do win32 build in subdir.
SHLIB_LDFLAGS= $(LDFLAGS) @SHLIB_RPATH_DIRS@
SHLIB_LIBDIRS= @SHLIB_LIBDIRS@
+COM_ERR_HDR=$(BUILDTOP)$(S)include$(S)com_err.h
-all-windows:: $(OBJFILE)
- copy com_err.h $(BUILDTOP)\include
+all-windows:: $(COM_ERR_HDR)
+$(COM_ERR_HDR): com_err.h
+ $(CP) com_err.h $@
error_table.c: et_lex.lex.c
error_table.c: $(srcdir)/error_table.y
eddep makedep *.ln
clean-windows::
- $(RM) $(OUTPRE)comerr.lib comerr.bak
+ $(RM) $(COM_ERR_HDR)
com_err.ps : com_err.dvi
com_err.dvi: com_err.texinfo
+Wed May 19 11:46:02 1999 Danilo Almeida <dalmeida@mit.edu>
+
+ * Makefile.in: Add windows build rules for putting header files in
+ include dir. Do cleanup of header for windows clean.
+
Mon May 10 15:27:19 1999 Danilo Almeida <dalmeida@mit.edu>
* Makefile.in: Do win32 build in subdir.
STOBJLISTS=OBJS.ST
+PROFILE_HDR=$(BUILDTOP)$(S)include$(S)profile.h
+
all-unix:: includes test_parse test_profile
all-unix:: all-libs
-all-windows::
+all-windows:: $(PROFILE_HDR)
+
+$(PROFILE_HDR):: profile.h
+ $(CP) profile.h $@
includes:: profile.h
if cmp profile.h \
prof_err.c test_profile profile.h
clean-windows::
- $(RM) $(OUTPRE)profile.lib profile.bak $(OUTPRE)test_parse.exe $(OUTPRE)test_profile.exe
+ $(RM) $(PROFILE_HDR)
check-windows:: $(OUTPRE)test_profile.exe $(OUTPRE)test_parse.exe
$(RM) $(OUTPRE)*.obj
+Tue May 18 19:52:56 1999 Danilo Almeida <dalmeida@mit.edu>
+
+ * Makefile.in: Remove - from recursive Win32 make invocation.
+
+ * readme: Update with Unix-less build method. Add notice saying
+ we build with MSVC++ 6.0 and do not know whether it works
+ with other compiler/make utilties.
+
Mon May 17 19:53:28 1999 Danilo Almeida <dalmeida@mit.edu>
* version.rc: Boost version to 1.0.6.
all-windows::
@echo Making in windows\lib
cd lib
- -$(MAKE) -$(MAKEFLAGS) LIBCMD=$(LIBCMD)
+ $(MAKE) -$(MFLAGS) LIBCMD=$(LIBCMD)
@echo Making in windows\cns
cd ..\cns
- -$(MAKE) -$(MAKEFLAGS) LIBCMD=$(LIBCMD)
+ $(MAKE) -$(MFLAGS) LIBCMD=$(LIBCMD)
@echo Making in windows\wintel
cd ..\wintel
- -$(MAKE) -$(MAKEFLAGS) LIBCMD=$(LIBCMD)
+ $(MAKE) -$(MFLAGS) LIBCMD=$(LIBCMD)
@echo Making in windows\gss
cd ..\gss
- -$(MAKE) -$(MAKEFLAGS) LIBCMD=$(LIBCMD)
+ $(MAKE) -$(MFLAGS) LIBCMD=$(LIBCMD)
@echo Making in windows\gina
cd ..\gina
- -$(MAKE) -$(MAKEFLAGS) LIBCMD=$(LIBCMD)
+ $(MAKE) -$(MFLAGS) LIBCMD=$(LIBCMD)
cd ..
clean-windows::
@echo Making clean in windows\lib
cd lib
- -$(MAKE) -$(MAKEFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
@echo Making clean in windows\cns
cd ..\cns
- -$(MAKE) -$(MAKEFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
@echo Making clean in windows\wintel
cd ..\wintel
- -$(MAKE) -$(MAKEFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
@echo Making clean in windows\gss
cd ..\gss
- -$(MAKE) -$(MAKEFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
@echo Making clean in windows\gina
cd ..\gina
- -$(MAKE) -$(MAKEFLAGS) clean
+ $(MAKE) -$(MFLAGS) clean
cd ..
-Windows Kerberos 5
+Building Windows Kerberos 5
-Here are the steps for making the Windows version of Kerberos 5.
+We build Kerberos 5 on Windows just with MSVC++ 6.0. You should
+not need anything else. We do not know whether it currently
+builds with other compilers or make utilities.
+
+There are two basic methods for making the Windows version of Kerberos
+5. The traditional method involves starting on a Unix machine and
+creating a distribution that can be built on Windows. The second
+method works from the sources that come from the CVS tree if you have
+certain Unix-type utilities.
+
+Traditional Method:
+------------------
On the Unix side
1) cd xxx/src # Go to where the source lives
-2) make -f Makefile.in kerbsrc.zip # Does some Unix-side configuring
- # ...and creates kerbsrc.zip
+2) make -f Makefile.in kerbsrc.zip # Do some Unix-side configuring
+ # ...and create kerbsrc.zip
3) <transfer kerbsrc.zip to the PC>
3) unzip kerbsrc.zip
- or -
pkunzip -d kerbsrc.zip
+4) nmake -nologo # Build the sources
+5) nmake mkbin # Place binaries generated by the
+ # ...build in the kbin directory
+6) <make sure the configuration file krb5.ini is in the \windows or \winnt
+ directory.>
-4) nmake -c # Configures the makefiles and runs
- # ...make in all the subdirectories.
-5) mkbin # This will run a patch file which
- # collects the DLL's and executables
- # generated by the build procedure
- # and place them in the kbin directory
+All-Windows Method:
+------------------
-6) <make sure the configuration file krb5.ini is in the \windows or \winnt
- directory.>
+First, make sure you have sed, gawk, cat, and cp.
+1) cd xxx/src # Go to where the source lives
+2) nmake -f Makefile.in prep-windows # Create Makefile for Windows
+3) nmake -nologo # Build the sources
+4) nmake mkbin # Place binaries generated by the
+ # ...build in the kbin directory