2007-10-17 22:07:54 -04:00
|
|
|
|
2007-11-12 00:27:36 -05:00
|
|
|
nodist_pkglib_DATA=ikarus.boot
|
2007-10-17 22:07:54 -04:00
|
|
|
|
2009-04-06 19:15:32 -04:00
|
|
|
EXTRA_DIST=ikarus.boot.4.prebuilt ikarus.boot.8.prebuilt last-revision \
|
|
|
|
ikarus.enumerations.ss run-tests.ss \
|
2007-12-10 07:28:03 -05:00
|
|
|
ikarus.exceptions.ss ikarus.apply.ss ikarus.bytevectors.ss \
|
|
|
|
ikarus.cafe.ss ikarus.chars.ss ikarus.code-objects.ss \
|
|
|
|
ikarus.codecs.ss ikarus.collect.ss ikarus.command-line.ss \
|
2008-02-13 03:29:34 -05:00
|
|
|
ikarus.compiler.altcogen.ss ikarus.compiler.ss \
|
|
|
|
ikarus.compiler.source-optimizer.ss ikarus.control.ss \
|
2007-12-10 07:28:03 -05:00
|
|
|
ikarus.date-string.ss ikarus.fasl.ss ikarus.fasl.write.ss \
|
|
|
|
ikarus.fixnums.ss ikarus.guardians.ss ikarus.handlers.ss \
|
2007-12-10 15:02:25 -05:00
|
|
|
ikarus.hash-tables.ss ikarus.intel-assembler.ss \
|
|
|
|
ikarus.lists.ss ikarus.load.ss ikarus.main.ss \
|
|
|
|
ikarus.multiple-values.ss ikarus.numerics.ss \
|
2007-12-10 07:28:03 -05:00
|
|
|
ikarus.pairs.ss ikarus.posix.ss ikarus.predicates.ss \
|
2008-10-16 02:43:03 -04:00
|
|
|
ikarus.pretty-print.ss ikarus.pretty-formats.ss \
|
|
|
|
ikarus.promises.ss ikarus.reader.ss \
|
2007-12-10 07:28:03 -05:00
|
|
|
ikarus.records.procedural.ss ikarus.conditions.ss \
|
|
|
|
ikarus.singular-objects.ss ikarus.sort.ss ikarus.strings.ss \
|
|
|
|
ikarus.structs.ss ikarus.symbols.ss ikarus.timer.ss ikarus.trace.ss \
|
2008-10-28 19:59:40 -04:00
|
|
|
ikarus.unicode-conversion.ss ikarus.unicode.ss \
|
2007-12-10 07:28:03 -05:00
|
|
|
ikarus.vectors.ss ikarus.writer.ss makefile.ss \
|
|
|
|
pass-specify-rep-primops.ss pass-specify-rep.ss psyntax.builders.ss \
|
|
|
|
psyntax.compat.ss psyntax.config.ss psyntax.expander.ss \
|
2007-12-10 12:03:25 -05:00
|
|
|
psyntax.internal.ss psyntax.library-manager.ss \
|
2008-02-14 17:45:15 -05:00
|
|
|
unicode/unicode-char-cases.ss unicode/unicode-charinfo.ss \
|
2009-04-06 19:15:32 -04:00
|
|
|
unicode-data.ss unicode/unicode-data.ss \
|
|
|
|
unicode/UNIDATA/CaseFolding.txt \
|
|
|
|
unicode/UNIDATA/NormalizationTest.txt \
|
|
|
|
unicode/UNIDATA/SpecialCasing.txt \
|
|
|
|
unicode/UNIDATA/WordBreakProperty.txt \
|
|
|
|
unicode/UNIDATA/CompositionExclusions.txt \
|
|
|
|
unicode/UNIDATA/PropList.txt \
|
|
|
|
unicode/UNIDATA/UnicodeData.txt \
|
2008-05-31 23:10:17 -04:00
|
|
|
ikarus.io.ss ikarus.time-and-date.ss ikarus.not-yet-implemented.ss \
|
2008-07-07 02:48:16 -04:00
|
|
|
ikarus.string-to-number.ss ikarus.compiler.source-optimizer.ss \
|
2008-08-10 13:46:24 -04:00
|
|
|
ikarus.compiler.tag-annotation-analysis.ss ikarus.ontology.ss \
|
2008-12-06 12:40:18 -05:00
|
|
|
ikarus.reader.annotated.ss ikarus.pointers.ss ikarus.equal.ss \
|
2009-04-06 19:15:32 -04:00
|
|
|
ikarus.symbol-table.ss ikarus.apropos.ss ikarus.include-src.ss \
|
|
|
|
tests/SRFI-1.ss \
|
|
|
|
tests/bignum-to-flonum.ss \
|
|
|
|
tests/bignums.ss \
|
|
|
|
tests/bitwise.ss \
|
|
|
|
tests/bytevectors.ss \
|
|
|
|
tests/case-folding.ss \
|
|
|
|
tests/div-and-mod.ss \
|
|
|
|
tests/enums.ss \
|
|
|
|
tests/fasl.ss \
|
|
|
|
tests/fixnums.ss \
|
|
|
|
tests/fldiv-and-mod.ss \
|
|
|
|
tests/framework.ss \
|
|
|
|
tests/guardians.ss \
|
|
|
|
tests/hashtables.ss \
|
|
|
|
tests/io.ss \
|
|
|
|
tests/lists.ss \
|
|
|
|
tests/normalization.ss \
|
|
|
|
tests/numerics.ss \
|
|
|
|
tests/parse-flonums.ss \
|
|
|
|
tests/pointers.ss \
|
|
|
|
tests/r6rs-records-procedural.ss \
|
|
|
|
tests/reader.ss \
|
|
|
|
tests/repl.ss \
|
|
|
|
tests/rn100 \
|
|
|
|
tests/set-position.ss \
|
|
|
|
tests/sorting.ss \
|
|
|
|
tests/string-to-number.ss \
|
|
|
|
tests/strings.ss \
|
|
|
|
tests/symbol-table.ss \
|
|
|
|
tests/tests-1.1-req.scm \
|
|
|
|
tests/tests-1.2-req.scm \
|
|
|
|
tests/tests-1.3-req.scm \
|
|
|
|
tests/tests-1.4-req.scm \
|
|
|
|
tests/tests-1.5-req.scm \
|
|
|
|
tests/tests-1.6-req.scm \
|
|
|
|
tests/tests-1.7-req.scm \
|
|
|
|
tests/tests-1.8-req.scm \
|
|
|
|
tests/tests-1.9-req.scm \
|
|
|
|
tests/tests-2.1-req.scm \
|
|
|
|
tests/tests-2.2-req.scm \
|
|
|
|
tests/tests-2.3-req.scm \
|
|
|
|
tests/tests-2.4-req.scm \
|
|
|
|
tests/tests-2.6-req.scm \
|
|
|
|
tests/tests-2.8-req.scm \
|
|
|
|
tests/tests-2.9-req.scm \
|
|
|
|
tests/tests-3.1-req.scm \
|
|
|
|
tests/tests-3.2-req.scm \
|
|
|
|
tests/tests-3.3-req.scm \
|
|
|
|
tests/tests-3.4-req.scm \
|
|
|
|
tests/tests-4.1-req.scm \
|
|
|
|
tests/tests-4.2-req.scm \
|
|
|
|
tests/tests-4.3-req.scm \
|
|
|
|
tests/tests-5.1-req.scm \
|
|
|
|
tests/tests-5.2-req.scm \
|
|
|
|
tests/tests-5.3-req.scm \
|
|
|
|
tests/tests-5.6-req.scm \
|
|
|
|
tests/unicode.ss
|
|
|
|
|
2007-11-12 00:27:36 -05:00
|
|
|
all: $(nodist_pkglib_DATA)
|
2007-10-18 11:48:11 -04:00
|
|
|
|
2007-12-02 23:43:22 -05:00
|
|
|
revno = "$(shell sed 's/ .*//' ../.bzr/branch/last-revision 2>/dev/null)"
|
2009-04-06 19:15:32 -04:00
|
|
|
$(srcdir)/last-revision: $(shell ls ../.bzr/branch/last-revision 2>/dev/null)
|
2007-11-21 00:59:05 -05:00
|
|
|
echo $(revno) >$@
|
2007-11-19 15:37:42 -05:00
|
|
|
|
2008-07-20 17:09:04 -04:00
|
|
|
sizeofvoidp = $(shell grep SIZEOF_VOID_P ../config.h | sed "s/.*\(.\)/\1/g")
|
|
|
|
|
2008-01-02 23:22:55 -05:00
|
|
|
ikarus.config.ss: Makefile last-revision ../config.h
|
2007-11-18 20:22:11 -05:00
|
|
|
echo '(define ikarus-version "$(PACKAGE_VERSION)")' >$@
|
2009-04-06 11:47:40 -04:00
|
|
|
echo '(define ikarus-revision "$(shell cat $(srcdir)/last-revision)")' >>$@
|
2007-11-18 22:46:00 -05:00
|
|
|
echo '(define ikarus-lib-dir "$(pkglibdir)")' >>$@
|
2008-09-24 23:18:35 -04:00
|
|
|
echo '(define target "$(target)")' >>$@
|
2008-07-20 17:09:04 -04:00
|
|
|
echo '(define wordsize $(sizeofvoidp))' >>$@
|
2008-01-02 23:22:55 -05:00
|
|
|
|
2007-10-18 11:48:11 -04:00
|
|
|
|
2007-11-21 16:45:27 -05:00
|
|
|
CLEANFILES=$(nodist_pkglib_DATA) ikarus.config.ss
|
|
|
|
MAINTAINERCLEANFILES=last-revision
|
2007-11-18 20:22:11 -05:00
|
|
|
|
2009-04-06 11:47:40 -04:00
|
|
|
ikarus.boot: $(EXTRA_DIST) ikarus.config.ss
|
|
|
|
IKARUS_SRC_DIR=$(srcdir) \
|
|
|
|
IKARUS_BUILD_DIR=$(builddir) \
|
|
|
|
IKARUS_LIBRARY_PATH=$(srcdir) \
|
|
|
|
../src/ikarus -b $(srcdir)/ikarus.boot.$(sizeofvoidp).prebuilt \
|
|
|
|
--r6rs-script $(srcdir)/makefile.ss
|
2007-10-17 22:07:54 -04:00
|
|
|
|
2008-10-31 16:55:43 -04:00
|
|
|
check: ikarus.boot
|
2009-04-06 11:47:40 -04:00
|
|
|
IKARUS_SRC_DIR=$(srcdir) \
|
|
|
|
IKARUS_LIBRARY_PATH=$(srcdir) \
|
|
|
|
../src/ikarus -b ikarus.boot --r6rs-script $(srcdir)/run-tests.ss
|