summaryrefslogtreecommitdiff
path: root/am
AgeCommit message (Collapse)AuthorFilesLines
2012-03-05Merge branch 'bt/elisp'BT Templeton1-5/+14
Conflicts: am/guilec libguile/_scm.h libguile/vm-i-scheme.c module/language/elisp/compile-tree-il.scm module/language/elisp/runtime.scm module/language/elisp/runtime/macros.scm module/language/tree-il/compile-glil.scm module/language/tree-il/primitives.scm
2011-11-23Allow $GUILE_FOR_BUILD to use its own environment when cross-compiling.Ludovic Courtès1-2/+5
* am/guilec (.scm.go): Use `-L' to specify the search path. * module/Makefile.am (ice-9/psyntax-pp.go): Likewise. * meta/uninstalled-env.in (top_builddir): Leave $GUILE_LOAD_PATH, $GUILE_SYSTEM_PATH, and $GUILE_SYSTEM_EXTENSIONS_PATH unchanged when cross-compiling.
2011-11-22load boot.elBT Templeton1-5/+11
* am/guilec: Add support for compiling Elisp files. * module/Makefile.am: New variable ELISP_SOURCES. * module/language/elisp/boot.el: New file. * module/language/elisp/spec.scm: Load boot.el.
2011-11-22Run `guild compile' with `--target=$(host)'.Ludovic Courtès1-1/+1
* am/guilec (.scm.go): Run `guild compile' with `--target=$(host)'.
2011-05-31rename `guile-tools' to `guild'Andy Wingo1-1/+1
* configure.ac: Look for ln -s. Write out `guild' instead of `guile-tools'. * meta/Makefile.am (install-data-hook): Link the installed `guild' to the backward-compatible `guile-tools' name. (bin_SCRIPTS, EXTRA_DIST): Fix up for guild change. * meta/guild.in: Moved here from `guile-tools.in'. * doc/ref/Makefile.am (autoconf-macros.texi): * doc/ref/api-evaluation.texi (Compilation): * doc/ref/autoconf.texi (Autofrisk, Using Autofrisk): * doc/ref/mod-getopt-long.texi (getopt-long Reference): * doc/ref/tools.texi (Miscellaneous Tools, Executable Modules): Minimal doc update. * .gitignore: * am/guilec (.scm.go): * libguile/Makefile.am (snarf2checkedtexi): * module/Makefile.am (ice-9/psyntax-pp.go): Update makefiles, etc. * module/scripts/README: * module/scripts/lint.scm: * module/scripts/list.scm: Update commentaries.
2011-03-25Inline the effect of am/pre-inst-guileNeil Jerram2-34/+1
It's just one variable definition, and in my opinion it confuses, rather than helps, the overall build picture to have two names (preinstguile and meta/guile) for the same thing. * am/Makefile.am (am_frags): Remove pre-inst-guile. * am/pre-inst-guile: Deleted. * doc/ref/Makefile.am: Don't include am/pre-inst-guile. ($(snarf_doc).am, $(snarf_doc).texi): Expand $(preinstguile). * module/Makefile.am (ice-9/psyntax-pp.scm.gen): Don't include am/pre-inst-guile. (ice-9/psyntax-pp.scm.gen): Expand $(preinstguile).
2011-03-25Remove unused definition of preinstguiletoolNeil Jerram1-4/+3
* am/pre-inst-guile (preinstguiletool): Removed.
2010-10-10Compile with `-Wformat'.Ludovic Courtès1-1/+1
* am/guilec (GUILE_WARNINGS): Add `-Wformat'.
2010-09-12Create tags for Scheme sourceNeil Jerram1-0/+1
* am/guilec: Set ETAGS_ARGS. * module/Makefile.am: When adding sources to EXTRA_DIST, add them to ETAGS_ARGS too.
2010-08-27Revert "don't autocompile while snarfing"Andy Wingo1-1/+1
This reverts commit 176ee5c82a9e6c775722cfe96711f2a02cdb7672, which added autocomp inhibitions in the wrong place.
2010-08-27don't autocompile while snarfingAndy Wingo1-1/+1
* am/snarf (GUILE_SNARF): Don't autocompile while snarfing, as we probably don't have a compiled Guile at this point.
2010-07-26Check for go/scm mtime ordering rather than equality.Ludovic Courtès1-18/+7
* am/guilec (install-data-hook): Remove. (guile_install_go_files): New variable. ($(guile_install_go_files)): New dependency. * libguile/load.c (compiled_is_fresh): Check for ordering of STAT_SOURCE and STAT_COMPILED, not equality. * module/ice-9/boot-9.scm (load): Ditto. * module/system/base/compile.scm (call-with-output-file/atomic): Don't set the timestamp of TEMPLATE.
2010-06-18Use AM_SILENT_RULES to pare down build output, ignore auto-generated filesNo Itisnt2-1/+12
* .gitignore: Ignore extra gnulib headers. * am/snarf: Silent SNARF command * am/guilec: Silent GUILEC command * configure.ac: Use AM_SILENT_RULES when available * guile-readline/Makefile.am: * libguile/Makefile.am: * srfi/Makefile.am: * test-suite/standalone/Makefile.am: Silence snarf output
2009-11-08Compile with `-Warity-mismatch'.Ludovic Courtès1-1/+3
* am/guilec (GUILE_WARNINGS): New variable; add `-Warity-mismatch'. (.scm.go): Use it.
2009-10-22Compile Guile modules with `-Wunbound-variable'.Ludovic Courtès1-1/+3
* am/guilec (.scm.go): Compile with `-Wunbound-variable'.
2009-06-17Change Guile license to LGPLv3+Neil Jerram3-18/+18
(Not quite finished, the following will be done tomorrow. module/srfi/*.scm module/rnrs/*.scm module/scripts/*.scm testsuite/*.scm guile-readline/* )
2009-06-04propagate timestamps to installed .scm and .go filesAndy Wingo1-0/+19
* am/guilec: Propagate timestamps of .scm and .go files on to their installed variants. Helps the is-the-.go-file-stale? code do its job.
2009-06-04fix .go installationAndy Wingo1-1/+1
* am/guilec (nobase_ccache_DATA): Fix .go installation.
2009-06-03implement autocompilationAndy Wingo1-2/+1
* am/guilec (.scm.go): Set GUILE_AUTO_COMPILE=0 when compiling individual files, and remove the mkdir -p as compile-file takes care of that now. * libguile/load.c (do_try_autocompile, autocompile_catch_handler) (scm_try_autocompile, scm_init_load): Implement autocompilation. * libguile/script.c (scm_shell_usage, scm_compile_shell_switches): Add --autocompile / --no-autocompile command-line options, and support for the GUILE_AUTO_COMPILE environment variable, defaulting to autocompilation enabled.
2009-06-03install .go files under $libdir, not $datadirAndy Wingo1-1/+3
* am/guilec: Install .go files to $(pkglibdir)/$GUILE_EFFECTIVE_VERSION/ccache.
2009-03-27rely on getrlimit to DTRT, don't make stack calibration fileAndy Wingo1-3/+1
* libguile/measure-hwm.scm: Remove. * .gitignore: Update for removal. * test-suite/standalone/test-fast-slot-ref.in: * test-suite/standalone/test-use-srfi.in: * am/guilec: * check-guile.in: Revert back to normal guile invocation. * libguile/Makefile.am: Don't make a stack calibration file, as the getrlimit-based limit setting should work fine.
2009-03-27allow building against uninstalled guile; move some things to meta/Andy Wingo2-2/+2
* README: Add more info about building against an uninstalled Guile. * meta/: New directory. The proximate cause of its creation is that I want to be able to build external packages against uninstalled Guile, and to do that I need guile-tools in the PATH, but I don't want $top_builddir/libtool in the path. But it seems like a good reorganization, for things that are /about/ Guile: pkg-config files, m4 files, guile-config... then we also include uninstalled info: the environment, the pre-inst-guile script, etc. * meta/guile-1.8-uninstalled.pc.in: New pkg-config template. pkg-config prefers -uninstalled pkg-config files, if they are in its path. * meta/Makefile.am: * meta/ChangeLog-2008: * meta/gdb-uninstalled-guile.in: * meta/guile-1.8.pc.in: * meta/guile-config.in: * meta/guile.m4: * meta/guile-tools.in: Moved to meta/. * meta/guile.in: This is the new name of pre-inst-guile.in. * meta/uninstalled-env.in: And this, pre-inst-guile-env.in. * Makefile.am: * am/guilec: * am/pre-inst-guile: * check-guile.in: * configure.in: * doc/ref/Makefile.am: * gc-benchmarks/run-benchmark.scm: * test-suite/standalone/Makefile.am: * test-suite/standalone/README: * testsuite/Makefile.am: Adapt to meta/ change.
2009-03-26Run the stack calibration script before running the compiler.Ludovic Courtès1-1/+3
* am/guilec (.scm.go): Use `pre-inst-guile' and load `stack-limit-calibration.scm'. This is particularly useful when building the first `.go' files where the compiler is run using the interpreter, which may end up using a lot of stack space. * libguile/Makefile.am (BUILT_SOURCES): Add `stack-limit-calibration.scm'. (TESTS, TESTS_ENVIRONMENT): Remove. (stack-limit-calibration.scm): Prepend `-' so that any errors during the calibration are ignored.
2009-02-24Aggregate makefiles for `module/system' and `module/language'.Ludovic Courtès1-0/+1
* am/guilec (.scm.go): Create the target's directory, in case $(builddir) != $(srcdir). * configure.in: Don't output any makefile under `module/system' or `module/language'. * module/Makefile.am (SUBDIRS): Remove `language' and `system'. Add `.' to the front. (modpath, SOURCES, SCHEME_LANG_SOURCES, ECMASCRIPT_LANG_SOURCES, GHIL_LANG_SOURCES, GLIL_LANG_SOURCES, ASSEMBLY_LANG_SOURCES, BYTECODE_LANG_SOURCES, OBJCODE_LANG_SOURCES, VALUE_LANG_SOURCES): New variables, taken from former `Makefile.am' files in sub-directories.
2009-02-24use nobase in am/guilecAndy Wingo1-1/+2
* am/guilec (nobase_mod_DATA): Use nobase_mod_DATA so we install to the correct dir for foo/bar.scm.
2009-02-21Fix `.go' compilation for $(builddir) != $(srcdir).Ludovic Courtès1-1/+1
* am/guilec (.scm.go): Use "-o $@" to make sure the output file ends up in $(builddir).
2008-11-01move guilec.mk to am/guilecAndy Wingo2-1/+12
* am/Makefile.am: * am/guilec: guilec moved here from /guilec.mk. All includers of guilec adapted.
2008-09-12Add `ChangeLog-2008' files to the distribution.Ludovic Courtès1-2/+2
2008-09-12Rename `ChangeLog' files to `ChangeLog-2008'.Ludovic Courtès1-0/+0
2008-09-11Remove `.cvsignore' files.Ludovic Courtès1-2/+0
2006-04-17merge from 1.8 branchKevin Ryde3-3/+3
2005-05-23The FSF has a new address.Marius Vollmer3-6/+6
2002-04-11*** empty log message ***Rob Browning1-0/+4
2002-04-11* .cvsignore: add Makefile and Makefile.in.Rob Browning1-0/+2
2002-04-01*** empty log message ***Thien-Thi Nguyen1-0/+4
2002-04-01Remove "if MAINTAINER_MODE" conditional.Thien-Thi Nguyen1-3/+0
2002-03-31*** empty log message ***Thien-Thi Nguyen1-0/+6
2002-03-31(am_frags): Add "maintainer-dirs".Thien-Thi Nguyen1-1/+1
2002-03-31Initial revisionThien-Thi Nguyen1-0/+37
2002-02-26*** empty log message ***Thien-Thi Nguyen1-0/+4
2002-02-26Initial revisionThien-Thi Nguyen3-0/+65