Makefile 14 KB

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