summaryrefslogtreecommitdiff
path: root/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* build: Check for /gnu/store file names upon "make dist".Ludovic Courtès2017-03-011-2/+12
| | | | | * Makefile.am (assert-no-store-file-names): New rule, taken from Guix. (dist-hook): Depend on it.
* Distribute prebuilt bootstraps for common hostsAndy Wingo2016-01-291-0/+2
| | | | | | | | | | | | | | | | | * am/bootstrap.am: New file, factored out of bootstrap/Makefile.am. * bootstrap/Makefile.am: Use bootstrap.am. * prebuilt/Makefile.am: * prebuilt/i686-pc-linux-gnu/Makefile.am: * prebuilt/mips-unknown-linux-gnu/Makefile.am: * prebuilt/x86_64-unknown-linux-gnu/Makefile.am: New files. * configure.ac: Output the prebuilt/ makefiles. * Makefile.am: Descend into prebuilt/ when making dist. * meta/uninstalled-env.in: Arrange to put prebuilt/ in the beginning of the GUILE_LOAD_COMPILED_PATH. Also fix a case where bootstrap/ wasn't being correctly added to the load path.
* Use a bootstrapped -O0 compiler to compile the -O2 GuileAndy Wingo2015-10-231-1/+2
| | | | | | | | | | | | | | | | | | | This reduces total build time to around 30 minutes or so. * Makefile.am (SUBDIRS): Visit bootstrap/ before module/. * bootstrap/Makefile.am: New file. * configure.ac: Generate bootstrap/Makefile. * meta/uninstalled-env.in (top_builddir): Add bootstrap/ to the GUILE_LOAD_COMPILED_PATH. * module/Makefile.am: Simplify to just sort files in alphabetical order; since bootstrap/ was already compiled, we don't need to try to optimize compilation order. Although the compiler will get faster as more of the compiler itself is optimized, this isn't a significant enough effect to worry about.
* Provide glthread/lock.h implementation in terms of Guile threads.Ludovic Courtès2014-03-121-2/+13
| | | | | | | | | | | | | | | | | | Fixes <http://bugs.gnu.org/14404>. Thanks to Paul Eggert <eggert@cs.ucla.edu> for the suggestion. * m4/gnulib-cache.m4: Avoid 'lock' module. * m4/lock.m4, m4/threadlib.m4, lib/glthread/threadlib.c, lib/glthread/lock.c: Remove. * lib/glthread/lock.h: Rewrite in terms of libguile/threads.h. * m4/gnulib-common.m4, m4/gnulib-comp.m4, lib/Makefile.am, lib/unistd.in.h, maint.mk : Update, from Gnulib v0.1-92-g546ff82. * configure.ac (GNULIB_LOCK): Define 'GNULIB_LOCK'. Define 'USE_POSIX_THREADS' when building with pthread support. * Makefile.am (noinst_HEADERS): New variable. (BUILT_SOURCES): Add libguile/scmconfig.h. (libguile/scmconfig.h): New target.
* build: Add `gdbinit' to the distribution.Ludovic Courtès2013-07-171-1/+2
| | | | * Makefile.am (EXTRA_DIST): Add gdbinit.
* build: Adjust makefiles for `guile-procedures.txt'.Ludovic Courtès2013-03-221-1/+3
| | | | | | * libguile/Makefile.am (all-local): New target. * Makefile.am (libguile/guile-procedures.txt): Output to $@.tmp first. (CLEANFILES): New variable.
* Build `guile-procedures.txt' using (texinfo) instead of `makeinfo'.Ludovic Courtès2013-03-211-2/+15
| | | | | | | | | * Makefile.am (schemelibdir, schemelib_DATA): New variables. (libguile/guile-procedures.txt): New target. (EXTRA_DIST): Add libguile/texi-fragments-to-docstrings. * libguile/Makefile.am (guile-procedures.txt): Remove target. (schemelibdir, schemelib_DATA): Remove. * libguile/texi-fragments-to-docstrings: New file.
* Update Gnulib to v0.0-7695-g26c0590.Ludovic Courtès2012-11-171-1/+0
| | | | | * gnulib-local/m4/canonicalize.m4.diff: Remove. * Makefile.am (EXTRA_DIST): Adjust accordingly.
* Store the `git-version-gen' patch.Ludovic Courtès2012-07-071-9/+10
| | | | | * gnulib-local/build-aux/git-version-gen.diff: New file. * Makefile.am (EXTRA_DIST): Add it.
* Work around `gl_CANONICALIZE_LGPL' bug when cross-compiling.Ludovic Courtès2012-07-071-1/+2
| | | | | * gnulib-local/m4/canonicalize.m4.diff: New file. * Makefile.am (EXTRA_DIST): Add it.
* Use `clock-time' directly from Gnulib, but with a local patch.Ludovic Courtès2012-07-061-1/+2
| | | | | | | | | | | | | | This is equivalent to the previous situation, but more easily maintainable. * acinclude.m4 (gl_CLOCK_TIME): Remove. * configure.ac: Remove explicit use of `gl_CLOCK_TIME'. * m4/gnulib-cache.m4 (gl_MODULES): Add `clock-time'. * gnulib-local/m4/clock_time.m4.diff: New file. * Makefile.am (EXTRA_DIST): Add it.
* Update Gnulib to v0.0-7509-g98a2286.Ludovic Courtès2012-07-061-1/+2
| | | | | * Makefile.am (EXTRA_DIST): Add `m4/gnulib-cache.m4'. * build-aux/git-version-gen: Keep unchanged.
* Use Gnulib's `localcharset', with local patches.Ludovic Courtès2011-12-151-4/+7
| | | | | | | | | | | | | | | | | This follows Bruno Haible's suggestion at <http://lists.gnu.org/archive/html/guile-devel/2011-11/msg00055.html>. * m4/gnulib-cache.m4: Add `gl_LOCAL_DIR'; use `localcharset'. * Makefile.am (EXTRA_DIST): Add gnulib-local/lib/localcharset.[ch].diff. (TESTS_ENVIRONMENT): New variable. * gnulib-local/lib/localcharset.c.diff, gnulib-local/lib/localcharset.h.diff: New files. * test-suite/Makefile.am (TESTS_ENVIRONMENT): Add @LOCALCHARSET_TESTS_ENVIRONMENT@. * test-suite/standalone/Makefile.am (TESTS_ENVIRONMENT): Likewise.
* Add `gc-benchmarks/' to the distribution.Ludovic Courtès2011-03-061-1/+3
| | | | | | | | * gc-benchmarks/Makefile.am: New file. * configure.ac: Produce it. * Makefile.am (SUBDIRS): Add `gc-benchmarks'.
* build guile-readline/ after module/Andy Wingo2010-10-061-3/+12
| | | | * Makefile.am (SUBDIRS): Build module/ before guile-readline/. Reformat.
* move srfi-1 and srfi-60 C impl to libguile, without public C apiAndy Wingo2010-09-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * libguile/srfi-1.c: * libguile/srfi-1.h: * libguile/srfi-60.c: * libguile/srfi-60.h: * libguile/ChangeLog-srfi: Move here, from the srfi/ dir. The C API is internal. Add API to register the extensions, called by init.c. * libguile/init.c: Verily, register srfi extensions. * libguile/Makefile.am: Add srfi files. * module/srfi/srfi-1.scm: * module/srfi/srfi-60.scm: Update load-extension invocation. * Makefile.am: * configure.ac: Remove srfi/ dir. * test-suite/standalone/Makefile.am: * test-suite/standalone/test-srfi-1.c: Remove srfi-1 C test, we don't support this API any more.
* Add `.version' to the distribution.Ludovic Courtès2010-09-041-3/+4
| | | | * Makefile.am (EXTRA_DIST): Add `.version'. Remove `m4/autobuild.m4'.
* Use Gnulib's `git-version-gen'.Ludovic Courtès2010-05-301-1/+7
| | | | | | | | | | | | | | * GUILE-VERSION (GUILE_VERSION): Remove. * Makefile.am (dist-hook): Depend on `gen-tarball-version'. (BUILT_SOURCES): New variable. ($(top_srcdir)/.version, gen-tarball-version): New targets. * cfg.mk (git-version-gen-tag-sed-script): New variable. * configure.ac: Use `build-aux/git-version-gen' to generate the VERSION argument of `AC_INIT'. Initialize Automake without `check-news'. Define $GUILE_VERSION as an alias for $PACKAGE_VERSION.
* Rename the `testsuite' directory to `test-suite/vm'.Ludovic Courtès2010-05-261-1/+1
| | | | | | | | | | | | * testsuite: Move to... * test-suite/vm: ... here. * Makefile.am (SUBDIRS): Remove `testsuite'. * configure.ac: Output `test-suite/vm/Makefile' instead of `testsuite/Makefile'. * test-suite/Makefile.am (SUBDIRS): Add `vm'.
* add GUILE-VERSION to CONFIG_STATUS_DEPENDENCIESAndy Wingo2010-03-191-0/+2
| | | | | * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add GUILE-VERSION, so that a change in GUILE-VERSION causes a reconfigure.
* parallel installability for libguile*.hAndy Wingo2010-03-161-2/+3
| | | | | | | | | | | | | * Makefile.am: * libguile/Makefile.am (modincludedir): Install into $pkgincludedir/$GUILE_EFFECTIVE_VERSION. This allows multiple Guile development packages to be installed at once. * guile-readline/Makefile.am (modincludedir): * srfi/Makefile.am (srfiincludedir): Likewise. * meta/guile-2.0.pc.in (Cflags): Add the appropriate -I line so that user code picks up the new location transparently.
* integrate guile-lib docsAndy Wingo2009-12-211-2/+2
|
* remove (lang elisp), as it won't work with the new evaluatorAndy Wingo2009-12-011-1/+1
| | | | | | | | | * lang/: Delete. This causes me some pain, but the new elisp compiler is coming soon, and the old one really won't work with the new evaluator. * Makefile.am: * configure.ac: Autotoolery for elisp removal. * test-suite/tests/elisp.test: Comment out the body of the elisp test. The tests themselves should be useful in the new world, though.
* Remove conflicting definition of $PACKAGE from `GUILE-VERSION'.Ludovic Courtès2009-11-181-4/+0
| | | | | | | | | | | | | This obviates the need for the previous commit, 53da7372beca90a58b7401a84627815289a53d11. * GUILE-VERSION (VERSION, PACKAGE): Remove. The latter was conflicting with Automake's definition, which is "guile", not "GNU Guile". * Makefile.am (distdir): Remove. * configure.ac: Hardcode the package name passed to `AC_INIT'. (pkgdatadir, pkgincludedir, pkglibdir, pkglibexecdir): Remove.
* Don't use `-Werror' by default.Ludovic Courtès2009-11-171-0/+2
| | | | | | | | * configure.ac (GUILE_ERROR_ON_WARNING): Default to "no". * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable. * NEWS: Update.
* Use Gnulib's `version-etc-fsf' for `--version' and `--help' output.Ludovic Courtès2009-11-171-0/+4
| | | | | | | | | | | | * m4/gnulib-cache.m4: Add `version-etc-fsf'. Switch to LGPLv3+. * GUILE-VERSION (PACKAGE): Change to "GNU Guile". * Makefile.am (distdir): New variable. * libguile/script.c (scm_shell_usage): Improve formatting. Use `emit_bug_reporting_address ()'. (scm_compile_shell_switches): Use `version_etc ()'.
* autocompiled files before installation go to a cache dir in the builddirAndy Wingo2009-08-201-0/+3
| | | | | | | | | | | | * libguile/load.c (scm_init_load_path): Append a slash after XDG_CACHE_HOME. * meta/gdb-uninstalled-guile.in: * meta/guile.in (XDG_CACHE_HOME): Export this var so we write to a cache within the build directory. Probably we should have a GUILE_CACHE_DIR to be more specific, though. * Makefile.am (clean-local): Clear the cache when making clean.
* Revert "* FAQ: New file."Neil Jerram2009-06-251-1/+1
| | | | | | | | | This reverts commit d53f85dd859fa69af8a0b67482774d2a88aaf407. It was a confusing mistake to create an FAQ file in the Guile repository/distribution, because there was already an FAQ page on the Guile web site. The information that was in the FAQ file is now in the FAQ web page.
* generate changelogs at dist timeAndy Wingo2009-06-191-0/+12
| | | | | | | * Makefile.am: Add rule to make a ChangeLog at dist-time. The rule comes from coreutils. * build-aux/gitlog-to-changelog: New helper script, from gnulib.
* Change Guile license to LGPLv3+Neil Jerram2009-06-171-9/+9
| | | | | | | | | | (Not quite finished, the following will be done tomorrow. module/srfi/*.scm module/rnrs/*.scm module/scripts/*.scm testsuite/*.scm guile-readline/* )
* guile-tools is a scheme script that loads scheme modulesAndy Wingo2009-04-171-1/+1
| | | | | | | | | | | | | | | * meta/guile-tools: Changed to be a scheme script. Instead of looking for executables in a "scripts dir", we just look for modules in (scripts), and load the modules directly. * module/Makefile.am: * module/scripts/: Move the scripts into module/ so they can be compiled. Rename scripts from `foo' to `foo.scm'. * libguile/Makefile.am: Invoke the snarf->texi code via guile-tools. * configure.in: * .gitignore: Update for changes.
* allow building against uninstalled guile; move some things to meta/Andy Wingo2009-03-271-7/+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.
* Merge commit 'origin/master' into vmAndy Wingo2009-01-121-1/+1
|\ | | | | | | | | | | | | | | Conflicts: .gitignore guile-tools.in srfi/srfi-19.scm
| * Make GNU Libtool 2.2.x happier.Ludovic Courtès2008-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | * configure.in: Use `AC_CONFIG_MACRO_DIR([m4])'. Reverts patch b01284227e180d223c97e1b9ba7e2cbd0ddded7e and makes `libtoolize' from Libtool 2 happier (removes a couple of warnings). * Makefile.am (ACLOCAL_AMFLAGS): Remove `-I guile-config' since that directory only contains macros that we distribute, not macros that we use.
* | move ice-9/ and oop/ under module/Andy Wingo2008-11-011-2/+2
| | | | | | | | | | | | Moved ice-9/ and oop/ under module/, with the idea being that we have only scheme under module/. Adjusted configure.in and Makefile.am appropriately. Put oop/ at the end of the compilation order.
* | Merge commit 'origin/master' into vmAndy Wingo2008-09-301-2/+3
|\| | | | | | | | | | | | | | | Conflicts: doc/Makefile.am ice-9/Makefile.am libguile/gc.c
| * Add `ChangeLog-2008' files to the distribution.Ludovic Courtès2008-09-121-3/+3
| |
| * Remove `.cvsignore' files.Ludovic Courtès2008-09-111-1/+2
| |
* | Fix first-time compilationLudovic Courtès2008-09-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hello! The attached patch fixes first-time compilation, by ensuring SRFI modules are built before "guile-tools compile" is ever run. Thanks, Ludo'. From 691a111c440a26c021f52b4027b0d9772f8e04cc Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org> Date: Tue, 16 Sep 2008 23:13:38 +0200 Subject: [PATCH] Fix compilation order of the sub-directories. * Makefile.am (SUBDIRS): Move `ice-9' past `srfi' and friends, so that the SRFI modules needed by the compiler are built before "guile-tools compile" is used.
* | move guilec and guile-disasm to be guile-tools scriptsAndy Wingo2008-08-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * .gitignore: Some touchups. * configure.in: * src/.cvsignore: * src/Makefile.am: * Makefile.am: No more src/. * scripts/compile: * scripts/disassemble: Moved here from src/ and changed into guile-tools scripts. * scripts/Makefile.am: Add the new scriptes. * guilec.mk: Adapt to new way of invoking the compiler.
* | merge from guile masterAndy Wingo2008-08-261-5/+6
|\| | | | | | | Had to fix up .gitignore for some conflicts.
| * Add `pkg-config' support.Ludovic Courtès2008-05-041-1/+4
| |
| * Fix dangling references to files that have been removed.Ludovic Courtès2008-04-261-4/+2
| |
* | Fixes to make guile-vm compile in guile source treeAndy Wingo2008-08-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * INSTALL: Updated. * m4/gnulib-cache.m4: Regenerated. * Makefile.am: Spelling fix. * guilec.mk: * src/Makefile.am: * src/vm.c: Update to actually work inside a guile source tree. * libguile/Makefile.am: Don't error on warnings in the flex-generated c-tokenize function.
* | merge guile-vm to guileAndy Wingo2008-08-021-1/+2
|\ \ | |/ |/| | | An attempt to pull in the original history from guile-vm into guile itself.
| * distcheck works nowAndy Wingo2008-05-201-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guilec.mk: New file, to be included when building .go files. * module/language/scheme/Makefile.am: * module/system/base/Makefile.am: * module/system/il/Makefile.am: * module/system/repl/Makefile.am: * module/system/vm/Makefile.am: Use guilec.mk. * module/system/base/compile.scm (compiled-file-name): Work on the basename of a file, so that we always create files in the directory where we run. Perhaps should add a -o option to guilec in the future. * Makefile.am: Actually recurse into module/ in a normal build.
| * Update Makefile.am's; remove slib importAndy Wingo2008-05-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: * module/Makefile.am: * module/language/scheme/Makefile.am: * module/system/Makefile.am: * module/system/base/Makefile.am: * module/system/il/Makefile.am: * module/system/repl/Makefile.am: * module/system/vm/Makefile.am: Cleaned up to be more complete, if not completely working. * module/guile/slib.scm: * module/slib/: Removed the slib import; it's a bit out of place here, and bitrotten at that.
| * Fixed `autogen.sh' and removed `module' from the list of dirs to build.Ludovic Court`es2008-04-251-1/+4
| | | | | | | | | | | | | | | | * autogen.sh: Fixed (call `libtoolize'). * Makefile.am (SUBDIRS): Removed `module' which doesn't build right now. git-archimport-id: lcourtes@laas.fr--2004-libre/guile-vm--revival--0.6--patch-16
| * * src/objcodes.c (make_objcode_by_mmap): Fixed the error type when theLudovic Courtes2008-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | object file is too small. * doc/guile-vm.texi: Documented `make-closure'. Improved the documentation of `load-program'. * testsuite: New directory. * configure.in: Added `testsuite/Makefile' to `AC_OUTPUT'. * Makefile.am (SUBDIRS): Added `testsuite'. * src/vm_engine.h (VM_CHECK_OBJECT): New option. (CHECK_OBJECT): New macro. * src/vm_system.c (object-ref): Use VM_CHECK_OBJECT. * module/system/vm/assemble.scm (preprocess): Commented out the debugging code. * benchmark/lib.scm (do-loop): New procedure. git-archimport-id: lcourtes@laas.fr--2005-mobile/guile-vm--mobile--0.6--patch-2
| * New VM.Keisuke Nishida2001-04-011-1/+1
| |