Makefile.ssl 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. #
  2. # SSLeay/crypto/md/Makefile
  3. #
  4. DIR= hmac
  5. TOP= ../..
  6. CC= cc
  7. INCLUDES=
  8. CFLAG=-g
  9. INSTALL_PREFIX=
  10. OPENSSLDIR= /usr/local/ssl
  11. INSTALLTOP=/usr/local/ssl
  12. MAKE= make -f Makefile.ssl
  13. MAKEDEPEND= $(TOP)/util/domd $(TOP)
  14. MAKEFILE= Makefile.ssl
  15. AR= ar r
  16. CFLAGS= $(INCLUDES) $(CFLAG)
  17. GENERAL=Makefile
  18. TEST=hmactest.c
  19. APPS=
  20. LIB=$(TOP)/libcrypto.a
  21. LIBSRC=hmac.c
  22. LIBOBJ=hmac.o
  23. SRC= $(LIBSRC)
  24. EXHEADER= hmac.h
  25. HEADER= $(EXHEADER)
  26. ALL= $(GENERAL) $(SRC) $(HEADER)
  27. top:
  28. (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
  29. all: lib
  30. lib: $(LIBOBJ)
  31. $(AR) $(LIB) $(LIBOBJ)
  32. @echo You may get an error following this line. Please ignore.
  33. - $(RANLIB) $(LIB)
  34. @touch lib
  35. files:
  36. $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
  37. links:
  38. @$(TOP)/util/point.sh Makefile.ssl Makefile
  39. @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
  40. @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
  41. @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
  42. install:
  43. @for i in $(EXHEADER) ; \
  44. do \
  45. (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
  46. chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
  47. done;
  48. tags:
  49. ctags $(SRC)
  50. tests:
  51. lint:
  52. lint -DLINT $(INCLUDES) $(SRC)>fluff
  53. depend:
  54. $(MAKEDEPEND) -- $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
  55. dclean:
  56. $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
  57. mv -f Makefile.new $(MAKEFILE)
  58. clean:
  59. rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
  60. # DO NOT DELETE THIS LINE -- make depend depends on it.
  61. hmac.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
  62. hmac.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
  63. hmac.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
  64. hmac.o: ../../include/openssl/des.h ../../include/openssl/dh.h
  65. hmac.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  66. hmac.o: ../../include/openssl/evp.h ../../include/openssl/hmac.h
  67. hmac.o: ../../include/openssl/idea.h ../../include/openssl/md2.h
  68. hmac.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
  69. hmac.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
  70. hmac.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  71. hmac.o: ../../include/openssl/opensslv.h ../../include/openssl/rc2.h
  72. hmac.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
  73. hmac.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
  74. hmac.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
  75. hmac.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h