Makefile 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. #
  2. # OpenSSL/crypto/cms/Makefile
  3. #
  4. DIR= cms
  5. TOP= ../..
  6. CC= cc
  7. INCLUDES= -I.. -I$(TOP) -I../../include
  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= cms_lib.c cms_asn1.c cms_att.c cms_io.c cms_smime.c cms_err.c \
  17. cms_sd.c cms_dd.c cms_cd.c cms_env.c cms_enc.c cms_ess.c
  18. LIBOBJ= cms_lib.o cms_asn1.o cms_att.o cms_io.o cms_smime.o cms_err.o \
  19. cms_sd.o cms_dd.o cms_cd.o cms_env.o cms_enc.o cms_ess.o
  20. SRC= $(LIBSRC)
  21. EXHEADER= cms.h
  22. HEADER= cms_lcl.h $(EXHEADER)
  23. ALL= $(GENERAL) $(SRC) $(HEADER)
  24. top:
  25. (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
  26. test:
  27. all: lib
  28. lib: $(LIBOBJ)
  29. $(ARX) $(LIB) $(LIBOBJ)
  30. $(RANLIB) $(LIB) || echo Never mind.
  31. @touch lib
  32. files:
  33. $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
  34. links:
  35. @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
  36. @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
  37. @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
  38. install:
  39. @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
  40. @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
  41. do \
  42. (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
  43. chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
  44. done;
  45. tags:
  46. ctags $(SRC)
  47. tests:
  48. lint:
  49. lint -DLINT $(INCLUDES) $(SRC)>fluff
  50. depend:
  51. @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
  52. $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
  53. dclean:
  54. $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
  55. mv -f Makefile.new $(MAKEFILE)
  56. clean:
  57. rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
  58. # DO NOT DELETE THIS LINE -- make depend depends on it.
  59. cms_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
  60. cms_asn1.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  61. cms_asn1.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
  62. cms_asn1.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  63. cms_asn1.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  64. cms_asn1.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  65. cms_asn1.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  66. cms_asn1.o: ../../include/openssl/opensslconf.h
  67. cms_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  68. cms_asn1.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
  69. cms_asn1.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
  70. cms_asn1.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  71. cms_asn1.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
  72. cms_asn1.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
  73. cms_asn1.o: cms.h cms_asn1.c cms_lcl.h
  74. cms_att.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
  75. cms_att.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  76. cms_att.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
  77. cms_att.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  78. cms_att.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  79. cms_att.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  80. cms_att.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  81. cms_att.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  82. cms_att.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  83. cms_att.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
  84. cms_att.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
  85. cms_att.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  86. cms_att.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
  87. cms_att.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
  88. cms_att.o: cms.h cms_att.c cms_lcl.h
  89. cms_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
  90. cms_err.o: ../../include/openssl/buffer.h ../../include/openssl/cms.h
  91. cms_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  92. cms_err.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
  93. cms_err.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
  94. cms_err.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  95. cms_err.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  96. cms_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  97. cms_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
  98. cms_err.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
  99. cms_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  100. cms_err.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  101. cms_err.o: cms_err.c
  102. cms_io.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
  103. cms_io.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  104. cms_io.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  105. cms_io.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
  106. cms_io.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
  107. cms_io.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  108. cms_io.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  109. cms_io.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  110. cms_io.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
  111. cms_io.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
  112. cms_io.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
  113. cms_io.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  114. cms_io.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h cms.h
  115. cms_io.o: cms_io.c cms_lcl.h
  116. cms_lib.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
  117. cms_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  118. cms_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  119. cms_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
  120. cms_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
  121. cms_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  122. cms_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  123. cms_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  124. cms_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
  125. cms_lib.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
  126. cms_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
  127. cms_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  128. cms_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h cms.h
  129. cms_lib.o: cms_lcl.h cms_lib.c
  130. cms_sd.o: ../../e_os.h ../../include/openssl/asn1.h
  131. cms_sd.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
  132. cms_sd.o: ../../include/openssl/buffer.h ../../include/openssl/cms.h
  133. cms_sd.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
  134. cms_sd.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  135. cms_sd.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  136. cms_sd.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  137. cms_sd.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  138. cms_sd.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  139. cms_sd.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  140. cms_sd.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
  141. cms_sd.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
  142. cms_sd.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  143. cms_sd.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
  144. cms_sd.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
  145. cms_sd.o: ../cryptlib.h cms_lcl.h cms_sd.c
  146. cms_smime.o: ../../e_os.h ../../include/openssl/asn1.h
  147. cms_smime.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
  148. cms_smime.o: ../../include/openssl/buffer.h ../../include/openssl/cms.h
  149. cms_smime.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
  150. cms_smime.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  151. cms_smime.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  152. cms_smime.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  153. cms_smime.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  154. cms_smime.o: ../../include/openssl/objects.h
  155. cms_smime.o: ../../include/openssl/opensslconf.h
  156. cms_smime.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  157. cms_smime.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
  158. cms_smime.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  159. cms_smime.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
  160. cms_smime.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
  161. cms_smime.o: ../cryptlib.h cms_lcl.h cms_smime.c