Makefile.am 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395
  1. ## Process this file with automake to produce Makefile.in.
  2. ##
  3. ## Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
  4. ##
  5. ## This file is part of GUILE.
  6. ##
  7. ## GUILE is free software; you can redistribute it and/or modify it
  8. ## under the terms of the GNU Lesser General Public License as
  9. ## published by the Free Software Foundation; either version 3, or
  10. ## (at your option) any later version.
  11. ##
  12. ## GUILE is distributed in the hope that it will be useful, but
  13. ## WITHOUT ANY WARRANTY; without even the implied warranty of
  14. ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. ## GNU Lesser General Public License for more details.
  16. ##
  17. ## You should have received a copy of the GNU Lesser General Public
  18. ## License along with GUILE; see the file COPYING.LESSER. If not,
  19. ## write to the Free Software Foundation, Inc., 51 Franklin Street,
  20. ## Fifth Floor, Boston, MA 02110-1301 USA
  21. include $(top_srcdir)/am/guilec
  22. # We're at the root of the module hierarchy.
  23. modpath =
  24. # Build eval.go first.
  25. $(GOBJECTS): ice-9/eval.go
  26. CLEANFILES += ice-9/eval.go
  27. nobase_mod_DATA += ice-9/eval.scm
  28. nobase_ccache_DATA += ice-9/eval.go
  29. EXTRA_DIST += ice-9/eval.scm
  30. ETAGS_ARGS += ice-9/eval.scm
  31. # We can compile these in any order, but it's fastest if we compile
  32. # psyntax and boot-9 first, then the compiler itself, then the rest of
  33. # the code.
  34. SOURCES = \
  35. ice-9/psyntax-pp.scm \
  36. ice-9/boot-9.scm \
  37. \
  38. language/tree-il.scm \
  39. language/glil.scm \
  40. language/assembly.scm \
  41. $(TREE_IL_LANG_SOURCES) \
  42. $(GLIL_LANG_SOURCES) \
  43. $(ASSEMBLY_LANG_SOURCES) \
  44. $(BYTECODE_LANG_SOURCES) \
  45. $(OBJCODE_LANG_SOURCES) \
  46. $(VALUE_LANG_SOURCES) \
  47. $(SCHEME_LANG_SOURCES) \
  48. $(SYSTEM_BASE_SOURCES) \
  49. \
  50. $(ICE_9_SOURCES) \
  51. $(SRFI_SOURCES) \
  52. $(RNRS_SOURCES) \
  53. $(OOP_SOURCES) \
  54. $(SYSTEM_SOURCES) \
  55. $(SCRIPTS_SOURCES) \
  56. $(ECMASCRIPT_LANG_SOURCES) \
  57. $(ELISP_LANG_SOURCES) \
  58. $(BRAINFUCK_LANG_SOURCES) \
  59. $(LIB_SOURCES) \
  60. $(WEB_SOURCES)
  61. ## test.scm is not currently installed.
  62. EXTRA_DIST += \
  63. ice-9/test.scm \
  64. ice-9/compile-psyntax.scm \
  65. ice-9/ChangeLog-2008
  66. ETAGS_ARGS += \
  67. ice-9/test.scm \
  68. ice-9/compile-psyntax.scm \
  69. ice-9/ChangeLog-2008
  70. ice-9/psyntax-pp.scm.gen:
  71. $(top_builddir_absolute)/meta/guile --no-auto-compile -s $(srcdir)/ice-9/compile-psyntax.scm \
  72. $(srcdir)/ice-9/psyntax.scm $(srcdir)/ice-9/psyntax-pp.scm
  73. .PHONY: ice-9/psyntax-pp.scm.gen
  74. # Keep this rule in sync with that in `am/guilec'.
  75. ice-9/psyntax-pp.go: ice-9/psyntax.scm ice-9/psyntax-pp.scm
  76. $(AM_V_GUILEC)time env GUILE_AUTO_COMPILE=0 \
  77. $(top_builddir)/meta/uninstalled-env \
  78. guild compile --target="$(host)" $(GUILE_WARNINGS) \
  79. -L "$(abs_srcdir)" -L "$(abs_builddir)" \
  80. -L "$(abs_top_srcdir)/guile-readline" \
  81. -o "ice-9/psyntax-pp.go" "$(srcdir)/ice-9/psyntax.scm"
  82. SCHEME_LANG_SOURCES = \
  83. language/scheme/spec.scm \
  84. language/scheme/compile-tree-il.scm \
  85. language/scheme/decompile-tree-il.scm
  86. TREE_IL_LANG_SOURCES = \
  87. language/tree-il/primitives.scm \
  88. language/tree-il/peval.scm \
  89. language/tree-il/effects.scm \
  90. language/tree-il/fix-letrec.scm \
  91. language/tree-il/optimize.scm \
  92. language/tree-il/canonicalize.scm \
  93. language/tree-il/analyze.scm \
  94. language/tree-il/inline.scm \
  95. language/tree-il/compile-glil.scm \
  96. language/tree-il/cse.scm \
  97. language/tree-il/debug.scm \
  98. language/tree-il/spec.scm
  99. GLIL_LANG_SOURCES = \
  100. language/glil/spec.scm language/glil/compile-assembly.scm \
  101. language/glil/decompile-assembly.scm
  102. ASSEMBLY_LANG_SOURCES = \
  103. language/assembly/spec.scm \
  104. language/assembly/compile-bytecode.scm \
  105. language/assembly/decompile-bytecode.scm \
  106. language/assembly/disassemble.scm
  107. BYTECODE_LANG_SOURCES = \
  108. language/bytecode/spec.scm
  109. OBJCODE_LANG_SOURCES = \
  110. language/objcode/spec.scm
  111. VALUE_LANG_SOURCES = \
  112. language/value/spec.scm
  113. ECMASCRIPT_LANG_SOURCES = \
  114. language/ecmascript/tokenize.scm \
  115. language/ecmascript/parse.scm \
  116. language/ecmascript/impl.scm \
  117. language/ecmascript/base.scm \
  118. language/ecmascript/function.scm \
  119. language/ecmascript/array.scm \
  120. language/ecmascript/compile-tree-il.scm \
  121. language/ecmascript/spec.scm
  122. ELISP_LANG_SOURCES = \
  123. language/elisp/falias.scm \
  124. language/elisp/lexer.scm \
  125. language/elisp/parser.scm \
  126. language/elisp/bindings.scm \
  127. language/elisp/compile-tree-il.scm \
  128. language/elisp/runtime.scm \
  129. language/elisp/runtime/function-slot.scm \
  130. language/elisp/runtime/value-slot.scm \
  131. language/elisp/spec.scm
  132. BRAINFUCK_LANG_SOURCES = \
  133. language/brainfuck/parse.scm \
  134. language/brainfuck/compile-scheme.scm \
  135. language/brainfuck/compile-tree-il.scm \
  136. language/brainfuck/spec.scm
  137. SCRIPTS_SOURCES = \
  138. scripts/autofrisk.scm \
  139. scripts/compile.scm \
  140. scripts/disassemble.scm \
  141. scripts/display-commentary.scm \
  142. scripts/doc-snarf.scm \
  143. scripts/frisk.scm \
  144. scripts/generate-autoload.scm \
  145. scripts/help.scm \
  146. scripts/lint.scm \
  147. scripts/list.scm \
  148. scripts/punify.scm \
  149. scripts/read-scheme-source.scm \
  150. scripts/read-text-outline.scm \
  151. scripts/use2dot.scm \
  152. scripts/snarf-check-and-output-texi.scm \
  153. scripts/summarize-guile-TODO.scm \
  154. scripts/scan-api.scm \
  155. scripts/api-diff.scm \
  156. scripts/read-rfc822.scm \
  157. scripts/snarf-guile-m4-docs.scm
  158. SYSTEM_BASE_SOURCES = \
  159. system/base/pmatch.scm \
  160. system/base/syntax.scm \
  161. system/base/compile.scm \
  162. system/base/language.scm \
  163. system/base/lalr.scm \
  164. system/base/message.scm \
  165. system/base/target.scm
  166. ICE_9_SOURCES = \
  167. ice-9/r5rs.scm \
  168. ice-9/deprecated.scm \
  169. ice-9/and-let-star.scm \
  170. ice-9/binary-ports.scm \
  171. ice-9/calling.scm \
  172. ice-9/command-line.scm \
  173. ice-9/common-list.scm \
  174. ice-9/control.scm \
  175. ice-9/curried-definitions.scm \
  176. ice-9/debug.scm \
  177. ice-9/documentation.scm \
  178. ice-9/eval-string.scm \
  179. ice-9/expect.scm \
  180. ice-9/format.scm \
  181. ice-9/futures.scm \
  182. ice-9/getopt-long.scm \
  183. ice-9/hcons.scm \
  184. ice-9/i18n.scm \
  185. ice-9/lineio.scm \
  186. ice-9/ls.scm \
  187. ice-9/mapping.scm \
  188. ice-9/match.scm \
  189. ice-9/networking.scm \
  190. ice-9/null.scm \
  191. ice-9/occam-channel.scm \
  192. ice-9/optargs.scm \
  193. ice-9/poe.scm \
  194. ice-9/poll.scm \
  195. ice-9/popen.scm \
  196. ice-9/posix.scm \
  197. ice-9/q.scm \
  198. ice-9/rdelim.scm \
  199. ice-9/receive.scm \
  200. ice-9/regex.scm \
  201. ice-9/runq.scm \
  202. ice-9/rw.scm \
  203. ice-9/safe-r5rs.scm \
  204. ice-9/safe.scm \
  205. ice-9/save-stack.scm \
  206. ice-9/scm-style-repl.scm \
  207. ice-9/session.scm \
  208. ice-9/slib.scm \
  209. ice-9/stack-catch.scm \
  210. ice-9/streams.scm \
  211. ice-9/string-fun.scm \
  212. ice-9/syncase.scm \
  213. ice-9/threads.scm \
  214. ice-9/top-repl.scm \
  215. ice-9/buffered-input.scm \
  216. ice-9/time.scm \
  217. ice-9/history.scm \
  218. ice-9/channel.scm \
  219. ice-9/pretty-print.scm \
  220. ice-9/ftw.scm \
  221. ice-9/gap-buffer.scm \
  222. ice-9/weak-vector.scm \
  223. ice-9/list.scm \
  224. ice-9/serialize.scm \
  225. ice-9/vlist.scm \
  226. ice-9/local-eval.scm
  227. SRFI_SOURCES = \
  228. srfi/srfi-1.scm \
  229. srfi/srfi-2.scm \
  230. srfi/srfi-4.scm \
  231. srfi/srfi-4/gnu.scm \
  232. srfi/srfi-6.scm \
  233. srfi/srfi-8.scm \
  234. srfi/srfi-9.scm \
  235. srfi/srfi-9/gnu.scm \
  236. srfi/srfi-10.scm \
  237. srfi/srfi-11.scm \
  238. srfi/srfi-13.scm \
  239. srfi/srfi-14.scm \
  240. srfi/srfi-16.scm \
  241. srfi/srfi-17.scm \
  242. srfi/srfi-18.scm \
  243. srfi/srfi-19.scm \
  244. srfi/srfi-26.scm \
  245. srfi/srfi-27.scm \
  246. srfi/srfi-31.scm \
  247. srfi/srfi-34.scm \
  248. srfi/srfi-35.scm \
  249. srfi/srfi-37.scm \
  250. srfi/srfi-38.scm \
  251. srfi/srfi-42.scm \
  252. srfi/srfi-39.scm \
  253. srfi/srfi-45.scm \
  254. srfi/srfi-60.scm \
  255. srfi/srfi-67.scm \
  256. srfi/srfi-69.scm \
  257. srfi/srfi-88.scm \
  258. srfi/srfi-98.scm
  259. RNRS_SOURCES = \
  260. rnrs/base.scm \
  261. rnrs/conditions.scm \
  262. rnrs/control.scm \
  263. rnrs/enums.scm \
  264. rnrs/eval.scm \
  265. rnrs/exceptions.scm \
  266. rnrs/files.scm \
  267. rnrs/hashtables.scm \
  268. rnrs/lists.scm \
  269. rnrs/mutable-pairs.scm \
  270. rnrs/mutable-strings.scm \
  271. rnrs/programs.scm \
  272. rnrs/r5rs.scm \
  273. rnrs/sorting.scm \
  274. rnrs/syntax-case.scm \
  275. rnrs/unicode.scm \
  276. rnrs/arithmetic/bitwise.scm \
  277. rnrs/arithmetic/fixnums.scm \
  278. rnrs/arithmetic/flonums.scm \
  279. rnrs/bytevectors.scm \
  280. rnrs/io/simple.scm \
  281. rnrs/io/ports.scm \
  282. rnrs/records/inspection.scm \
  283. rnrs/records/procedural.scm \
  284. rnrs/records/syntactic.scm \
  285. rnrs.scm
  286. EXTRA_DIST += scripts/ChangeLog-2008
  287. EXTRA_DIST += scripts/README
  288. OOP_SOURCES = \
  289. oop/goops.scm \
  290. oop/goops/active-slot.scm \
  291. oop/goops/compile.scm \
  292. oop/goops/composite-slot.scm \
  293. oop/goops/describe.scm \
  294. oop/goops/dispatch.scm \
  295. oop/goops/internal.scm \
  296. oop/goops/save.scm \
  297. oop/goops/stklos.scm \
  298. oop/goops/util.scm \
  299. oop/goops/accessors.scm \
  300. oop/goops/simple.scm
  301. SYSTEM_SOURCES = \
  302. system/vm/inspect.scm \
  303. system/vm/coverage.scm \
  304. system/vm/frame.scm \
  305. system/vm/instruction.scm \
  306. system/vm/objcode.scm \
  307. system/vm/program.scm \
  308. system/vm/trace.scm \
  309. system/vm/traps.scm \
  310. system/vm/trap-state.scm \
  311. system/vm/vm.scm \
  312. system/foreign.scm \
  313. system/xref.scm \
  314. system/repl/debug.scm \
  315. system/repl/error-handling.scm \
  316. system/repl/common.scm \
  317. system/repl/command.scm \
  318. system/repl/repl.scm \
  319. system/repl/server.scm
  320. LIB_SOURCES = \
  321. statprof.scm \
  322. sxml/apply-templates.scm \
  323. sxml/fold.scm \
  324. sxml/match.scm \
  325. sxml/simple.scm \
  326. sxml/ssax/input-parse.scm \
  327. sxml/ssax.scm \
  328. sxml/transform.scm \
  329. sxml/xpath.scm \
  330. texinfo.scm \
  331. texinfo/docbook.scm \
  332. texinfo/html.scm \
  333. texinfo/indexing.scm \
  334. texinfo/string-utils.scm \
  335. texinfo/plain-text.scm \
  336. texinfo/reflection.scm \
  337. texinfo/serialize.scm
  338. WEB_SOURCES = \
  339. web/client.scm \
  340. web/http.scm \
  341. web/request.scm \
  342. web/response.scm \
  343. web/server.scm \
  344. web/server/http.scm \
  345. web/uri.scm
  346. EXTRA_DIST += oop/ChangeLog-2008
  347. ELISP_SOURCES = \
  348. language/elisp/boot.el
  349. NOCOMP_SOURCES = \
  350. ice-9/match.upstream.scm \
  351. ice-9/psyntax.scm \
  352. ice-9/r6rs-libraries.scm \
  353. ice-9/quasisyntax.scm \
  354. srfi/srfi-42/ec.scm \
  355. srfi/srfi-67/compare.scm \
  356. system/base/lalr.upstream.scm \
  357. system/repl/describe.scm \
  358. sxml/sxml-match.ss \
  359. sxml/upstream/SSAX.scm \
  360. sxml/upstream/SXML-tree-trans.scm \
  361. sxml/upstream/SXPath-old.scm \
  362. sxml/upstream/assert.scm \
  363. sxml/upstream/input-parse.scm