Makefile.am 1.6 KB

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