Makefile.am 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. SUBDIRS = module lib
  2. js_runnerdir = $(pkgdatadir)/$(VERSION)/js-runner
  3. js_runner_DATA = \
  4. js-runner/await-call.js \
  5. js-runner/call.js \
  6. js-runner/load.js \
  7. js-runner/load-async.js \
  8. js-runner/load-primitive.js
  9. reflect_jsdir = $(pkgdatadir)/$(VERSION)/reflect-js
  10. reflect_js_DATA = \
  11. reflect-js/reflect.js
  12. reflect_wasmdir = $(pkgdatadir)/$(VERSION)/reflect-wasm
  13. REFLECT_WAT = \
  14. reflect-wasm/reflect.wat \
  15. reflect-wasm/wtf8.wat
  16. reflect_wasm_DATA = $(REFLECT_WAT:%.wat=%.wasm)
  17. CLEANFILES = $(reflect_wasm_DATA)
  18. SUFFIXES = .wat .wasm
  19. # The mkdir is necessary for 'make distcheck' since it's building in a
  20. # different directory than the project root.
  21. .wat.wasm:
  22. $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
  23. $(top_builddir)/pre-inst-env $(GUILD) assemble-wasm -o "$@" "$<"
  24. $(top_builddir)/reflect-wasm/reflect.wasm: reflect-wasm/reflect.wat module/hoot/stdlib.scm
  25. $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
  26. $(top_builddir)/pre-inst-env $(GUILD) assemble-wasm \
  27. --stdlib="((@ (hoot stdlib) compute-stdlib) #t)" -o "$@" "$<"
  28. TEST_EXTENSIONS = .scm
  29. SCM_LOG_COMPILER = $(top_builddir)/pre-inst-env $(GUILE)
  30. AM_SCM_LOG_FLAGS = --no-auto-compile -L $(top_srcdir)
  31. JS_LOG_COMPILER = $(top_builddir)/js-test
  32. CLEANFILES += $(TESTS:test/%.scm=%.log)
  33. TESTS = \
  34. test/test-assignment.scm \
  35. test/test-atomics.scm \
  36. test/test-bitwise.scm \
  37. test/test-bytevectors.scm \
  38. test/test-char-prelude.scm \
  39. test/test-complex.scm \
  40. test/test-constants.scm \
  41. test/test-disassemble.scm \
  42. test/test-exceptions.scm \
  43. test/test-expander.scm \
  44. test/test-ffi.scm \
  45. test/test-fibers.scm \
  46. test/test-fibers-channels.scm \
  47. test/test-fibers-conditions.scm \
  48. test/test-fibers-operations.scm \
  49. test/test-fibers-scheduler.scm \
  50. test/test-fibers-timers.scm \
  51. test/test-fibers-waiter-queue.scm \
  52. test/test-flonums.scm \
  53. test/test-fluids.scm \
  54. test/test-fractions.scm \
  55. test/test-hashtables.scm \
  56. test/test-inline-wasm.scm \
  57. test/test-ints.scm \
  58. test/test-keywords.scm \
  59. test/test-library-group.scm \
  60. test/test-lower-globals.scm \
  61. test/test-lower-stringrefs.scm \
  62. test/test-lower.scm \
  63. test/test-match.scm \
  64. test/test-number-to-string.scm \
  65. test/test-numeric.scm \
  66. test/test-pairs.scm \
  67. test/test-ports.scm \
  68. test/test-procedures.scm \
  69. test/test-promises.scm \
  70. test/test-prompts.scm \
  71. test/test-read.scm \
  72. test/test-records.scm \
  73. test/test-string-to-number.scm \
  74. test/test-strings.scm \
  75. test/test-symbols.scm \
  76. test/test-time.scm \
  77. test/test-vectors.scm \
  78. test/test-vm.scm \
  79. test/test-wasm-assembler.scm \
  80. test/test-write.scm \
  81. #
  82. info_TEXINFOS = doc/hoot.texi
  83. doc_hoot_TEXINFOS = doc/hoot.texi \
  84. doc/apache-2.0.texi
  85. dvi: # Don't build dvi docs
  86. html-local:
  87. $(GUILE) --no-auto-compile doc/build-html.scm
  88. EXTRA_DIST = \
  89. $(REFLECT_WAT) \
  90. $(TESTS) \
  91. $(EXTRA_WAT) \
  92. $(js_runner_DATA) \
  93. $(reflect_js_DATA) \
  94. bin/eval.scm \
  95. bin/call.scm \
  96. bin/compile.scm \
  97. bin/generate-char-prelude.scm \
  98. bootstrap.sh \
  99. guix.scm \
  100. COPYING \
  101. hoot.png \
  102. README.md \
  103. test/basic-types.wat \
  104. test/basic-types.wasm \
  105. test/utils.scm \
  106. test/fixtures/hello \
  107. doc/build-html.scm \
  108. doc/hoot.css \
  109. examples/project-template/hello.js \
  110. examples/project-template/hello.scm \
  111. examples/project-template/index.html \
  112. examples/project-template/Makefile \
  113. examples/project-template/manifest.scm \
  114. examples/project-template/hello/document.scm \
  115. examples/project-template/hello/element.scm \
  116. examples/project-template/README.md \
  117. #