Makefile 16 KB

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