Makefile.am 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. bin_SCRIPTS = $(scripts_1_0) $(scripts_1_0_umask) $(scripts_2_0) gmcs mono-service $(scripts_rpmhelpers)
  2. scripts_1_0 = \
  3. al \
  4. caspol \
  5. cert2spc \
  6. certmgr \
  7. chktrust \
  8. cilc \
  9. disco \
  10. dtd2xsd \
  11. gacutil \
  12. genxs \
  13. ilasm \
  14. macpack \
  15. mbas \
  16. mcs \
  17. mjs \
  18. mkbundle \
  19. monop \
  20. mono-shlib-cop \
  21. mozroots \
  22. nunit-console \
  23. permview \
  24. prj2make \
  25. resgen \
  26. secutil \
  27. setreg \
  28. signcode \
  29. soapsuds \
  30. sqlsharp \
  31. wsdl \
  32. xsd
  33. scripts_1_0_umask = \
  34. makecert \
  35. sn
  36. scripts_2_0 = \
  37. monop2 \
  38. xbuild \
  39. wsdl2
  40. scripts_rpmhelpers = mono-find-provides mono-find-requires
  41. pkgconfigdir = $(libdir)/pkgconfig
  42. pkgconfig_DATA= mono-nunit.pc
  43. CLEANFILES = $(scripts_1_0) $(scripts_1_0_umask) $(scripts_2_0) gmcs mono-service
  44. DISTCLEANFILES = $(pkgconfig_DATA) $(scripts_rpmhelpers)
  45. EXTRA_DIST = \
  46. script.in \
  47. script_umask.in \
  48. mono-service.in \
  49. mono-nunit.pc.in \
  50. mono-find-provides.in \
  51. mono-find-requires.in
  52. if USE_JIT
  53. mono_interp = mono
  54. else
  55. mono_interp = mint
  56. endif
  57. if PLATFORM_WIN32
  58. plat_bindir = $(shell cygpath -m $(libdir))
  59. mono_instdir = $(shell cygpath -m $(libdir))/mono
  60. else
  61. plat_bindir = $(bindir)
  62. mono_instdir = $(prefix)/lib/mono
  63. endif
  64. REWRITE = sed \
  65. -e 's,@''bindir@,$(bindir),g' \
  66. -e 's,@''plat_bindir@,$(plat_bindir),g' \
  67. -e 's,@''mono_instdir@,$(mono_instdir),g' \
  68. -e 's,@''gtkdir@,$(gtkdir),g' \
  69. -e 's,@''mono_interp@,$(mono_interp),g'
  70. REWRITE1 = $(REWRITE) -e 's,@''framework_version@,1.0,g'
  71. REWRITE2 = $(REWRITE) -e 's,@''framework_version@,2.0,g'
  72. mono-service: mono-service.in Makefile
  73. $(REWRITE1) -e 's,@''exe_name@,$@,g' $(srcdir)/mono-service.in > [email protected]
  74. mv [email protected] $@
  75. $(scripts_1_0): script.in Makefile
  76. $(REWRITE1) -e 's,@''exe_name@,$@,g' $(srcdir)/script.in > [email protected]
  77. mv [email protected] $@
  78. $(scripts_1_0_umask): script_umask.in Makefile
  79. $(REWRITE1) -e 's,@''exe_name@,$@,g' $(srcdir)/script_umask.in > [email protected]
  80. mv [email protected] $@
  81. gmcs: script.in Makefile
  82. $(REWRITE2) -e 's,@''exe_name@,$@,g' $(srcdir)/script.in > [email protected]
  83. mv [email protected] $@
  84. $(scripts_2_0): script.in Makefile
  85. n=`echo $@ | sed 's,2$$,,'`; \
  86. $(REWRITE2) -e "s,@""exe_name@,$$n,g" $(srcdir)/script.in > [email protected]
  87. mv [email protected] $@