Makefile
上传用户:yisoukefu
上传日期:2020-08-09
资源大小:39506k
文件大小:10k
源码类别:

其他游戏

开发平台:

Visual C++

  1. #
  2. # OpenSSL/engines/Makefile
  3. #
  4. DIR= engines
  5. TOP= ..
  6. CC= cc
  7. INCLUDES= -I../include
  8. CFLAG=-g
  9. MAKEFILE= Makefile
  10. AR= ar r
  11. PEX_LIBS=
  12. EX_LIBS=
  13. CFLAGS= $(INCLUDES) $(CFLAG)
  14. GENERAL=Makefile engines.com install.com engine_vector.mar
  15. TEST=
  16. APPS=
  17. LIB=$(TOP)/libcrypto.a
  18. LIBNAMES= 4758cca aep atalla cswift gmp chil nuron sureware ubsec
  19. LIBSRC= e_4758cca.c 
  20. e_aep.c 
  21. e_atalla.c 
  22. e_cswift.c 
  23. e_gmp.c 
  24. e_chil.c 
  25. e_nuron.c 
  26. e_sureware.c 
  27. e_ubsec.c
  28. LIBOBJ= e_4758cca.o 
  29. e_aep.o 
  30. e_atalla.o 
  31. e_cswift.o 
  32. e_gmp.o 
  33. e_chil.o 
  34. e_nuron.o 
  35. e_sureware.o 
  36. e_ubsec.o
  37. SRC= $(LIBSRC)
  38. EXHEADER= 
  39. HEADER= e_4758cca_err.c e_4758cca_err.h 
  40. e_aep_err.c e_aep_err.h 
  41. e_atalla_err.c e_atalla_err.h 
  42. e_cswift_err.c e_cswift_err.h 
  43. e_gmp_err.c e_gmp_err.h 
  44. e_chil_err.c e_chil_err.h 
  45. e_nuron_err.c e_nuron_err.h 
  46. e_sureware_err.c e_sureware_err.h 
  47. e_ubsec_err.c e_ubsec_err.h
  48. ALL=    $(GENERAL) $(SRC) $(HEADER)
  49. top:
  50. (cd ..; $(MAKE) DIRS=$(DIR) all)
  51. all: lib
  52. lib: $(LIBOBJ)
  53. @if [ -n "$(SHARED_LIBS)" ]; then 
  54. set -e; 
  55. for l in $(LIBNAMES); do 
  56. $(MAKE) -f ../Makefile.shared -e 
  57. LIBNAME=$$l LIBEXTRAS=e_$$l.o 
  58. LIBDEPS='-L.. -lcrypto $(EX_LIBS)' 
  59. link_o.$(SHLIB_TARGET); 
  60. done; 
  61. else 
  62. $(AR) $(LIB) $(LIBOBJ); 
  63. $(RANLIB) $(LIB) || echo Never mind.; 
  64. fi; 
  65. touch lib
  66. files:
  67. $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
  68. links:
  69. # XXXXX This currently only works on systems that use .so as suffix
  70. # for shared libraries as well as for Cygwin which uses the
  71. # dlfcn_name_converter and therefore stores the engines with .so suffix, too.
  72. # XXXXX This was extended to HP-UX dl targets, which use .sl suffix.
  73. install:
  74. @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
  75. @if [ -n "$(SHARED_LIBS)" ]; then 
  76. set -e; 
  77. for l in $(LIBNAMES); do 
  78. ( echo installing $$l; 
  79.   if [ "$(PLATFORM)" != "Cygwin" ]; then 
  80. case "$(CFLAGS)" in 
  81. *DSO_DLFCN*) sfx="so";;
  82. *DSO_DL*) sfx="sl";;
  83. *) sfx="bad";;
  84. esac; 
  85. cp lib$$l.$$sfx $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.$$sfx.new; 
  86.   else 
  87.    sfx="so"; 
  88. cp cyg$$l.dll $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.$$sfx.new; 
  89.   fi; 
  90.   chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.$$sfx.new; 
  91.   mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.$$sfx.new $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.$$sfx ); 
  92. done; 
  93. fi
  94. tags:
  95. ctags $(SRC)
  96. errors:
  97. set -e; for l in $(LIBNAMES); do 
  98. $(PERL) ../util/mkerr.pl -conf e_$$l.ec 
  99. -nostatic -staticloader -write e_$$l.c; 
  100. done
  101. tests:
  102. lint:
  103. lint -DLINT $(INCLUDES) $(SRC)>fluff
  104. depend:
  105. @if [ -z "$(THIS)" ]; then 
  106.     $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; 
  107. else 
  108.     $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC); 
  109. fi
  110. dclean:
  111. $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
  112. mv -f Makefile.new $(MAKEFILE)
  113. clean:
  114. rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
  115. # DO NOT DELETE THIS LINE -- make depend depends on it.
  116. e_4758cca.o: ../include/openssl/asn1.h ../include/openssl/bio.h
  117. e_4758cca.o: ../include/openssl/bn.h ../include/openssl/buffer.h
  118. e_4758cca.o: ../include/openssl/crypto.h ../include/openssl/dso.h
  119. e_4758cca.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
  120. e_4758cca.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
  121. e_4758cca.o: ../include/openssl/engine.h ../include/openssl/err.h
  122. e_4758cca.o: ../include/openssl/evp.h ../include/openssl/lhash.h
  123. e_4758cca.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
  124. e_4758cca.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
  125. e_4758cca.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
  126. e_4758cca.o: ../include/openssl/rand.h ../include/openssl/rsa.h
  127. e_4758cca.o: ../include/openssl/safestack.h ../include/openssl/sha.h
  128. e_4758cca.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
  129. e_4758cca.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
  130. e_4758cca.o: e_4758cca.c e_4758cca_err.c e_4758cca_err.h
  131. e_4758cca.o: vendor_defns/hw_4758_cca.h
  132. e_aep.o: ../include/openssl/asn1.h ../include/openssl/bio.h
  133. e_aep.o: ../include/openssl/bn.h ../include/openssl/buffer.h
  134. e_aep.o: ../include/openssl/crypto.h ../include/openssl/dh.h
  135. e_aep.o: ../include/openssl/dsa.h ../include/openssl/dso.h
  136. e_aep.o: ../include/openssl/e_os2.h ../include/openssl/engine.h
  137. e_aep.o: ../include/openssl/err.h ../include/openssl/lhash.h
  138. e_aep.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
  139. e_aep.o: ../include/openssl/ossl_typ.h ../include/openssl/rsa.h
  140. e_aep.o: ../include/openssl/safestack.h ../include/openssl/stack.h
  141. e_aep.o: ../include/openssl/symhacks.h e_aep.c e_aep_err.c e_aep_err.h
  142. e_aep.o: vendor_defns/aep.h
  143. e_atalla.o: ../include/openssl/asn1.h ../include/openssl/bio.h
  144. e_atalla.o: ../include/openssl/bn.h ../include/openssl/buffer.h
  145. e_atalla.o: ../include/openssl/crypto.h ../include/openssl/dh.h
  146. e_atalla.o: ../include/openssl/dsa.h ../include/openssl/dso.h
  147. e_atalla.o: ../include/openssl/e_os2.h ../include/openssl/engine.h
  148. e_atalla.o: ../include/openssl/err.h ../include/openssl/lhash.h
  149. e_atalla.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
  150. e_atalla.o: ../include/openssl/ossl_typ.h ../include/openssl/rsa.h
  151. e_atalla.o: ../include/openssl/safestack.h ../include/openssl/stack.h
  152. e_atalla.o: ../include/openssl/symhacks.h e_atalla.c e_atalla_err.c
  153. e_atalla.o: e_atalla_err.h vendor_defns/atalla.h
  154. e_chil.o: ../include/openssl/asn1.h ../include/openssl/bio.h
  155. e_chil.o: ../include/openssl/bn.h ../include/openssl/buffer.h
  156. e_chil.o: ../include/openssl/crypto.h ../include/openssl/dh.h
  157. e_chil.o: ../include/openssl/dso.h ../include/openssl/e_os2.h
  158. e_chil.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
  159. e_chil.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h
  160. e_chil.o: ../include/openssl/err.h ../include/openssl/evp.h
  161. e_chil.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
  162. e_chil.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
  163. e_chil.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
  164. e_chil.o: ../include/openssl/pem.h ../include/openssl/pem2.h
  165. e_chil.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h
  166. e_chil.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
  167. e_chil.o: ../include/openssl/sha.h ../include/openssl/stack.h
  168. e_chil.o: ../include/openssl/symhacks.h ../include/openssl/ui.h
  169. e_chil.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h e_chil.c
  170. e_chil.o: e_chil_err.c e_chil_err.h vendor_defns/hwcryptohook.h
  171. e_cswift.o: ../include/openssl/asn1.h ../include/openssl/bio.h
  172. e_cswift.o: ../include/openssl/bn.h ../include/openssl/buffer.h
  173. e_cswift.o: ../include/openssl/crypto.h ../include/openssl/dh.h
  174. e_cswift.o: ../include/openssl/dsa.h ../include/openssl/dso.h
  175. e_cswift.o: ../include/openssl/e_os2.h ../include/openssl/engine.h
  176. e_cswift.o: ../include/openssl/err.h ../include/openssl/lhash.h
  177. e_cswift.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
  178. e_cswift.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h
  179. e_cswift.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
  180. e_cswift.o: ../include/openssl/stack.h ../include/openssl/symhacks.h e_cswift.c
  181. e_cswift.o: e_cswift_err.c e_cswift_err.h vendor_defns/cswift.h
  182. e_gmp.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
  183. e_gmp.o: ../include/openssl/e_os2.h ../include/openssl/engine.h
  184. e_gmp.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
  185. e_gmp.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
  186. e_gmp.o: ../include/openssl/stack.h ../include/openssl/symhacks.h e_gmp.c
  187. e_nuron.o: ../include/openssl/asn1.h ../include/openssl/bio.h
  188. e_nuron.o: ../include/openssl/bn.h ../include/openssl/buffer.h
  189. e_nuron.o: ../include/openssl/crypto.h ../include/openssl/dh.h
  190. e_nuron.o: ../include/openssl/dsa.h ../include/openssl/dso.h
  191. e_nuron.o: ../include/openssl/e_os2.h ../include/openssl/engine.h
  192. e_nuron.o: ../include/openssl/err.h ../include/openssl/lhash.h
  193. e_nuron.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
  194. e_nuron.o: ../include/openssl/ossl_typ.h ../include/openssl/rsa.h
  195. e_nuron.o: ../include/openssl/safestack.h ../include/openssl/stack.h
  196. e_nuron.o: ../include/openssl/symhacks.h e_nuron.c e_nuron_err.c e_nuron_err.h
  197. e_sureware.o: ../include/openssl/asn1.h ../include/openssl/bio.h
  198. e_sureware.o: ../include/openssl/bn.h ../include/openssl/buffer.h
  199. e_sureware.o: ../include/openssl/crypto.h ../include/openssl/dh.h
  200. e_sureware.o: ../include/openssl/dsa.h ../include/openssl/dso.h
  201. e_sureware.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
  202. e_sureware.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
  203. e_sureware.o: ../include/openssl/engine.h ../include/openssl/err.h
  204. e_sureware.o: ../include/openssl/evp.h ../include/openssl/lhash.h
  205. e_sureware.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
  206. e_sureware.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
  207. e_sureware.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h
  208. e_sureware.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h
  209. e_sureware.o: ../include/openssl/rand.h ../include/openssl/rsa.h
  210. e_sureware.o: ../include/openssl/safestack.h ../include/openssl/sha.h
  211. e_sureware.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
  212. e_sureware.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
  213. e_sureware.o: e_sureware.c e_sureware_err.c e_sureware_err.h
  214. e_sureware.o: vendor_defns/sureware.h
  215. e_ubsec.o: ../include/openssl/asn1.h ../include/openssl/bio.h
  216. e_ubsec.o: ../include/openssl/bn.h ../include/openssl/buffer.h
  217. e_ubsec.o: ../include/openssl/crypto.h ../include/openssl/dh.h
  218. e_ubsec.o: ../include/openssl/dsa.h ../include/openssl/dso.h
  219. e_ubsec.o: ../include/openssl/e_os2.h ../include/openssl/engine.h
  220. e_ubsec.o: ../include/openssl/err.h ../include/openssl/lhash.h
  221. e_ubsec.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
  222. e_ubsec.o: ../include/openssl/ossl_typ.h ../include/openssl/rsa.h
  223. e_ubsec.o: ../include/openssl/safestack.h ../include/openssl/stack.h
  224. e_ubsec.o: ../include/openssl/symhacks.h e_ubsec.c e_ubsec_err.c e_ubsec_err.h
  225. e_ubsec.o: vendor_defns/hw_ubsec.h