svn rev #22517: trunk/src/lib/crypto/crypto_tests/

ghudson@MIT.EDU ghudson at MIT.EDU
Mon Aug 10 15:35:34 EDT 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22517
Commit By: ghudson
Log Message:
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.



Changed Files:
U   trunk/src/lib/crypto/crypto_tests/Makefile.in
Modified: trunk/src/lib/crypto/crypto_tests/Makefile.in
===================================================================
--- trunk/src/lib/crypto/crypto_tests/Makefile.in	2009-08-10 19:12:47 UTC (rev 22516)
+++ trunk/src/lib/crypto/crypto_tests/Makefile.in	2009-08-10 19:35:34 UTC (rev 22517)
@@ -79,9 +79,12 @@
 
 #	$(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)
 




More information about the cvs-krb5 mailing list