Makefile.am 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. # This is just used to copy and install the DLL files that are currently
  2. # being compiled on windows.
  3. #
  4. SUBDIRS = . net_1_1 net_2_0
  5. mcs_topdir=$(top_srcdir)/../mcs
  6. monobins_DATA = \
  7. monoresgen.exe \
  8. secutil.exe \
  9. ilasm.exe \
  10. cilc.exe \
  11. xsd.exe \
  12. wsdl.exe \
  13. genxs.exe \
  14. al.exe \
  15. disco.exe \
  16. sqlsharp.exe \
  17. signcode.exe \
  18. chktrust.exe \
  19. soapsuds.exe \
  20. monop.exe \
  21. mono-find-provides.exe \
  22. mono-find-requires.exe \
  23. setreg.exe \
  24. cert2spc.exe \
  25. certmgr.exe \
  26. MakeCert.exe \
  27. gacutil.exe \
  28. sn.exe
  29. monoone_DATA = \
  30. mcs.exe \
  31. mbas.exe
  32. if ! PLATFORM_WIN32
  33. gmcs_exe = gmcs.exe
  34. endif
  35. monotwo_DATA = $(gmcs_exe)
  36. EXTRA_DIST= $(monobins_DATA) $(monoone_DATA) $(monotwo_DATA)
  37. MAINTAINERCLEANFILES = $(EXTRA_DIST)
  38. #
  39. # Keep in sync with mono/mono/metadata/Makefile.am
  40. #
  41. if PLATFORM_WIN32
  42. monobinsdir = $(libdir)
  43. monoonedir = $(libdir)
  44. monotwodir = $(libdir)
  45. else
  46. monobinsdir = $(bindir)
  47. monoonedir = $(libdir)/mono/1.0/
  48. monotwodir = $(libdir)/mono/2.0/
  49. endif
  50. $(monoone_DATA) $(monotwo_DATA) $(monobins_DATA):
  51. @case "$@" in \
  52. mcs.exe) d=mcs ;; \
  53. mbas.exe) d=mbas ;; \
  54. monoresgen.exe) d=monoresgen ;; \
  55. ilasm.exe) d=ilasm ;; \
  56. cilc.exe) d=tools/cilc ;; \
  57. xsd.exe) d=tools/mono-xsd ;; \
  58. wsdl.exe) d=tools/wsdl ;; \
  59. genxs.exe) d=tools/genxs ;; \
  60. al.exe) d=tools/al ;; \
  61. disco.exe) d=tools/disco ;; \
  62. soapsuds.exe) d=tools/soapsuds ;; \
  63. sqlsharp.exe) d=tools/SqlSharp ;; \
  64. chktrust.exe) d=tools/security ;; \
  65. signcode.exe) d=tools/security ;; \
  66. MakeCert.exe) d=tools/security ;; \
  67. cert2spc.exe) d=tools/security ;; \
  68. certmgr.exe) d=tools/security ;; \
  69. secutil.exe) d=tools/security ;; \
  70. setreg.exe) d=tools/security ;; \
  71. sn.exe) d=tools/security ;; \
  72. monop.exe) d=tools/monop ;; \
  73. mono-find-provides.exe) d=tools/mono-rpm-helpers/mono-find-provides ;; \
  74. mono-find-requires.exe) d=tools/mono-rpm-helpers/mono-find-requires ;; \
  75. browsercaps-updater.exe) d=tools/browsercaps-updater ;; \
  76. gacutil.exe) d=tools/gacutil ;; \
  77. gmcs.exe) d=gmcs ;; \
  78. esac; \
  79. echo "test -f $(top_srcdir)/../mcs/$$d/$@" ; \
  80. test -f $(top_srcdir)/../mcs/$$d/$@ || exit 1 ; \
  81. echo "rm -f $(srcdir)/$@" ; \
  82. rm -f $(srcdir)/$@ ; \
  83. echo "cd $(srcdir) && $(LN_S) ../../mcs/$$d/$@ $@" ; \
  84. cd $(srcdir) && $(LN_S) ../../mcs/$$d/$@ $@
  85. copy_dlls:
  86. cp /nt/mono/mcs/class/*/*.dll .
  87. push_dlls:
  88. scp -o "Protocol 1" *.dll *.exe [email protected]:dlls
  89. cleanassemblies:
  90. find -name \*.dll -exec rm -vf {} \;
  91. find -name \*.exe -exec rm -vf {} \;