2
0

Makefile 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  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. cms_pwri.c
  19. LIBOBJ= cms_lib.o cms_asn1.o cms_att.o cms_io.o cms_smime.o cms_err.o \
  20. cms_sd.o cms_dd.o cms_cd.o cms_env.o cms_enc.o cms_ess.o \
  21. cms_pwri.o
  22. SRC= $(LIBSRC)
  23. EXHEADER= cms.h
  24. HEADER= cms_lcl.h $(EXHEADER)
  25. ALL= $(GENERAL) $(SRC) $(HEADER)
  26. top:
  27. (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
  28. test:
  29. all: lib
  30. lib: $(LIBOBJ)
  31. $(ARX) $(LIB) $(LIBOBJ)
  32. $(RANLIB) $(LIB) || echo Never mind.
  33. @touch lib
  34. files:
  35. $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
  36. links:
  37. @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
  38. @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
  39. @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
  40. install:
  41. @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
  42. @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
  43. do \
  44. (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
  45. chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
  46. done;
  47. tags:
  48. ctags $(SRC)
  49. tests:
  50. lint:
  51. lint -DLINT $(INCLUDES) $(SRC)>fluff
  52. depend:
  53. @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
  54. $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
  55. dclean:
  56. $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
  57. mv -f Makefile.new $(MAKEFILE)
  58. clean:
  59. rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
  60. # DO NOT DELETE THIS LINE -- make depend depends on it.
  61. cms_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
  62. cms_asn1.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  63. cms_asn1.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
  64. cms_asn1.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  65. cms_asn1.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  66. cms_asn1.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  67. cms_asn1.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  68. cms_asn1.o: ../../include/openssl/opensslconf.h
  69. cms_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  70. cms_asn1.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
  71. cms_asn1.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
  72. cms_asn1.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  73. cms_asn1.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
  74. cms_asn1.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
  75. cms_asn1.o: cms.h cms_asn1.c cms_lcl.h
  76. cms_att.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
  77. cms_att.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  78. cms_att.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
  79. cms_att.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  80. cms_att.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  81. cms_att.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  82. cms_att.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  83. cms_att.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  84. cms_att.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  85. cms_att.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
  86. cms_att.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
  87. cms_att.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  88. cms_att.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
  89. cms_att.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
  90. cms_att.o: cms.h cms_att.c cms_lcl.h
  91. cms_cd.o: ../../e_os.h ../../include/openssl/asn1.h
  92. cms_cd.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
  93. cms_cd.o: ../../include/openssl/buffer.h ../../include/openssl/cms.h
  94. cms_cd.o: ../../include/openssl/comp.h ../../include/openssl/conf.h
  95. cms_cd.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  96. cms_cd.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
  97. cms_cd.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
  98. cms_cd.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  99. cms_cd.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  100. cms_cd.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  101. cms_cd.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
  102. cms_cd.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
  103. cms_cd.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
  104. cms_cd.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  105. cms_cd.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  106. cms_cd.o: ../../include/openssl/x509v3.h ../cryptlib.h cms_cd.c cms_lcl.h
  107. cms_dd.o: ../../e_os.h ../../include/openssl/asn1.h
  108. cms_dd.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
  109. cms_dd.o: ../../include/openssl/buffer.h ../../include/openssl/cms.h
  110. cms_dd.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
  111. cms_dd.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  112. cms_dd.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  113. cms_dd.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  114. cms_dd.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  115. cms_dd.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  116. cms_dd.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  117. cms_dd.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
  118. cms_dd.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
  119. cms_dd.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  120. cms_dd.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
  121. cms_dd.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
  122. cms_dd.o: ../cryptlib.h cms_dd.c cms_lcl.h
  123. cms_enc.o: ../../e_os.h ../../include/openssl/asn1.h
  124. cms_enc.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
  125. cms_enc.o: ../../include/openssl/buffer.h ../../include/openssl/cms.h
  126. cms_enc.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
  127. cms_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  128. cms_enc.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  129. cms_enc.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  130. cms_enc.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  131. cms_enc.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  132. cms_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  133. cms_enc.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
  134. cms_enc.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
  135. cms_enc.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
  136. cms_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  137. cms_enc.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  138. cms_enc.o: ../../include/openssl/x509v3.h ../cryptlib.h cms_enc.c cms_lcl.h
  139. cms_env.o: ../../e_os.h ../../include/openssl/aes.h
  140. cms_env.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
  141. cms_env.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  142. cms_env.o: ../../include/openssl/cms.h ../../include/openssl/conf.h
  143. cms_env.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  144. cms_env.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
  145. cms_env.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
  146. cms_env.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  147. cms_env.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  148. cms_env.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  149. cms_env.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
  150. cms_env.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
  151. cms_env.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
  152. cms_env.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  153. cms_env.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
  154. cms_env.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
  155. cms_env.o: ../asn1/asn1_locl.h ../cryptlib.h cms_env.c cms_lcl.h
  156. cms_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
  157. cms_err.o: ../../include/openssl/buffer.h ../../include/openssl/cms.h
  158. cms_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  159. cms_err.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
  160. cms_err.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
  161. cms_err.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  162. cms_err.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  163. cms_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  164. cms_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
  165. cms_err.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
  166. cms_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  167. cms_err.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  168. cms_err.o: cms_err.c
  169. cms_ess.o: ../../e_os.h ../../include/openssl/asn1.h
  170. cms_ess.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
  171. cms_ess.o: ../../include/openssl/buffer.h ../../include/openssl/cms.h
  172. cms_ess.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
  173. cms_ess.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  174. cms_ess.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  175. cms_ess.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  176. cms_ess.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  177. cms_ess.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  178. cms_ess.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  179. cms_ess.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
  180. cms_ess.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
  181. cms_ess.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
  182. cms_ess.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  183. cms_ess.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  184. cms_ess.o: ../../include/openssl/x509v3.h ../cryptlib.h cms_ess.c cms_lcl.h
  185. cms_io.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
  186. cms_io.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  187. cms_io.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  188. cms_io.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
  189. cms_io.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
  190. cms_io.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  191. cms_io.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  192. cms_io.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  193. cms_io.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
  194. cms_io.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
  195. cms_io.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
  196. cms_io.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  197. cms_io.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h cms.h
  198. cms_io.o: cms_io.c cms_lcl.h
  199. cms_lib.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
  200. cms_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  201. cms_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  202. cms_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
  203. cms_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
  204. cms_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  205. cms_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  206. cms_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  207. cms_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
  208. cms_lib.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
  209. cms_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
  210. cms_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  211. cms_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h cms.h
  212. cms_lib.o: cms_lcl.h cms_lib.c
  213. cms_pwri.o: ../../e_os.h ../../include/openssl/aes.h
  214. cms_pwri.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
  215. cms_pwri.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  216. cms_pwri.o: ../../include/openssl/cms.h ../../include/openssl/conf.h
  217. cms_pwri.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  218. cms_pwri.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
  219. cms_pwri.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
  220. cms_pwri.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  221. cms_pwri.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  222. cms_pwri.o: ../../include/openssl/opensslconf.h
  223. cms_pwri.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  224. cms_pwri.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
  225. cms_pwri.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
  226. cms_pwri.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
  227. cms_pwri.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  228. cms_pwri.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  229. cms_pwri.o: ../../include/openssl/x509v3.h ../asn1/asn1_locl.h ../cryptlib.h
  230. cms_pwri.o: cms_lcl.h cms_pwri.c
  231. cms_sd.o: ../../e_os.h ../../include/openssl/asn1.h
  232. cms_sd.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
  233. cms_sd.o: ../../include/openssl/buffer.h ../../include/openssl/cms.h
  234. cms_sd.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
  235. cms_sd.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  236. cms_sd.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  237. cms_sd.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  238. cms_sd.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  239. cms_sd.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  240. cms_sd.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  241. cms_sd.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
  242. cms_sd.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
  243. cms_sd.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  244. cms_sd.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
  245. cms_sd.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
  246. cms_sd.o: ../asn1/asn1_locl.h ../cryptlib.h cms_lcl.h cms_sd.c
  247. cms_smime.o: ../../e_os.h ../../include/openssl/asn1.h
  248. cms_smime.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
  249. cms_smime.o: ../../include/openssl/buffer.h ../../include/openssl/cms.h
  250. cms_smime.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
  251. cms_smime.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  252. cms_smime.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  253. cms_smime.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  254. cms_smime.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  255. cms_smime.o: ../../include/openssl/objects.h
  256. cms_smime.o: ../../include/openssl/opensslconf.h
  257. cms_smime.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  258. cms_smime.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
  259. cms_smime.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  260. cms_smime.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
  261. cms_smime.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
  262. cms_smime.o: ../cryptlib.h cms_lcl.h cms_smime.c