Makefile 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. #
  2. # OpenSSL/crypto/dso/Makefile
  3. #
  4. DIR= dso
  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= dso_dl.c dso_dlfcn.c dso_err.c dso_lib.c dso_null.c \
  17. dso_openssl.c dso_win32.c dso_vms.c dso_beos.c
  18. LIBOBJ= dso_dl.o dso_dlfcn.o dso_err.o dso_lib.o dso_null.o \
  19. dso_openssl.o dso_win32.o dso_vms.o dso_beos.o
  20. SRC= $(LIBSRC)
  21. EXHEADER= dso.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. $(AR) $(LIB) $(LIBOBJ)
  29. $(RANLIB) $(LIB) || echo Never mind.
  30. @touch lib
  31. files:
  32. $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
  33. links:
  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) -- $(PROGS) $(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 */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
  57. # DO NOT DELETE THIS LINE -- make depend depends on it.
  58. dso_beos.o: ../../e_os.h ../../include/openssl/bio.h
  59. dso_beos.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  60. dso_beos.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
  61. dso_beos.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  62. dso_beos.o: ../../include/openssl/opensslconf.h
  63. dso_beos.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  64. dso_beos.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  65. dso_beos.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_beos.c
  66. dso_dl.o: ../../e_os.h ../../include/openssl/bio.h
  67. dso_dl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  68. dso_dl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
  69. dso_dl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  70. dso_dl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  71. dso_dl.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  72. dso_dl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  73. dso_dl.o: ../cryptlib.h dso_dl.c
  74. dso_dlfcn.o: ../../e_os.h ../../include/openssl/bio.h
  75. dso_dlfcn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  76. dso_dlfcn.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
  77. dso_dlfcn.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  78. dso_dlfcn.o: ../../include/openssl/opensslconf.h
  79. dso_dlfcn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  80. dso_dlfcn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  81. dso_dlfcn.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_dlfcn.c
  82. dso_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
  83. dso_err.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
  84. dso_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  85. dso_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  86. dso_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  87. dso_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  88. dso_err.o: dso_err.c
  89. dso_lib.o: ../../e_os.h ../../include/openssl/bio.h
  90. dso_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  91. dso_lib.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
  92. dso_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  93. dso_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  94. dso_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  95. dso_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  96. dso_lib.o: ../cryptlib.h dso_lib.c
  97. dso_null.o: ../../e_os.h ../../include/openssl/bio.h
  98. dso_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  99. dso_null.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
  100. dso_null.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  101. dso_null.o: ../../include/openssl/opensslconf.h
  102. dso_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  103. dso_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  104. dso_null.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_null.c
  105. dso_openssl.o: ../../e_os.h ../../include/openssl/bio.h
  106. dso_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  107. dso_openssl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
  108. dso_openssl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  109. dso_openssl.o: ../../include/openssl/opensslconf.h
  110. dso_openssl.o: ../../include/openssl/opensslv.h
  111. dso_openssl.o: ../../include/openssl/ossl_typ.h
  112. dso_openssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  113. dso_openssl.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_openssl.c
  114. dso_vms.o: ../../e_os.h ../../include/openssl/bio.h
  115. dso_vms.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  116. dso_vms.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
  117. dso_vms.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  118. dso_vms.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  119. dso_vms.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  120. dso_vms.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  121. dso_vms.o: ../cryptlib.h dso_vms.c
  122. dso_win32.o: ../../e_os.h ../../include/openssl/bio.h
  123. dso_win32.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  124. dso_win32.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
  125. dso_win32.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  126. dso_win32.o: ../../include/openssl/opensslconf.h
  127. dso_win32.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  128. dso_win32.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  129. dso_win32.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_win32.c