Makefile 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. #
  2. # OpenSSL/crypto/ui/Makefile
  3. #
  4. DIR= ui
  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. LIB=$(TOP)/libcrypto.a
  14. LIBSRC= ui_err.c ui_lib.c ui_openssl.c ui_util.c
  15. LIBOBJ= ui_err.o ui_lib.o ui_openssl.o ui_util.o
  16. SRC= $(LIBSRC)
  17. HEADER= ui_locl.h
  18. ALL= $(GENERAL) $(SRC) $(HEADER)
  19. top:
  20. (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
  21. all: lib
  22. lib: $(LIBOBJ)
  23. $(AR) $(LIB) $(LIBOBJ)
  24. $(RANLIB) $(LIB) || echo Never mind.
  25. @touch lib
  26. files:
  27. $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
  28. tags:
  29. ctags $(SRC)
  30. tests:
  31. lint:
  32. lint -DLINT $(INCLUDES) $(SRC)>fluff
  33. depend:
  34. @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
  35. $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
  36. dclean:
  37. $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
  38. mv -f Makefile.new $(MAKEFILE)
  39. clean:
  40. rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
  41. # DO NOT DELETE THIS LINE -- make depend depends on it.
  42. ui_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
  43. ui_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
  44. ui_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
  45. ui_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  46. ui_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  47. ui_err.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h ui_err.c
  48. ui_lib.o: ../../e_os.h ../../include/openssl/bio.h
  49. ui_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  50. ui_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
  51. ui_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
  52. ui_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  53. ui_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  54. ui_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
  55. ui_lib.o: ../cryptlib.h ui_lib.c ui_locl.h
  56. ui_openssl.o: ../../e_os.h ../../include/openssl/bio.h
  57. ui_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  58. ui_openssl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
  59. ui_openssl.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
  60. ui_openssl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  61. ui_openssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  62. ui_openssl.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
  63. ui_openssl.o: ../cryptlib.h ui_locl.h ui_openssl.c
  64. ui_util.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  65. ui_util.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  66. ui_util.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
  67. ui_util.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  68. ui_util.o: ../../include/openssl/ui.h ui_locl.h ui_util.c