Makefile 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. #
  2. # OpenSSL/fips-1.0/dh/Makefile
  3. #
  4. DIR= dh
  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_dh_check.c fips_dh_gen.c fips_dh_key.c
  22. LIBOBJ=fips_dh_check.o fips_dh_gen.o fips_dh_key.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. lint:
  48. lint -DLINT $(INCLUDES) $(SRC)>fluff
  49. depend:
  50. $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(SRC) $(TEST)
  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. fips_dh_check.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  58. fips_dh_check.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
  59. fips_dh_check.o: ../../include/openssl/e_os2.h
  60. fips_dh_check.o: ../../include/openssl/opensslconf.h
  61. fips_dh_check.o: ../../include/openssl/opensslv.h
  62. fips_dh_check.o: ../../include/openssl/ossl_typ.h
  63. fips_dh_check.o: ../../include/openssl/safestack.h
  64. fips_dh_check.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  65. fips_dh_check.o: fips_dh_check.c
  66. fips_dh_gen.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  67. fips_dh_gen.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
  68. fips_dh_gen.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
  69. fips_dh_gen.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
  70. fips_dh_gen.o: ../../include/openssl/opensslconf.h
  71. fips_dh_gen.o: ../../include/openssl/opensslv.h
  72. fips_dh_gen.o: ../../include/openssl/ossl_typ.h
  73. fips_dh_gen.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  74. fips_dh_gen.o: ../../include/openssl/symhacks.h fips_dh_gen.c
  75. fips_dh_key.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  76. fips_dh_key.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
  77. fips_dh_key.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
  78. fips_dh_key.o: ../../include/openssl/lhash.h
  79. fips_dh_key.o: ../../include/openssl/opensslconf.h
  80. fips_dh_key.o: ../../include/openssl/opensslv.h
  81. fips_dh_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
  82. fips_dh_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  83. fips_dh_key.o: ../../include/openssl/symhacks.h fips_dh_key.c