2
0

Makefile.am 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. bin_SCRIPTS = $(scripts_1_0) $(scripts_1_0_umask) $(scripts_2_0) 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. gmcs \
  38. ilasm2 \
  39. monop2 \
  40. wsdl2 \
  41. xbuild
  42. scripts_rpmhelpers = mono-find-provides mono-find-requires
  43. pkgconfigdir = $(libdir)/pkgconfig
  44. pkgconfig_DATA= mono-nunit.pc
  45. CLEANFILES = $(scripts_1_0) $(scripts_1_0_umask) $(scripts_2_0) gmcs mono-service
  46. DISTCLEANFILES = $(pkgconfig_DATA) $(scripts_rpmhelpers)
  47. EXTRA_DIST = \
  48. script.in \
  49. script_umask.in \
  50. mono-service.in \
  51. mono-nunit.pc.in \
  52. mono-find-provides.in \
  53. mono-find-requires.in
  54. if USE_JIT
  55. mono_interp = mono
  56. else
  57. mono_interp = mint
  58. endif
  59. if PLATFORM_WIN32
  60. plat_bindir = $(shell cygpath -m $(libdir))
  61. mono_instdir = $(shell cygpath -m $(libdir))/mono
  62. else
  63. plat_bindir = $(bindir)
  64. mono_instdir = $(prefix)/lib/mono
  65. endif
  66. REWRITE = sed \
  67. -e 's,@''bindir@,$(bindir),g' \
  68. -e 's,@''plat_bindir@,$(plat_bindir),g' \
  69. -e 's,@''mono_instdir@,$(mono_instdir),g' \
  70. -e 's,@''gtkdir@,$(gtkdir),g' \
  71. -e 's,@''mono_interp@,$(mono_interp),g'
  72. REWRITE1 = $(REWRITE) -e 's,@''framework_version@,1.0,g'
  73. REWRITE2 = $(REWRITE) -e 's,@''framework_version@,2.0,g'
  74. mono-service: mono-service.in Makefile
  75. $(REWRITE1) -e 's,@''exe_name@,$@,g' $(srcdir)/mono-service.in > [email protected]
  76. mv [email protected] $@
  77. $(scripts_1_0): script.in Makefile
  78. $(REWRITE1) -e 's,@''exe_name@,$@,g' $(srcdir)/script.in > [email protected]
  79. mv [email protected] $@
  80. $(scripts_1_0_umask): script_umask.in Makefile
  81. $(REWRITE1) -e 's,@''exe_name@,$@,g' $(srcdir)/script_umask.in > [email protected]
  82. mv [email protected] $@
  83. $(scripts_2_0): script.in Makefile
  84. n=`echo $@ | sed 's,2$$,,'`; \
  85. $(REWRITE2) -e "s,@""exe_name@,$$n,g" $(srcdir)/script.in > [email protected]
  86. mv [email protected] $@