Makefile 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. #
  2. # OpenSSL/fips/ecdsa/Makefile
  3. #
  4. DIR= ecdsa
  5. TOP= ../..
  6. CC= cc
  7. INCLUDES=
  8. CFLAG=-g
  9. INSTALL_PREFIX=
  10. OPENSSLDIR= /usr/local/ssl
  11. INSTALLTOP=/usr/local/ssl
  12. MAKEDEPPROG= makedepend
  13. MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
  14. MAKEFILE= Makefile
  15. AR= ar r
  16. CFLAGS= $(INCLUDES) $(CFLAG)
  17. GENERAL=Makefile
  18. TEST= fips_ecdsavs.c
  19. APPS=
  20. LIB=$(TOP)/libcrypto.a
  21. LIBSRC= fips_ecdsa_lib.c fips_ecdsa_sign.c fips_ecdsa_selftest.c
  22. LIBOBJ= fips_ecdsa_lib.o fips_ecdsa_sign.o fips_ecdsa_selftest.o
  23. SRC= $(LIBSRC)
  24. EXHEADER=
  25. HEADER= $(EXHEADER)
  26. ALL= $(GENERAL) $(SRC) $(HEADER)
  27. top:
  28. (cd $(TOP); $(MAKE) DIRS=fips FDIRS=$(DIR) sub_all)
  29. all: lib
  30. lib: $(LIBOBJ)
  31. @echo $(LIBOBJ) > lib
  32. files:
  33. $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
  34. links:
  35. @$(PERL) $(TOP)/util/mklink.pl $(TOP)/include/openssl $(EXHEADER)
  36. @$(PERL) $(TOP)/util/mklink.pl $(TOP)/test $(TEST)
  37. @$(PERL) $(TOP)/util/mklink.pl $(TOP)/apps $(APPS)
  38. install:
  39. @headerlist="$(EXHEADER)"; for i in $$headerlist; \
  40. do \
  41. (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
  42. chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
  43. done
  44. tags:
  45. ctags $(SRC)
  46. tests:
  47. fips_test:
  48. lint:
  49. lint -DLINT $(INCLUDES) $(SRC)>fluff
  50. depend:
  51. $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(SRC) $(TEST)
  52. dclean:
  53. $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
  54. mv -f Makefile.new $(MAKEFILE)
  55. clean:
  56. rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
  57. # DO NOT DELETE THIS LINE -- make depend depends on it.
  58. fips_ecdsa_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
  59. fips_ecdsa_lib.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
  60. fips_ecdsa_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  61. fips_ecdsa_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/fips.h
  62. fips_ecdsa_lib.o: ../../include/openssl/opensslconf.h
  63. fips_ecdsa_lib.o: ../../include/openssl/opensslv.h
  64. fips_ecdsa_lib.o: ../../include/openssl/ossl_typ.h
  65. fips_ecdsa_lib.o: ../../include/openssl/safestack.h
  66. fips_ecdsa_lib.o: ../../include/openssl/stack.h
  67. fips_ecdsa_lib.o: ../../include/openssl/symhacks.h fips_ecdsa_lib.c
  68. fips_ecdsa_selftest.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
  69. fips_ecdsa_selftest.o: ../../include/openssl/bn.h
  70. fips_ecdsa_selftest.o: ../../include/openssl/crypto.h
  71. fips_ecdsa_selftest.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  72. fips_ecdsa_selftest.o: ../../include/openssl/ecdsa.h
  73. fips_ecdsa_selftest.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  74. fips_ecdsa_selftest.o: ../../include/openssl/fips.h
  75. fips_ecdsa_selftest.o: ../../include/openssl/lhash.h
  76. fips_ecdsa_selftest.o: ../../include/openssl/obj_mac.h
  77. fips_ecdsa_selftest.o: ../../include/openssl/objects.h
  78. fips_ecdsa_selftest.o: ../../include/openssl/opensslconf.h
  79. fips_ecdsa_selftest.o: ../../include/openssl/opensslv.h
  80. fips_ecdsa_selftest.o: ../../include/openssl/ossl_typ.h
  81. fips_ecdsa_selftest.o: ../../include/openssl/safestack.h
  82. fips_ecdsa_selftest.o: ../../include/openssl/stack.h
  83. fips_ecdsa_selftest.o: ../../include/openssl/symhacks.h fips_ecdsa_selftest.c
  84. fips_ecdsa_sign.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
  85. fips_ecdsa_sign.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
  86. fips_ecdsa_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  87. fips_ecdsa_sign.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
  88. fips_ecdsa_sign.o: ../../include/openssl/evp.h ../../include/openssl/fips.h
  89. fips_ecdsa_sign.o: ../../include/openssl/lhash.h
  90. fips_ecdsa_sign.o: ../../include/openssl/obj_mac.h
  91. fips_ecdsa_sign.o: ../../include/openssl/objects.h
  92. fips_ecdsa_sign.o: ../../include/openssl/opensslconf.h
  93. fips_ecdsa_sign.o: ../../include/openssl/opensslv.h
  94. fips_ecdsa_sign.o: ../../include/openssl/ossl_typ.h
  95. fips_ecdsa_sign.o: ../../include/openssl/safestack.h
  96. fips_ecdsa_sign.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  97. fips_ecdsa_sign.o: ../../include/openssl/symhacks.h fips_ecdsa_sign.c
  98. fips_ecdsavs.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
  99. fips_ecdsavs.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
  100. fips_ecdsavs.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  101. fips_ecdsavs.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
  102. fips_ecdsavs.o: ../../include/openssl/evp.h ../../include/openssl/fips.h
  103. fips_ecdsavs.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  104. fips_ecdsavs.o: ../../include/openssl/objects.h
  105. fips_ecdsavs.o: ../../include/openssl/opensslconf.h
  106. fips_ecdsavs.o: ../../include/openssl/opensslv.h
  107. fips_ecdsavs.o: ../../include/openssl/ossl_typ.h
  108. fips_ecdsavs.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  109. fips_ecdsavs.o: ../../include/openssl/symhacks.h ../fips_utl.h fips_ecdsavs.c