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)

--HG--
branch : libtomcrypt
extra : convert_revision : 2e048f798d212ab751471d7c19b5893745ce0e19
This commit is contained in:
Matt Johnston
2004-08-07 16:33:31 +00:00
parent 3aa21f813d
commit 5044b24c63

View File

@@ -58,7 +58,9 @@ DATAPATH=/usr/share/doc/libtomcrypt/pdf
#List of objects to compile.
#Leave MPI built-in or force developer to link against libtommath?
MPIOBJECT=mpi.o
#MPIOBJECT=mpi.o
#Dropbear uses libtommath
MPIOBJECT=
OBJECTS=error_to_string.o mpi_to_ltc_error.o base64_encode.o base64_decode.o \
\
@@ -198,7 +200,7 @@ clean:
rm -f $(TEST) $(HASH) $(COMPRESSED) $(PROFS) $(PROF) $(TVS) $(TV)
rm -f *.a *.dll *stackdump *.lib *.exe *.obj demos/*.obj demos/*.o *.bat *.txt *.il *.da demos/*.il demos/*.da *.dyn *.dpi \
*.gcda *.gcno demos/*.gcno demos/*.gcda *~ doc/*
cd demos/test ; make clean
cd demos/test && make clean
#This builds the crypt.pdf file. Note that the rm -f *.pdf has been removed
#from the clean command! This is because most people would like to keep the