Makefile 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. #
  2. # OpenSSL/crypto/cmac/Makefile
  3. #
  4. DIR= cmac
  5. TOP= ../..
  6. CC= cc
  7. INCLUDES=
  8. CFLAG=-g
  9. MAKEFILE= Makefile
  10. AR= ar r
  11. CFLAGS= $(INCLUDES) $(CFLAG)
  12. GENERAL=Makefile
  13. TEST=
  14. APPS=
  15. LIB=$(TOP)/libcrypto.a
  16. LIBSRC=cmac.c cm_ameth.c cm_pmeth.c
  17. LIBOBJ=cmac.o cm_ameth.o cm_pmeth.o
  18. SRC= $(LIBSRC)
  19. EXHEADER= cmac.h
  20. HEADER= $(EXHEADER)
  21. ALL= $(GENERAL) $(SRC) $(HEADER)
  22. top:
  23. (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
  24. all: lib
  25. lib: $(LIBOBJ)
  26. $(AR) $(LIB) $(LIBOBJ)
  27. $(RANLIB) $(LIB) || echo Never mind.
  28. @touch lib
  29. files:
  30. $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
  31. links:
  32. @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
  33. @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
  34. @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
  35. install:
  36. @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
  37. @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
  38. do \
  39. (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
  40. chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
  41. done;
  42. tags:
  43. ctags $(SRC)
  44. tests:
  45. lint:
  46. lint -DLINT $(INCLUDES) $(SRC)>fluff
  47. update: depend
  48. depend:
  49. @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
  50. $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
  51. dclean:
  52. $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
  53. mv -f Makefile.new $(MAKEFILE)
  54. clean:
  55. rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
  56. # DO NOT DELETE THIS LINE -- make depend depends on it.
  57. cm_ameth.o: ../../e_os.h ../../include/openssl/asn1.h
  58. cm_ameth.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  59. cm_ameth.o: ../../include/openssl/cmac.h ../../include/openssl/crypto.h
  60. cm_ameth.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
  61. cm_ameth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  62. cm_ameth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  63. cm_ameth.o: ../../include/openssl/opensslconf.h
  64. cm_ameth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  65. cm_ameth.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  66. cm_ameth.o: ../../include/openssl/symhacks.h ../asn1/asn1_locl.h ../cryptlib.h
  67. cm_ameth.o: cm_ameth.c
  68. cm_pmeth.o: ../../e_os.h ../../include/openssl/asn1.h
  69. cm_pmeth.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  70. cm_pmeth.o: ../../include/openssl/cmac.h ../../include/openssl/conf.h
  71. cm_pmeth.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  72. cm_pmeth.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
  73. cm_pmeth.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
  74. cm_pmeth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  75. cm_pmeth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  76. cm_pmeth.o: ../../include/openssl/opensslconf.h
  77. cm_pmeth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  78. cm_pmeth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
  79. cm_pmeth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  80. cm_pmeth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
  81. cm_pmeth.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
  82. cm_pmeth.o: ../cryptlib.h ../evp/evp_locl.h cm_pmeth.c
  83. cmac.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h
  84. cmac.o: ../../include/openssl/buffer.h ../../include/openssl/cmac.h
  85. cmac.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  86. cmac.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  87. cmac.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  88. cmac.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  89. cmac.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  90. cmac.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  91. cmac.o: ../../include/openssl/symhacks.h ../cryptlib.h cmac.c