Makefile.am 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. mkbundle \
  21. mono-find-provides \
  22. mono-find-requires \
  23. monop \
  24. monoresgen \
  25. permview \
  26. prj2make \
  27. resgen \
  28. secutil \
  29. setreg \
  30. signcode \
  31. sn \
  32. soapsuds \
  33. sqlsharp \
  34. wsdl \
  35. xsd
  36. bin2_SCRIPTS = gmcs wsdl2
  37. CLEANFILES = $(bin_SCRIPTS) $(bin2_SCRIPTS)
  38. if USE_JIT
  39. MONO_INTERP = mono
  40. else
  41. MONO_INTERP = mint
  42. endif
  43. if PLATFORM_WIN32
  44. plat_bindir = $(shell cygpath -m $(libdir))
  45. mono_one_instdir = $(shell cygpath -m $(libdir))/mono/1.0
  46. mono_two_instdir = $(shell cygpath -m $(libdir))/mono/2.0
  47. else
  48. plat_bindir = $(bindir)
  49. mono_one_instdir = $(libdir)/mono/1.0
  50. mono_two_instdir = $(libdir)/mono/2.0
  51. endif
  52. REWRITE = sed \
  53. -e 's,@''bindir@,$(bindir),g' \
  54. -e 's,@''plat_bindir@,$(plat_bindir),g' \
  55. -e 's,@''mono_one_instdir@,$(mono_one_instdir),g' \
  56. -e 's,@''mono_two_instdir@,$(mono_two_instdir),g' \
  57. -e 's,@''gtkdir@,$(gtkdir),g' \
  58. -e 's,@''exe_file@,[email protected],g' \
  59. -e 's,@''mono_interp@,$(MONO_INTERP),g'
  60. $(bin_SCRIPTS): script.in Makefile.am
  61. $(REWRITE) $(srcdir)/script.in > [email protected]
  62. mv [email protected] $@
  63. $(bin2_SCRIPTS): script2.in Makefile.am
  64. $(REWRITE) $(srcdir)/script2.in > [email protected]
  65. mv [email protected] $@
  66. pkgconfigdir = $(libdir)/pkgconfig
  67. pkgconfig_DATA= mono-nunit.pc