Mercurial > dropbear
comparison makefile @ 50:c61e66431001 libtomcrypt
Merge of the normal Dropbear makefile:
- Don't include mpi.o, since it does Bad Things (tm) (wrt LTM)
- Don't try to make clean in tests if it doesn't exist (infinite looping
makefiles, mmmmm)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 07 Aug 2004 16:33:31 +0000 |
parents | 712dd6dfb0eb |
children |
comparison
equal
deleted
inserted
replaced
20:b939f2d4431e | 50:c61e66431001 |
---|---|
56 DATAPATH=/usr/share/doc/libtomcrypt/pdf | 56 DATAPATH=/usr/share/doc/libtomcrypt/pdf |
57 | 57 |
58 #List of objects to compile. | 58 #List of objects to compile. |
59 | 59 |
60 #Leave MPI built-in or force developer to link against libtommath? | 60 #Leave MPI built-in or force developer to link against libtommath? |
61 MPIOBJECT=mpi.o | 61 #MPIOBJECT=mpi.o |
62 #Dropbear uses libtommath | |
63 MPIOBJECT= | |
62 | 64 |
63 OBJECTS=error_to_string.o mpi_to_ltc_error.o base64_encode.o base64_decode.o \ | 65 OBJECTS=error_to_string.o mpi_to_ltc_error.o base64_encode.o base64_decode.o \ |
64 \ | 66 \ |
65 crypt.o crypt_find_cipher.o crypt_find_hash_any.o \ | 67 crypt.o crypt_find_cipher.o crypt_find_hash_any.o \ |
66 crypt_hash_is_valid.o crypt_register_hash.o crypt_unregister_prng.o \ | 68 crypt_hash_is_valid.o crypt_register_hash.o crypt_unregister_prng.o \ |
196 clean: | 198 clean: |
197 rm -f $(OBJECTS) $(TESTOBJECTS) $(HASHOBJECTS) $(CRYPTOBJECTS) $(SMALLOBJECTS) $(LEFTOVERS) $(LIBNAME) | 199 rm -f $(OBJECTS) $(TESTOBJECTS) $(HASHOBJECTS) $(CRYPTOBJECTS) $(SMALLOBJECTS) $(LEFTOVERS) $(LIBNAME) |
198 rm -f $(TEST) $(HASH) $(COMPRESSED) $(PROFS) $(PROF) $(TVS) $(TV) | 200 rm -f $(TEST) $(HASH) $(COMPRESSED) $(PROFS) $(PROF) $(TVS) $(TV) |
199 rm -f *.a *.dll *stackdump *.lib *.exe *.obj demos/*.obj demos/*.o *.bat *.txt *.il *.da demos/*.il demos/*.da *.dyn *.dpi \ | 201 rm -f *.a *.dll *stackdump *.lib *.exe *.obj demos/*.obj demos/*.o *.bat *.txt *.il *.da demos/*.il demos/*.da *.dyn *.dpi \ |
200 *.gcda *.gcno demos/*.gcno demos/*.gcda *~ doc/* | 202 *.gcda *.gcno demos/*.gcno demos/*.gcda *~ doc/* |
201 cd demos/test ; make clean | 203 cd demos/test && make clean |
202 | 204 |
203 #This builds the crypt.pdf file. Note that the rm -f *.pdf has been removed | 205 #This builds the crypt.pdf file. Note that the rm -f *.pdf has been removed |
204 #from the clean command! This is because most people would like to keep the | 206 #from the clean command! This is because most people would like to keep the |
205 #nice pre-compiled crypt.pdf that comes with libtomcrypt! We only need to | 207 #nice pre-compiled crypt.pdf that comes with libtomcrypt! We only need to |
206 #delete it if we are rebuilding it. | 208 #delete it if we are rebuilding it. |