Makefile.am 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. EXTRA_DIST = script.in script2.in mono-nunit.pc.in
  2. DISTCLEANFILES = mono-nunit.pc
  3. bin2dir = $(bindir)
  4. bin_SCRIPTS = \
  5. al \
  6. caspol \
  7. cert2spc \
  8. certmgr \
  9. chktrust \
  10. cilc \
  11. disco \
  12. dtd2xsd \
  13. gacutil \
  14. genxs \
  15. ilasm \
  16. makecert \
  17. macpack \
  18. mbas \
  19. mcs \
  20. mjs \
  21. mkbundle \
  22. mono-find-provides \
  23. mono-find-requires \
  24. monop \
  25. monoresgen \
  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. CLEANFILES = $(bin_SCRIPTS) $(bin2_SCRIPTS)
  39. if USE_JIT
  40. MONO_INTERP = mono
  41. else
  42. MONO_INTERP = mint
  43. endif
  44. if PLATFORM_WIN32
  45. plat_bindir = $(shell cygpath -m $(libdir))
  46. mono_one_instdir = $(shell cygpath -m $(libdir))/mono/1.0
  47. mono_two_instdir = $(shell cygpath -m $(libdir))/mono/2.0
  48. else
  49. plat_bindir = $(bindir)
  50. mono_one_instdir = $(libdir)/mono/1.0
  51. mono_two_instdir = $(libdir)/mono/2.0
  52. endif
  53. REWRITE = sed \
  54. -e 's,@''bindir@,$(bindir),g' \
  55. -e 's,@''plat_bindir@,$(plat_bindir),g' \
  56. -e 's,@''mono_one_instdir@,$(mono_one_instdir),g' \
  57. -e 's,@''mono_two_instdir@,$(mono_two_instdir),g' \
  58. -e 's,@''gtkdir@,$(gtkdir),g' \
  59. -e 's,@''exe_file@,[email protected],g' \
  60. -e 's,@''mono_interp@,$(MONO_INTERP),g'
  61. $(bin_SCRIPTS): script.in Makefile
  62. $(REWRITE) $(srcdir)/script.in > [email protected]
  63. mv [email protected] $@
  64. $(bin2_SCRIPTS): script2.in Makefile
  65. $(REWRITE) $(srcdir)/script2.in > [email protected]
  66. mv [email protected] $@
  67. pkgconfigdir = $(libdir)/pkgconfig
  68. pkgconfig_DATA= mono-nunit.pc