2
0

Makefile 15 KB

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