Makefile.am 1.4 KB

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