Link test programs against thread support library
authorKen Raeburn <raeburn@mit.edu>
Thu, 13 May 2004 04:38:58 +0000 (04:38 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 13 May 2004 04:38:58 +0000 (04:38 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16332 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/ChangeLog
src/lib/crypto/Makefile.in
src/lib/crypto/aes/ChangeLog
src/lib/crypto/aes/Makefile.in
src/lib/crypto/des/ChangeLog
src/lib/crypto/des/Makefile.in
src/lib/crypto/keyhash_provider/ChangeLog
src/lib/crypto/keyhash_provider/Makefile.in

index aa34731f5cde2ea8a3dea36338ceb3de85354a0c..390f8188ab6d5b64afbe470fc427c1fcca39669b 100644 (file)
@@ -1,3 +1,8 @@
+2004-05-13  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (t_encrypt, t_prng, t_hmac, t_pkcs5, vectors,
+       t_cts): Link test programs against thread support library.
+
 2004-05-12  Ken Raeburn  <raeburn@mit.edu>
 
        * libk5crypto.exports: Add the DES tables back in; libdes425 uses
index 3421ffa1849dd9f82125940c5a6f87d46c297acc..4670684c5bb0790566c83a708e6396ed31682fec 100644 (file)
@@ -183,23 +183,23 @@ t_nfold$(EXEEXT): t_nfold.$(OBJEXT) nfold.$(OBJEXT)
        $(CC_LINK) -o $@ t_nfold.$(OBJEXT) nfold.$(OBJEXT)
 
 t_encrypt$(EXEEXT): t_encrypt.$(OBJEXT) nfold.$(OBJEXT) $(CRYPTO_DEPLIB)
-       $(CC_LINK) -o $@ t_encrypt.$(OBJEXT)  -lkrb5 -lk5crypto -lcom_err
+       $(CC_LINK) -o $@ t_encrypt.$(OBJEXT)  -lkrb5 -lk5crypto -lcom_err $(SUPPORT_LIB)
 
 t_prng$(EXEEXT): t_prng.$(OBJEXT) 
-       $(CC_LINK) -o $@ t_prng.$(OBJEXT)  -lk5crypto -lcom_err
+       $(CC_LINK) -o $@ t_prng.$(OBJEXT)  -lk5crypto -lcom_err $(SUPPORT_LIB)
 
 t_hmac$(EXEEXT): t_hmac.$(OBJEXT) $(CRYPTO_DEPLIB)
-       $(CC_LINK) -o $@ t_hmac.$(OBJEXT) $(K5CRYPTO_LIB) $(COM_ERR_LIB)
+       $(CC_LINK) -o $@ t_hmac.$(OBJEXT) $(K5CRYPTO_LIB) $(COM_ERR_LIB) $(SUPPORT_LIB)
 
 t_pkcs5$(EXEEXT): t_pkcs5.$(OBJEXT) $(CRYPTO_DEPLIB)
-       $(CC_LINK) -o $@ t_pkcs5.$(OBJEXT) $(K5CRYPTO_LIB) $(COM_ERR_LIB)
+       $(CC_LINK) -o $@ t_pkcs5.$(OBJEXT) $(K5CRYPTO_LIB) $(COM_ERR_LIB) $(SUPPORT_LIB)
 
 vectors$(EXEEXT): vectors.$(OBJEXT) $(CRYPTO_DEPLIB)
-       $(CC_LINK) -o $@ vectors.$(OBJEXT) $(K5CRYPTO_LIB) $(COM_ERR_LIB)
+       $(CC_LINK) -o $@ vectors.$(OBJEXT) $(K5CRYPTO_LIB) $(COM_ERR_LIB) $(SUPPORT_LIB)
 
 t_cts$(EXEEXT): t_cts.$(OBJEXT) $(CRYPTO_DEPLIB)
        $(CC_LINK) -o $@ t_cts.$(OBJEXT) \
-               $(K5CRYPTO_LIB) $(COM_ERR_LIB)
+               $(K5CRYPTO_LIB) $(COM_ERR_LIB) $(SUPPORT_LIB)
 
 
 clean::
index 9e91cafd0387af2a92df39f184ff95a20151e6fd..033ae9bc3e113ee9228a295dc4ba5c61fbf51793 100644 (file)
@@ -1,3 +1,8 @@
+2004-05-13  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (aes-test): Link test program against thread support
+       library.
+
 2004-05-07  Ken Raeburn  <raeburn@mit.edu>
 
        * aesopt.h (PLATFORM_BYTE_ORDER): Check for _MIPSEB, _MIPSEL.  If
index 84b9f68e42440ac5949a3db9a8762ab0ccaebbad..ce3e4bdbdf5c755a705a03af819dc0842a658475 100644 (file)
@@ -53,7 +53,7 @@ run-aes-gen: aes-gen
 check:: run-aes-gen
 
 aes-test: aes-test.$(OBJEXT) $(CRYPTO_DEPLIB)
-       $(CC_LINK) -o aes-test aes-test.$(OBJEXT) $(K5CRYPTO_LIB) $(COM_ERR_LIB)
+       $(CC_LINK) -o aes-test aes-test.$(OBJEXT) $(K5CRYPTO_LIB) $(COM_ERR_LIB) $(SUPPORT_LIB)
 
 check:: run-aes-test
 run-aes-test: aes-test
index faba39650d1c20d3058e89ed721c30ead32d129d..04306190908217226d327ed587a541b1870eabec 100644 (file)
@@ -1,3 +1,8 @@
+2004-05-13  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (verify, t_afss2k): Link test programs against
+       thread support library.
+
 2004-04-02  Ken Raeburn  <raeburn@mit.edu>
 
        * string2key.c: Replaced with a new implementation.
index a701a589ddee6219b3b5aaadab104c10011bb7ce..f5f18a4730ec9499e15649a2e4d85d54fd3d7223 100644 (file)
@@ -61,9 +61,9 @@ TOBJS = $(OUTPRE)key_sched.$(OBJEXT) $(OUTPRE)f_sched.$(OBJEXT) $(OUTPRE)f_cbc.$
        $(OUTPRE)f_tables.$(OBJEXT) $(OUTPRE)f_cksum.$(OBJEXT)
 
 verify$(EXEEXT): t_verify.$(OBJEXT) $(TOBJS) f_parity.$(OBJEXT) \
-       $(COM_ERR_DEPLIB)
+       $(COM_ERR_DEPLIB) $(SUPPORT_DEPLIB)
        $(CC_LINK) -o $@ t_verify.$(OBJEXT) $(TOBJS) f_parity.$(OBJEXT) \
-               -lcom_err
+               -lcom_err $(SUPPORT_LIB)
 
 destest$(EXEEXT): destest.$(OBJEXT) $(TOBJS)
        $(CC_LINK) -o $@ destest.$(OBJEXT) $(TOBJS)
@@ -72,8 +72,8 @@ TAFSS2KOBJS =                                                         \
        t_afss2k.$(OBJEXT) $(TOBJS)                                     \
        afsstring2key.$(OBJEXT) f_parity.$(OBJEXT) weak_key.$(OBJEXT)
 
-t_afss2k$(EXEEXT): $(TAFSS2KOBJS) $(COM_ERR_DEPLIB)
-       $(CC_LINK) -o $@ $(TAFSS2KOBJS) -lcom_err
+t_afss2k$(EXEEXT): $(TAFSS2KOBJS) $(COM_ERR_DEPLIB) $(SUPPORT_DEPLIB)
+       $(CC_LINK) -o $@ $(TAFSS2KOBJS) -lcom_err $(SUPPORT_LIB)
 
 check-unix:: verify destest t_afss2k
        $(RUN_SETUP) ./verify -z
index accfb953dfdd278310fbbb2aa4fc045038c4e0c0..6f442b1f3d7d7b2ddf5f91eb266b9317a0a90667 100644 (file)
@@ -1,3 +1,8 @@
+2004-05-13  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (t_cksum4, t_cksum5): Link test programs against
+       thread support library.
+
 2003-12-19  Ken Raeburn  <raeburn@mit.edu>
 
        * descbc.c (mit_des_zeroblock): Don't define here.
index af565f97e2bed1ba3969f50e69fd821c25085181..f67a476bfc0df07d6759b76ebf0a9ac4329d70be 100644 (file)
@@ -36,10 +36,10 @@ t_cksum5.o: $(srcdir)/t_cksum.c
        $(CC) -DMD=5 $(ALL_CFLAGS) -o t_cksum5.o -c $(srcdir)/t_cksum.c
 
 t_cksum4: t_cksum4.o $(CRYTPO_DEPLIB)
-       $(CC_LINK) -o t_cksum4 t_cksum4.o $(K5CRYPTO_LIB) $(COM_ERR_LIB) $(LIBS)
+       $(CC_LINK) -o t_cksum4 t_cksum4.o $(K5CRYPTO_LIB) $(COM_ERR_LIB) $(SUPPORT_LIB) $(LIBS)
 
 t_cksum5: t_cksum5.o $(CRYPTO_DEPLIB)
-       $(CC_LINK) -o t_cksum5 t_cksum5.o $(K5CRYPTO_LIB) $(COM_ERR_LIB) $(LIBS)
+       $(CC_LINK) -o t_cksum5 t_cksum5.o $(K5CRYPTO_LIB) $(COM_ERR_LIB) $(SUPPORT_LIB) $(LIBS)
 
 check-unix:: t_cksum4 t_cksum5
        $(RUN_SETUP) $(C)t_cksum4 "this is a test"