Makefile.am 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. EXTRA_DIST = script.in script2.in mono-service.in mono-nunit.pc.in
  2. DISTCLEANFILES = mono-nunit.pc
  3. bin2dir = $(bindir)
  4. servicedir = $(bindir)
  5. bin_SCRIPTS = \
  6. al \
  7. caspol \
  8. cert2spc \
  9. certmgr \
  10. chktrust \
  11. cilc \
  12. disco \
  13. dtd2xsd \
  14. gacutil \
  15. genxs \
  16. ilasm \
  17. makecert \
  18. macpack \
  19. mbas \
  20. mcs \
  21. mjs \
  22. mkbundle \
  23. mono-find-provides \
  24. mono-find-requires \
  25. monop \
  26. permview \
  27. prj2make \
  28. resgen \
  29. secutil \
  30. setreg \
  31. signcode \
  32. sn \
  33. soapsuds \
  34. sqlsharp \
  35. wsdl \
  36. xsd
  37. bin2_SCRIPTS = gmcs wsdl2
  38. service_SCRIPTS = mono-service
  39. CLEANFILES = $(bin_SCRIPTS) $(bin2_SCRIPTS) mono-service
  40. if USE_JIT
  41. MONO_INTERP = mono
  42. else
  43. MONO_INTERP = mint
  44. endif
  45. if PLATFORM_WIN32
  46. plat_bindir = $(shell cygpath -m $(libdir))
  47. mono_one_instdir = $(shell cygpath -m $(libdir))/mono/1.0
  48. mono_two_instdir = $(shell cygpath -m $(libdir))/mono/2.0
  49. else
  50. plat_bindir = $(bindir)
  51. mono_one_instdir = $(prefix)/lib/mono/1.0
  52. mono_two_instdir = $(prefix)/lib/mono/2.0
  53. endif
  54. REWRITE = sed \
  55. -e 's,@''bindir@,$(bindir),g' \
  56. -e 's,@''plat_bindir@,$(plat_bindir),g' \
  57. -e 's,@''mono_one_instdir@,$(mono_one_instdir),g' \
  58. -e 's,@''mono_two_instdir@,$(mono_two_instdir),g' \
  59. -e 's,@''gtkdir@,$(gtkdir),g' \
  60. -e 's,@''exe_file@,[email protected],g' \
  61. -e 's,@''mono_interp@,$(MONO_INTERP),g'
  62. mono-service: mono-service.in Makefile
  63. $(REWRITE) $(srcdir)/mono-service.in > [email protected]
  64. mv [email protected] $@
  65. $(bin_SCRIPTS): script.in Makefile
  66. $(REWRITE) $(srcdir)/script.in > [email protected]
  67. mv [email protected] $@
  68. $(bin2_SCRIPTS): script2.in Makefile
  69. $(REWRITE) $(srcdir)/script2.in > [email protected]
  70. mv [email protected] $@
  71. pkgconfigdir = $(libdir)/pkgconfig
  72. pkgconfig_DATA= mono-nunit.pc