From e227fa396c1d4371184c8f393bd3b7c73c23f5aa Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Mon, 10 Aug 2009 19:35:34 +0000 Subject: [PATCH] Correct the t_nfold build rules again. We don't have a simple way of plucking object files from other directories (we don't know for sure what extension to use), so build an nfold.o in this directory from the nfold.c in the ../krb source directory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22517 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/crypto_tests/Makefile.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/crypto/crypto_tests/Makefile.in b/src/lib/crypto/crypto_tests/Makefile.in index 6753515fa..4e33e83b8 100644 --- a/src/lib/crypto/crypto_tests/Makefile.in +++ b/src/lib/crypto/crypto_tests/Makefile.in @@ -79,9 +79,12 @@ check-unix:: t_nfold t_encrypt t_prf t_prng t_hmac t_cf2 \ # $(RUN_SETUP) $(VALGRIND) ./t_pkcs5 -t_nfold$(EXEEXT): t_nfold.$(OBJEXT) ../krb/nfold$(DYNOBJEXT) $(SUPPORT_DEPLIB) +t_nfold$(EXEEXT): t_nfold.$(OBJEXT) nfold.$(OBJEXT) $(SUPPORT_DEPLIB) $(CC_LINK) -o $@ t_nfold.$(OBJEXT) ../krb/nfold$(DYNOBJEXT) $(SUPPORT_LIB) +nfold.$(OBJEXT): $(srcdir)/../krb/nfold.c + $(CC) -c $(ALL_CFLAGS) $(srcdir)/../krb/nfold.c + t_encrypt$(EXEEXT): t_encrypt.$(OBJEXT) $(CRYPTO_DEPLIB) $(SUPPORT_DEPLIB) $(CC_LINK) -o $@ t_encrypt.$(OBJEXT) -lkrb5 -lk5crypto -lcom_err $(SUPPORT_LIB) -- 2.26.2