Build kinit/klist/kdestroy under win32
authorRichard Basch <probe@mit.edu>
Tue, 11 Feb 1997 05:02:33 +0000 (05:02 +0000)
committerRichard Basch <probe@mit.edu>
Tue, 11 Feb 1997 05:02:33 +0000 (05:02 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9848 dc483132-0cff-0310-8789-dd5450dbe970

src/clients/ChangeLog
src/clients/Makefile.in
src/clients/kdestroy/ChangeLog
src/clients/kdestroy/Makefile.in
src/clients/kinit/ChangeLog
src/clients/kinit/Makefile.in
src/clients/klist/ChangeLog
src/clients/klist/Makefile.in

index bf39c42bd7a7f4a5fa88c0de80db708f641d6b04..b84bbe0b3b7c41c403ebf4a4185a9b3145dc51c9 100644 (file)
@@ -1,3 +1,6 @@
+Sat Feb  8 15:27:31 1997  Richard Basch  <basch@lehman.com>
+
+       * Makefile.in: Added win32 rules (kinit,kdestroy,klist console apps)
 
 Fri Jul 7 15:52:28 EDT 1995    Paul Park       (pjpark@mit.edu)
        * Makefile.in - Remove LDFLAGS
index e0cfa31f000765627be8b83dc4c913a1e0f5b5f1..9812c9631ea8d5ef7685f32ef1de6a5e1cfac099 100644 (file)
@@ -1,2 +1,11 @@
-CFLAGS = $(CCOPTS)
-
+##WIN32##all-windows::
+##WIN32##      @echo Making all in clients\kinit
+##WIN32##      cd kinit
+##WIN32##      -$(MAKE) -$(MAKEFLAGS)
+##WIN32##      @echo Making all in clients\klist
+##WIN32##      cd ..\klist
+##WIN32##      -$(MAKE) -$(MAKEFLAGS)
+##WIN32##      @echo Making all in clients\kdestroy
+##WIN32##      cd ..\kdestroy
+##WIN32##      -$(MAKE) -$(MAKEFLAGS)
+##WIN32##      cd ..
index d984bee606166e57253966859e7b78b4c5630e20..ba51009b9c87175f997c4e87040105700fd0fe9b 100644 (file)
@@ -1,3 +1,8 @@
+Mon Feb 10 14:59:54 1997  Richard Basch  <basch@lehman.com>
+
+       * Makefile.in:
+               Build kdestroy.exe (win32 console app)
+
 Mon Jan 27 16:38:44 1997  Tom Yu  <tlyu@mit.edu>
 
        * Makefile.in:
index ccba1dd5426230f674b013cf36f0e1ff2c4d1004..665aa63efe22e49d564c096bc892479cfc634f03 100644 (file)
@@ -1,20 +1,34 @@
-CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE)
+##DOS##BUILDTOP=..\..
 
+CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE)
 PROG_LIBPATH=-L$(TOPLIBD)
 PROG_RPATH=$(KRB5_LIBDIR)
 
-all:: kdestroy
+all-unix:: kdestroy
+all-windows::
+all-mac::
 
 kdestroy: kdestroy.o $(KRB5_BASE_DEPLIBS)
        $(CC_LINK) -o $@ kdestroy.o $(KRB5_BASE_LIBS)
 
-clean::
+
+
+##WIN32##INCLUDES = /I$(BUILDTOP)\include /I$(BUILDTOP)\include\krb5
+##WIN32##CFLAGS        = $(CCOPTS2) $(INCLUDES)
+  
+##WIN32##all-windows:: kdestroy.exe
+##WIN32##kdestroy.exe: kdestroy.obj
+##WIN32##      link /nologo /out:$@ $*.obj \
+##WIN32##        $(BUILDTOP)\util\windows\getopt.obj $(KLIB)
+
+
+clean-unix::
        $(RM) kdestroy.o kdestroy
 
-install::
+install-unix::
        for f in kdestroy; do \
          $(INSTALL_PROGRAM) $$f \
                $(DESTDIR)$(CLIENT_BINDIR)/`echo $$f|sed '$(transform)'`; \
          $(INSTALL_DATA) $(srcdir)/$$f.M \
-               ${DESTDIR}$(CLIENT_MANDIR)/`echo $$f|sed '$(transform)'`.1; \
+               $(DESTDIR)$(CLIENT_MANDIR)/`echo $$f|sed '$(transform)'`.1; \
        done
