From be6b2379e89c19662ba5b62321416a2b894fbc8c Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Wed, 22 Jun 1994 22:26:20 +0000 Subject: [PATCH] test DONE for emptiness before using git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3894 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/Makefile.in | 12 +++++++----- src/lib/gssapi/Makefile.in | 6 ++++-- src/lib/krb5/Makefile.in | 26 ++++++++++++++------------ 3 files changed, 25 insertions(+), 19 deletions(-) diff --git a/src/lib/crypto/Makefile.in b/src/lib/crypto/Makefile.in index c0d52b75e..da6c0ea78 100644 --- a/src/lib/crypto/Makefile.in +++ b/src/lib/crypto/Makefile.in @@ -19,6 +19,8 @@ RM = rm -f CP = cp RANLIB = @RANLIB@ +TST=if test -n "`cat DONE`" ; then + SRCTOP = $(srcdir)/$(BUILDTOP) OBJS= cryptoconf.o @@ -27,11 +29,11 @@ SRCS= $(srcdir)/cryptoconf.c all:: libcrypto.a: des/DONE md4/DONE md5/DONE crc32/DONE os/DONE $(OBJS) - (cd des; $(ARADD) ../$@ `cat DONE`) - (cd crc32; $(ARADD) ../$@ `cat DONE`) - (cd md4; $(ARADD) ../$@ `cat DONE`) - (cd md5; $(ARADD) ../$@ `cat DONE`) - (cd os; $(ARADD) ../$@ `cat DONE`) + (cd des; $(TST) $(ARADD) ../$@ `cat DONE` ; fi) + (cd crc32; $(TST) $(ARADD) ../$@ `cat DONE` ; fi) + (cd md4; $(TST) $(ARADD) ../$@ `cat DONE` ; fi) + (cd md5; $(TST) $(ARADD) ../$@ `cat DONE` ; fi) + (cd os; $(TST) $(ARADD) ../$@ `cat DONE` ; fi) $(ARADD) $@ $(OBJS) $(RANLIB) $@ diff --git a/src/lib/gssapi/Makefile.in b/src/lib/gssapi/Makefile.in index 8c772f76a..e05838d39 100644 --- a/src/lib/gssapi/Makefile.in +++ b/src/lib/gssapi/Makefile.in @@ -12,11 +12,13 @@ RM = rm -f CP = cp RANLIB = @RANLIB@ +TST=if test -n "`cat DONE`" ; then + all:: libgssapi_krb5.a: generic/DONE krb5/DONE - (cd generic; $(ARADD) ../$@ `cat DONE`) - (cd krb5; $(ARADD) ../$@ `cat DONE`) + (cd generic; $(TST) $(ARADD) ../$@ `cat DONE` ; fi) + (cd krb5; $(TST) $(ARADD) ../$@ `cat DONE` ; fi) $(RANLIB) $@ install:: libgssapi_krb5.a diff --git a/src/lib/krb5/Makefile.in b/src/lib/krb5/Makefile.in index caff23e9a..66121e37e 100644 --- a/src/lib/krb5/Makefile.in +++ b/src/lib/krb5/Makefile.in @@ -13,23 +13,25 @@ RM = rm -f CP = cp RANLIB = @RANLIB@ +TST=if test -n "`cat DONE`" ; then + all:: libkrb5.a: error_tables/DONE asn.1/DONE ccache/DONE ccache/stdio/DONE \ ccache/file/DONE keytab/DONE keytab/file/DONE krb/DONE \ rcache/DONE free/DONE os/DONE posix/DONE - (cd error_tables; $(ARADD) ../$@ `cat DONE`) - (cd asn.1; $(ARADD) ../$@ `cat DONE`) - (cd ccache; $(ARADD) ../$@ `cat DONE`) - (cd ccache/stdio; $(ARADD) ../../$@ `cat DONE`) - (cd ccache/file; $(ARADD) ../../$@ `cat DONE`) - (cd keytab; $(ARADD) ../$@ `cat DONE`) - (cd keytab/file; $(ARADD) ../../$@ `cat DONE`) - (cd krb; $(ARADD) ../$@ `cat DONE`) - (cd rcache; $(ARADD) ../$@ `cat DONE`) - (cd free; $(ARADD) ../$@ `cat DONE`) - (cd os; $(ARADD) ../$@ `cat DONE`) - (cd posix; $(ARADD) ../$@ `cat DONE`) + (cd error_tables; $(TST) $(ARADD) ../$@ `cat DONE` ; fi) + (cd asn.1; $(TST) $(ARADD) ../$@ `cat DONE` ; fi) + (cd ccache; $(TST) $(ARADD) ../$@ `cat DONE` ; fi) + (cd ccache/stdio; $(TST) $(ARADD) ../../$@ `cat DONE` ; fi) + (cd ccache/file; $(TST) $(ARADD) ../../$@ `cat DONE` ; fi) + (cd keytab; $(TST) $(ARADD) ../$@ `cat DONE` ; fi) + (cd keytab/file; $(TST) $(ARADD) ../../$@ `cat DONE` ; fi) + (cd krb; $(TST) $(ARADD) ../$@ `cat DONE` ; fi) + (cd rcache; $(TST) $(ARADD) ../$@ `cat DONE` ; fi) + (cd free; $(TST) $(ARADD) ../$@ `cat DONE` ; fi) + (cd os; $(TST) $(ARADD) ../$@ `cat DONE` ; fi) + (cd posix; $(TST) $(ARADD) ../$@ `cat DONE` ; fi) $(RANLIB) $@ install:: libkrb5.a -- 2.26.2