Makefile 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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
  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
  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. $(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:
  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_dl.o: ../../e_os.h ../../include/openssl/bio.h
  59. dso_dl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  60. dso_dl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
  61. dso_dl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  62. dso_dl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  63. dso_dl.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  64. dso_dl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  65. dso_dl.o: ../cryptlib.h dso_dl.c
  66. dso_dlfcn.o: ../../e_os.h ../../include/openssl/bio.h
  67. dso_dlfcn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  68. dso_dlfcn.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
  69. dso_dlfcn.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  70. dso_dlfcn.o: ../../include/openssl/opensslconf.h
  71. dso_dlfcn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  72. dso_dlfcn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  73. dso_dlfcn.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_dlfcn.c
  74. dso_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
  75. dso_err.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
  76. dso_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  77. dso_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  78. dso_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  79. dso_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  80. dso_err.o: dso_err.c
  81. dso_lib.o: ../../e_os.h ../../include/openssl/bio.h
  82. dso_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  83. dso_lib.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
  84. dso_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  85. dso_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  86. dso_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  87. dso_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  88. dso_lib.o: ../cryptlib.h dso_lib.c
  89. dso_null.o: ../../e_os.h ../../include/openssl/bio.h
  90. dso_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  91. dso_null.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
  92. dso_null.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  93. dso_null.o: ../../include/openssl/opensslconf.h
  94. dso_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  95. dso_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  96. dso_null.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_null.c
  97. dso_openssl.o: ../../e_os.h ../../include/openssl/bio.h
  98. dso_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  99. dso_openssl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
  100. dso_openssl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  101. dso_openssl.o: ../../include/openssl/opensslconf.h
  102. dso_openssl.o: ../../include/openssl/opensslv.h
  103. dso_openssl.o: ../../include/openssl/ossl_typ.h
  104. dso_openssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  105. dso_openssl.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_openssl.c
  106. dso_vms.o: ../../e_os.h ../../include/openssl/bio.h
  107. dso_vms.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  108. dso_vms.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
  109. dso_vms.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  110. dso_vms.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  111. dso_vms.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  112. dso_vms.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  113. dso_vms.o: ../cryptlib.h dso_vms.c
  114. dso_win32.o: ../../e_os.h ../../include/openssl/bio.h
  115. dso_win32.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  116. dso_win32.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
  117. dso_win32.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  118. dso_win32.o: ../../include/openssl/opensslconf.h
  119. dso_win32.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  120. dso_win32.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  121. dso_win32.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_win32.c