Makefile.am 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. monoresgen.exe.mdb \
  9. secutil.exe \
  10. secutil.exe.mdb \
  11. ilasm.exe \
  12. ilasm.exe.mdb \
  13. cilc.exe \
  14. cilc.exe.mdb \
  15. xsd.exe \
  16. xsd.exe.mdb \
  17. wsdl.exe \
  18. wsdl.exe.mdb \
  19. wsdl2.exe \
  20. wsdl2.exe.mdb \
  21. genxs.exe \
  22. genxs.exe.mdb \
  23. al.exe \
  24. al.exe.mdb \
  25. disco.exe \
  26. disco.exe.mdb \
  27. sqlsharp.exe \
  28. sqlsharp.exe.mdb \
  29. signcode.exe \
  30. signcode.exe.mdb \
  31. chktrust.exe \
  32. chktrust.exe.mdb \
  33. soapsuds.exe \
  34. soapsuds.exe.mdb \
  35. monop.exe \
  36. monop.exe.mdb \
  37. mono-find-provides.exe \
  38. mono-find-provides.exe.mdb \
  39. mono-find-requires.exe \
  40. mono-find-requires.exe.mdb \
  41. setreg.exe \
  42. setreg.exe.mdb \
  43. cert2spc.exe \
  44. cert2spc.exe.mdb \
  45. certmgr.exe \
  46. certmgr.exe.mdb \
  47. MakeCert.exe \
  48. MakeCert.exe.mdb \
  49. gacutil.exe \
  50. gacutil.exe.mdb \
  51. sn.exe \
  52. sn.exe.mdb
  53. monoone_DATA = \
  54. mcs.exe \
  55. mcs.exe.mdb \
  56. mcs.exe.config \
  57. mbas.exe
  58. if ! PLATFORM_WIN32
  59. gmcs_exe = gmcs.exe gmcs.exe.config gmcs.exe.mdb
  60. endif
  61. monotwo_DATA = $(gmcs_exe)
  62. EXTRA_DIST= $(monobins_DATA) $(monoone_DATA) $(monotwo_DATA)
  63. MAINTAINERCLEANFILES = $(EXTRA_DIST)
  64. #
  65. # Keep in sync with mono/mono/metadata/Makefile.am
  66. #
  67. if PLATFORM_WIN32
  68. monobinsdir = $(libdir)
  69. monoonedir = $(libdir)
  70. monotwodir = $(libdir)
  71. else
  72. monobinsdir = $(bindir)
  73. monoonedir = $(libdir)/mono/1.0/
  74. monotwodir = $(libdir)/mono/2.0/
  75. endif
  76. $(monoone_DATA) $(monotwo_DATA) $(monobins_DATA):
  77. @name=`echo "$@" | sed 's,\.exe.*$$,,'`; \
  78. case $$name in \
  79. mcs | mbas | monoresgen | gmcs | ilasm) d=$$name ;; \
  80. cilc | genxs | al | disco | soapsuds | monop | browsercaps-updater | gacutil) d=tools/$$name ;; \
  81. chktrust | signcode | MakeCert | cert2spc | certmgr | secutil | setreg | sn) d=tools/security ;; \
  82. mono-find-provides | mono-find-requires) d=tools/mono-rpm-helpers/$$name ;; \
  83. xsd) d=tools/mono-xsd ;; \
  84. wsdl*) d=tools/wsdl ;; \
  85. sqlsharp) d=tools/SqlSharp ;; \
  86. esac; \
  87. echo "test -f $(top_srcdir)/../mcs/$$d/$@" ; \
  88. test -f $(top_srcdir)/../mcs/$$d/$@ || exit 1 ; \
  89. echo "rm -f $(srcdir)/$@" ; \
  90. rm -f $(srcdir)/$@ ; \
  91. echo "cd $(srcdir) && $(LN_S) ../../mcs/$$d/$@ $@" ; \
  92. cd $(srcdir) && $(LN_S) ../../mcs/$$d/$@ $@
  93. copy_dlls:
  94. cp /nt/mono/mcs/class/*/*.dll .
  95. push_dlls:
  96. scp -o "Protocol 1" *.dll *.exe [email protected]:dlls
  97. cleanassemblies:
  98. find -name \*.dll -exec rm -vf {} \;
  99. find -name \*.exe -exec rm -vf {} \;