Makefile 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  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 \
  20. eng_openssl.c eng_cnf.c eng_dyn.c eng_cryptodev.c eng_padlock.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 \
  25. eng_openssl.o eng_cnf.o eng_dyn.o eng_cryptodev.o eng_padlock.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. $(ARX) $(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/fips.h
  84. eng_cryptodev.o: ../../include/openssl/obj_mac.h
  85. eng_cryptodev.o: ../../include/openssl/objects.h
  86. eng_cryptodev.o: ../../include/openssl/opensslconf.h
  87. eng_cryptodev.o: ../../include/openssl/opensslv.h
  88. eng_cryptodev.o: ../../include/openssl/ossl_typ.h
  89. eng_cryptodev.o: ../../include/openssl/safestack.h
  90. eng_cryptodev.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  91. eng_cryptodev.o: eng_cryptodev.c
  92. eng_ctrl.o: ../../e_os.h ../../include/openssl/bio.h
  93. eng_ctrl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  94. eng_ctrl.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
  95. eng_ctrl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  96. eng_ctrl.o: ../../include/openssl/opensslconf.h
  97. eng_ctrl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  98. eng_ctrl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  99. eng_ctrl.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_ctrl.c eng_int.h
  100. eng_dyn.o: ../../e_os.h ../../include/openssl/bio.h
  101. eng_dyn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  102. eng_dyn.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
  103. eng_dyn.o: ../../include/openssl/engine.h ../../include/openssl/err.h
  104. eng_dyn.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
  105. eng_dyn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  106. eng_dyn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  107. eng_dyn.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_dyn.c eng_int.h
  108. eng_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
  109. eng_err.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
  110. eng_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  111. eng_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  112. eng_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  113. eng_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  114. eng_err.o: eng_err.c
  115. eng_fat.o: ../../e_os.h ../../include/openssl/bio.h
  116. eng_fat.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
  117. eng_fat.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  118. eng_fat.o: ../../include/openssl/engine.h ../../include/openssl/err.h
  119. eng_fat.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
  120. eng_fat.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  121. eng_fat.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  122. eng_fat.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_fat.c eng_int.h
  123. eng_init.o: ../../e_os.h ../../include/openssl/bio.h
  124. eng_init.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  125. eng_init.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
  126. eng_init.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  127. eng_init.o: ../../include/openssl/opensslconf.h
  128. eng_init.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  129. eng_init.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  130. eng_init.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_init.c eng_int.h
  131. eng_lib.o: ../../e_os.h ../../include/openssl/bio.h
  132. eng_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  133. eng_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
  134. eng_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  135. eng_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  136. eng_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
  137. eng_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  138. eng_lib.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_int.h eng_lib.c
  139. eng_list.o: ../../e_os.h ../../include/openssl/bio.h
  140. eng_list.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  141. eng_list.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
  142. eng_list.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  143. eng_list.o: ../../include/openssl/opensslconf.h
  144. eng_list.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  145. eng_list.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  146. eng_list.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_int.h eng_list.c
  147. eng_openssl.o: ../../e_os.h ../../include/openssl/asn1.h
  148. eng_openssl.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  149. eng_openssl.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
  150. eng_openssl.o: ../../include/openssl/dsa.h ../../include/openssl/dso.h
  151. eng_openssl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
  152. eng_openssl.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
  153. eng_openssl.o: ../../include/openssl/engine.h ../../include/openssl/err.h
  154. eng_openssl.o: ../../include/openssl/evp.h ../../include/openssl/fips.h
  155. eng_openssl.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  156. eng_openssl.o: ../../include/openssl/objects.h
  157. eng_openssl.o: ../../include/openssl/opensslconf.h
  158. eng_openssl.o: ../../include/openssl/opensslv.h
  159. eng_openssl.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
  160. eng_openssl.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
  161. eng_openssl.o: ../../include/openssl/rand.h ../../include/openssl/rc4.h
  162. eng_openssl.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
  163. eng_openssl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  164. eng_openssl.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
  165. eng_openssl.o: ../../include/openssl/x509_vfy.h ../cryptlib.h eng_openssl.c
  166. eng_padlock.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h
  167. eng_padlock.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
  168. eng_padlock.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
  169. eng_padlock.o: ../../include/openssl/engine.h ../../include/openssl/err.h
  170. eng_padlock.o: ../../include/openssl/evp.h ../../include/openssl/fips.h
  171. eng_padlock.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  172. eng_padlock.o: ../../include/openssl/objects.h
  173. eng_padlock.o: ../../include/openssl/opensslconf.h
  174. eng_padlock.o: ../../include/openssl/opensslv.h
  175. eng_padlock.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
  176. eng_padlock.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  177. eng_padlock.o: ../../include/openssl/symhacks.h eng_padlock.c
  178. eng_pkey.o: ../../e_os.h ../../include/openssl/bio.h
  179. eng_pkey.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  180. eng_pkey.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
  181. eng_pkey.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  182. eng_pkey.o: ../../include/openssl/opensslconf.h
  183. eng_pkey.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  184. eng_pkey.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  185. eng_pkey.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_int.h eng_pkey.c
  186. eng_table.o: ../../e_os.h ../../include/openssl/asn1.h
  187. eng_table.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  188. eng_table.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  189. eng_table.o: ../../include/openssl/engine.h ../../include/openssl/err.h
  190. eng_table.o: ../../include/openssl/evp.h ../../include/openssl/fips.h
  191. eng_table.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  192. eng_table.o: ../../include/openssl/objects.h
  193. eng_table.o: ../../include/openssl/opensslconf.h
  194. eng_table.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  195. eng_table.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  196. eng_table.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_int.h
  197. eng_table.o: eng_table.c
  198. tb_cipher.o: ../../e_os.h ../../include/openssl/bio.h
  199. tb_cipher.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  200. tb_cipher.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
  201. tb_cipher.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  202. tb_cipher.o: ../../include/openssl/opensslconf.h
  203. tb_cipher.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  204. tb_cipher.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  205. tb_cipher.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_int.h
  206. tb_cipher.o: tb_cipher.c
  207. tb_dh.o: ../../e_os.h ../../include/openssl/bio.h
  208. tb_dh.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  209. tb_dh.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
  210. tb_dh.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  211. tb_dh.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  212. tb_dh.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  213. tb_dh.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  214. tb_dh.o: ../cryptlib.h eng_int.h tb_dh.c
  215. tb_digest.o: ../../e_os.h ../../include/openssl/bio.h
  216. tb_digest.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  217. tb_digest.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
  218. tb_digest.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  219. tb_digest.o: ../../include/openssl/opensslconf.h
  220. tb_digest.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  221. tb_digest.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  222. tb_digest.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_int.h
  223. tb_digest.o: tb_digest.c
  224. tb_dsa.o: ../../e_os.h ../../include/openssl/bio.h
  225. tb_dsa.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  226. tb_dsa.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
  227. tb_dsa.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  228. tb_dsa.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  229. tb_dsa.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  230. tb_dsa.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  231. tb_dsa.o: ../cryptlib.h eng_int.h tb_dsa.c
  232. tb_ecdh.o: ../../e_os.h ../../include/openssl/bio.h
  233. tb_ecdh.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  234. tb_ecdh.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
  235. tb_ecdh.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  236. tb_ecdh.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  237. tb_ecdh.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  238. tb_ecdh.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  239. tb_ecdh.o: ../cryptlib.h eng_int.h tb_ecdh.c
  240. tb_ecdsa.o: ../../e_os.h ../../include/openssl/bio.h
  241. tb_ecdsa.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  242. tb_ecdsa.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
  243. tb_ecdsa.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  244. tb_ecdsa.o: ../../include/openssl/opensslconf.h
  245. tb_ecdsa.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  246. tb_ecdsa.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  247. tb_ecdsa.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_int.h tb_ecdsa.c
  248. tb_rand.o: ../../e_os.h ../../include/openssl/bio.h
  249. tb_rand.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  250. tb_rand.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
  251. tb_rand.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  252. tb_rand.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  253. tb_rand.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  254. tb_rand.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  255. tb_rand.o: ../cryptlib.h eng_int.h tb_rand.c
  256. tb_rsa.o: ../../e_os.h ../../include/openssl/bio.h
  257. tb_rsa.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  258. tb_rsa.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
  259. tb_rsa.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  260. tb_rsa.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  261. tb_rsa.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  262. tb_rsa.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  263. tb_rsa.o: ../cryptlib.h eng_int.h tb_rsa.c
  264. tb_store.o: ../../e_os.h ../../include/openssl/bio.h
  265. tb_store.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  266. tb_store.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
  267. tb_store.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  268. tb_store.o: ../../include/openssl/opensslconf.h
  269. tb_store.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  270. tb_store.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  271. tb_store.o: ../../include/openssl/symhacks.h ../cryptlib.h eng_int.h tb_store.c