home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / misc / md5 / Makefile < prev    next >
Encoding:
Makefile  |  1998-04-13  |  1.0 KB  |  36 lines

  1. # MD5 program used to create the checksums in the top-level file `checksums'.
  2. # This program is copyright RSA Data Security, Inc.
  3. #
  4. # This actual version is derived from the libraries and applications in
  5. # FreeBSD 2.2.6, but is given here in `standalone' format. It is known
  6. # to compile cleanly on FreeBSD 2.2.6 and Solaris 2.4. Fixes for other
  7. # platforms most welcome! Email them to wkt@cs.adfa.oz.au.
  8. #
  9. # The top-level checksums is generated by doing:
  10. #
  11. #    % cd top-level
  12. #    % find * -type f -print | xargs md5 > checksums
  13. #
  14. # You can do this to generate your own file, and then use diff or cmp to
  15. # verify that they are the same. You might need to sort your checksums and
  16. # the top-level checksums, just in case find(1) prints out the file list
  17. # in a different order.
  18. #
  19. #    Warren Toomey
  20. #
  21.  
  22. md5: md5.o md5c.o md5hl.o
  23.     cc -o md5 md5.o md5c.o md5hl.o
  24.  
  25. md5.o: global.h md5.c md5.h
  26.     cc -c -O md5.c
  27.  
  28. md5c.o: md5c.c md5.h global.h
  29.     cc -c -O md5c.c
  30.  
  31. md5hl.o: md5hl.c md5.h global.h
  32.     cc -c -O md5hl.c
  33.  
  34. clean:
  35.     rm -f *.o core *.core md5
  36.