index 6b5bb22d820ccd87a92fa8d9c6a0795da38ec84f..20a24669a005e8f8c748d5021c7b66e15583c91d 100644 (file)
@@ -1,3 +1,12 @@
+Sat Feb  8 15:37:39 1997  Richard Basch  <basch@lehman.com>
+
+       * Makefile.in:
+               Build kinit.exe (win32 console app)
+
+       * kinit.c:
+               Removed unused local variables
+               Created prototypes for internal functions (win32)
+
 Mon Jan 27 16:44:20 1997  Tom Yu  <tlyu@mit.edu>
 
        * Makefile.in:
index 7c889847076168ecc20427245efd17ed774a3464..2a5c84afcca3234ca868695fb8116f29a12690e3 100644 (file)
@@ -1,19 +1,33 @@
+##DOS##BUILDTOP=..\..
+
 CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE)
 PROG_LIBPATH=-L$(TOPLIBD)
 PROG_RPATH=$(KRB5_LIBDIR)
 
-all:: kinit
+all-unix:: kinit
+all-windows::
+all-mac::
 
 kinit: kinit.o $(KRB5_BASE_DEPLIBS)
        $(CC_LINK) -o $@ kinit.o $(KRB5_BASE_LIBS)
 
-clean::
+
+##WIN32##INCLUDES = /I$(BUILDTOP)\include /I$(BUILDTOP)\include\krb5
+##WIN32##CFLAGS        = $(CCOPTS2) $(INCLUDES)
+  
+##WIN32##all-windows:: kinit.exe
+##WIN32##kinit.exe: kinit.obj
+##WIN32##      link /nologo /out:$@ $*.obj \
+##WIN32##        $(BUILDTOP)\util\windows\getopt.obj $(KLIB)
+
+
+clean-unix::
        $(RM) kinit.o kinit
 
-install::
+install-unix::
        for f in kinit; do \
          $(INSTALL_PROGRAM) $$f \
                $(DESTDIR)$(CLIENT_BINDIR)/`echo $$f|sed '$(transform)'`; \
          $(INSTALL_DATA) $(srcdir)/$$f.M \
-               ${DESTDIR}$(CLIENT_MANDIR)/`echo $$f|sed '$(transform)'`.1; \
+               $(DESTDIR)$(CLIENT_MANDIR)/`echo $$f|sed '$(transform)'`.1; \
        done
index 8beb8714cc223a9145395be392d98da195fc8e26..ad720749360022e0e47f1b6c91ab0cf93670f6d9 100644 (file)
@@ -1,3 +1,8 @@
+Mon Feb 10 14:59:33 1997  Richard Basch  <basch@lehman.com>
+
+       * Makefile.in:
+               Build klist.exe (win32 console app)
+
 Mon Jan 27 16:51:50 1997  Tom Yu  <tlyu@mit.edu>
 
        * Makefile.in:
index f024aa2fc0c0c7bc6faf817caeae081b739d4a72..cbf74bef75ba860e81baa8f0b524c9c16e2da4c2 100644 (file)
@@ -1,20 +1,33 @@
-CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE)
+##DOS##BUILDTOP=..\..
 
+CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE)
 PROG_LIBPATH=-L$(TOPLIBD)
 PROG_RPATH=$(KRB5_LIBDIR)
 
-all:: klist
+all-unix:: klist
+all-windows::
+all-mac::
+
 
 klist: klist.o $(KRB5_BASE_DEPLIBS)
        $(CC_LINK) -o $@ klist.o $(KRB5_BASE_LIBS)
 
-clean::
+
+##WIN32##INCLUDES = /I$(BUILDTOP)\include /I$(BUILDTOP)\include\krb5
+##WIN32##CFLAGS        = $(CCOPTS2) $(INCLUDES)
+  
+##WIN32##all-windows:: klist.exe
+##WIN32##klist.exe: klist.obj
+##WIN32##      link /nologo /out:$@ $*.obj $(KLIB)
+
+
+clean-unix::
        $(RM) klist.o klist
 
-install::
+install-unix::
        for f in klist; do \
          $(INSTALL_PROGRAM) $$f \
                $(DESTDIR)$(CLIENT_BINDIR)/`echo $$f|sed '$(transform)'`; \
          $(INSTALL_DATA) $(srcdir)/$$f.M \
-               ${DESTDIR}$(CLIENT_MANDIR)/`echo $$f|sed '$(transform)'`.1; \
+               $(DESTDIR)$(CLIENT_MANDIR)/`echo $$f|sed '$(transform)'`.1; \
        done