Makefile 14 KB

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