Makefile 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. #
  2. # OpenSSL/fips/utl/Makefile
  3. #
  4. DIR= utl
  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=
  19. APPS=
  20. LIB=$(TOP)/libcrypto.a
  21. LIBSRC= fips_err.c fips_md.c fips_enc.c fips_lck.c fips_mem.c
  22. LIBOBJ= fips_err.o fips_md.o fips_enc.o fips_lck.o fips_mem.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. depend:
  48. $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(SRC) $(TEST)
  49. dclean:
  50. $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
  51. mv -f Makefile.new $(MAKEFILE)
  52. clean:
  53. rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
  54. # DO NOT DELETE THIS LINE -- make depend depends on it.
  55. fips_enc.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
  56. fips_enc.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  57. fips_enc.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  58. fips_enc.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
  59. fips_enc.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  60. fips_enc.o: ../../include/openssl/opensslconf.h
  61. fips_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  62. fips_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  63. fips_enc.o: ../../include/openssl/symhacks.h fips_enc.c
  64. fips_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
  65. fips_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
  66. fips_err.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
  67. fips_err.o: ../../include/openssl/opensslconf.h
  68. fips_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  69. fips_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  70. fips_err.o: ../../include/openssl/symhacks.h fips_err.c
  71. fips_lck.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
  72. fips_lck.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  73. fips_lck.o: ../../include/openssl/evp.h ../../include/openssl/fips.h
  74. fips_lck.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  75. fips_lck.o: ../../include/openssl/opensslconf.h
  76. fips_lck.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  77. fips_lck.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  78. fips_lck.o: ../../include/openssl/symhacks.h fips_lck.c
  79. fips_md.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
  80. fips_md.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  81. fips_md.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  82. fips_md.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
  83. fips_md.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  84. fips_md.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  85. fips_md.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  86. fips_md.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  87. fips_md.o: fips_md.c
  88. fips_mem.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
  89. fips_mem.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
  90. fips_mem.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
  91. fips_mem.o: ../../include/openssl/opensslconf.h
  92. fips_mem.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  93. fips_mem.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  94. fips_mem.o: ../../include/openssl/symhacks.h fips_mem.c