From c49689e4ced41ecefb3595ede93d55c1e2bb4029 Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Tue, 11 Feb 1997 05:02:33 +0000 Subject: [PATCH] Build kinit/klist/kdestroy under win32 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9848 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/ChangeLog | 3 +++ src/clients/Makefile.in | 13 +++++++++++-- src/clients/kdestroy/ChangeLog | 5 +++++ src/clients/kdestroy/Makefile.in | 24 +++++++++++++++++++----- src/clients/kinit/ChangeLog | 9 +++++++++ src/clients/kinit/Makefile.in | 22 ++++++++++++++++++---- src/clients/klist/ChangeLog | 5 +++++ src/clients/klist/Makefile.in | 23 ++++++++++++++++++----- 8 files changed, 88 insertions(+), 16 deletions(-) diff --git a/src/clients/ChangeLog b/src/clients/ChangeLog index bf39c42bd..b84bbe0b3 100644 --- a/src/clients/ChangeLog +++ b/src/clients/ChangeLog @@ -1,3 +1,6 @@ +Sat Feb 8 15:27:31 1997 Richard Basch + + * 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 diff --git a/src/clients/Makefile.in b/src/clients/Makefile.in index e0cfa31f0..9812c9631 100644 --- a/src/clients/Makefile.in +++ b/src/clients/Makefile.in @@ -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 .. diff --git a/src/clients/kdestroy/ChangeLog b/src/clients/kdestroy/ChangeLog index d984bee60..ba51009b9 100644 --- a/src/clients/kdestroy/ChangeLog +++ b/src/clients/kdestroy/ChangeLog @@ -1,3 +1,8 @@ +Mon Feb 10 14:59:54 1997 Richard Basch + + * Makefile.in: + Build kdestroy.exe (win32 console app) + Mon Jan 27 16:38:44 1997 Tom Yu * Makefile.in: diff --git a/src/clients/kdestroy/Makefile.in b/src/clients/kdestroy/Makefile.in index ccba1dd54..665aa63ef 100644 --- a/src/clients/kdestroy/Makefile.in +++ b/src/clients/kdestroy/Makefile.in @@ -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 diff --git a/src/clients/kinit/ChangeLog b/src/clients/kinit/ChangeLog index 6b5bb22d8..20a24669a 100644 --- a/src/clients/kinit/ChangeLog +++ b/src/clients/kinit/ChangeLog @@ -1,3 +1,12 @@ +Sat Feb 8 15:37:39 1997 Richard Basch + + * 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 * Makefile.in: diff --git a/src/clients/kinit/Makefile.in b/src/clients/kinit/Makefile.in index 7c8898470..2a5c84afc 100644 --- a/src/clients/kinit/Makefile.in +++ b/src/clients/kinit/Makefile.in @@ -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 diff --git a/src/clients/klist/ChangeLog b/src/clients/klist/ChangeLog index 8beb8714c..ad7207493 100644 --- a/src/clients/klist/ChangeLog +++ b/src/clients/klist/ChangeLog @@ -1,3 +1,8 @@ +Mon Feb 10 14:59:33 1997 Richard Basch + + * Makefile.in: + Build klist.exe (win32 console app) + Mon Jan 27 16:51:50 1997 Tom Yu * Makefile.in: diff --git a/src/clients/klist/Makefile.in b/src/clients/klist/Makefile.in index f024aa2fc..cbf74bef7 100644 --- a/src/clients/klist/Makefile.in +++ b/src/clients/klist/Makefile.in @@ -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 -- 2.26.2