| 1 |
libikarusdir=$(pkglibdir) |
| 2 |
nodist_libikarus_DATA=ikarus.boot |
| 3 |
|
| 4 |
EXTRA_DIST=ikarus.boot.4.prebuilt ikarus.boot.8.prebuilt last-revision \ |
| 5 |
ikarus.enumerations.ss run-tests.ss \ |
| 6 |
ikarus.exceptions.ss ikarus.apply.ss ikarus.bytevectors.ss \ |
| 7 |
ikarus.cafe.ss ikarus.chars.ss ikarus.code-objects.ss \ |
| 8 |
ikarus.codecs.ss ikarus.collect.ss ikarus.command-line.ss \ |
| 9 |
ikarus.compiler.altcogen.ss ikarus.compiler.ss \ |
| 10 |
ikarus.compiler.source-optimizer.ss \ |
| 11 |
ikarus.compiler.optimize-letrec.ss \ |
| 12 |
ikarus.control.ss \ |
| 13 |
ikarus.date-string.ss ikarus.fasl.ss ikarus.fasl.write.ss \ |
| 14 |
ikarus.fixnums.ss ikarus.guardians.ss ikarus.handlers.ss \ |
| 15 |
ikarus.hash-tables.ss ikarus.intel-assembler.ss \ |
| 16 |
ikarus.lists.ss ikarus.load.ss ikarus.main.ss \ |
| 17 |
ikarus.multiple-values.ss ikarus.numerics.ss \ |
| 18 |
ikarus.pairs.ss ikarus.posix.ss ikarus.predicates.ss \ |
| 19 |
ikarus.pretty-print.ss ikarus.pretty-formats.ss \ |
| 20 |
ikarus.promises.ss ikarus.reader.ss \ |
| 21 |
ikarus.records.procedural.ss ikarus.conditions.ss \ |
| 22 |
ikarus.singular-objects.ss ikarus.sort.ss ikarus.strings.ss \ |
| 23 |
ikarus.structs.ss ikarus.symbols.ss ikarus.timer.ss \ |
| 24 |
ikarus.unicode-conversion.ss ikarus.unicode.ss \ |
| 25 |
ikarus.vectors.ss ikarus.writer.ss makefile.ss \ |
| 26 |
pass-specify-rep-primops.ss pass-specify-rep.ss psyntax.builders.ss \ |
| 27 |
psyntax.compat.ss psyntax.config.ss psyntax.expander.ss \ |
| 28 |
psyntax.internal.ss psyntax.library-manager.ss \ |
| 29 |
unicode/unicode-char-cases.ss unicode/unicode-charinfo.ss \ |
| 30 |
unicode-data.ss unicode/unicode-data.ss \ |
| 31 |
unicode/UNIDATA/CaseFolding.txt \ |
| 32 |
unicode/UNIDATA/NormalizationTest.txt \ |
| 33 |
unicode/UNIDATA/SpecialCasing.txt \ |
| 34 |
unicode/UNIDATA/WordBreakProperty.txt \ |
| 35 |
unicode/UNIDATA/CompositionExclusions.txt \ |
| 36 |
unicode/UNIDATA/PropList.txt \ |
| 37 |
unicode/UNIDATA/UnicodeData.txt \ |
| 38 |
ikarus.io.ss ikarus.time-and-date.ss ikarus.not-yet-implemented.ss \ |
| 39 |
ikarus.string-to-number.ss ikarus.compiler.source-optimizer.ss \ |
| 40 |
ikarus.compiler.tag-annotation-analysis.ss ikarus.ontology.ss \ |
| 41 |
ikarus.reader.annotated.ss ikarus.pointers.ss ikarus.equal.ss \ |
| 42 |
ikarus.symbol-table.ss ikarus.apropos.ss \ |
| 43 |
ikarus.debugger.ss \ |
| 44 |
tests/SRFI-1.ss \ |
| 45 |
tests/bignum-to-flonum.ss \ |
| 46 |
tests/bignums.ss \ |
| 47 |
tests/bitwise.ss \ |
| 48 |
tests/bytevectors.ss \ |
| 49 |
tests/case-folding.ss \ |
| 50 |
tests/div-and-mod.ss \ |
| 51 |
tests/enums.ss \ |
| 52 |
tests/fasl.ss \ |
| 53 |
tests/fixnums.ss \ |
| 54 |
tests/fldiv-and-mod.ss \ |
| 55 |
tests/framework.ss \ |
| 56 |
tests/guardians.ss \ |
| 57 |
tests/hashtables.ss \ |
| 58 |
tests/io.ss \ |
| 59 |
tests/lists.ss \ |
| 60 |
tests/normalization.ss \ |
| 61 |
tests/numerics.ss \ |
| 62 |
tests/parse-flonums.ss \ |
| 63 |
tests/pointers.ss \ |
| 64 |
tests/r6rs-records-procedural.ss \ |
| 65 |
tests/reader.ss \ |
| 66 |
tests/repl.ss \ |
| 67 |
tests/rn100 \ |
| 68 |
tests/set-position.ss \ |
| 69 |
tests/sorting.ss \ |
| 70 |
tests/string-to-number.ss \ |
| 71 |
tests/strings.ss \ |
| 72 |
tests/scribble.ss \ |
| 73 |
tests/symbol-table.ss \ |
| 74 |
tests/tests-1.1-req.scm \ |
| 75 |
tests/tests-1.2-req.scm \ |
| 76 |
tests/tests-1.3-req.scm \ |
| 77 |
tests/tests-1.4-req.scm \ |
| 78 |
tests/tests-1.5-req.scm \ |
| 79 |
tests/tests-1.6-req.scm \ |
| 80 |
tests/tests-1.7-req.scm \ |
| 81 |
tests/tests-1.8-req.scm \ |
| 82 |
tests/tests-1.9-req.scm \ |
| 83 |
tests/tests-2.1-req.scm \ |
| 84 |
tests/tests-2.2-req.scm \ |
| 85 |
tests/tests-2.3-req.scm \ |
| 86 |
tests/tests-2.4-req.scm \ |
| 87 |
tests/tests-2.6-req.scm \ |
| 88 |
tests/tests-2.8-req.scm \ |
| 89 |
tests/tests-2.9-req.scm \ |
| 90 |
tests/tests-3.1-req.scm \ |
| 91 |
tests/tests-3.2-req.scm \ |
| 92 |
tests/tests-3.3-req.scm \ |
| 93 |
tests/tests-3.4-req.scm \ |
| 94 |
tests/tests-4.1-req.scm \ |
| 95 |
tests/tests-4.2-req.scm \ |
| 96 |
tests/tests-4.3-req.scm \ |
| 97 |
tests/tests-5.1-req.scm \ |
| 98 |
tests/tests-5.2-req.scm \ |
| 99 |
tests/tests-5.3-req.scm \ |
| 100 |
tests/tests-5.6-req.scm \ |
| 101 |
tests/unicode.ss |
| 102 |
|
| 103 |
all: $(nodist_libikarus_DATA) |
| 104 |
|
| 105 |
revno = "$(shell sed 's/ .*//' ../.bzr/branch/last-revision 2>/dev/null)" |
| 106 |
$(srcdir)/last-revision: $(shell ls ../.bzr/branch/last-revision 2>/dev/null) |
| 107 |
echo $(revno) >$@ |
| 108 |
|
| 109 |
sizeofvoidp = $(shell grep SIZEOF_VOID_P ../config.h | sed "s/.*\(.\)/\1/g") |
| 110 |
|
| 111 |
ikarus.config.ss: Makefile last-revision ../config.h |
| 112 |
echo '(define ikarus-version "$(PACKAGE_VERSION)")' >$@ |
| 113 |
echo '(define ikarus-revision "$(shell cat $(srcdir)/last-revision)")' >>$@ |
| 114 |
echo '(define ikarus-lib-dir "$(libikarusdir)")' >>$@ |
| 115 |
echo '(define target "$(target)")' >>$@ |
| 116 |
echo '(define wordsize $(sizeofvoidp))' >>$@ |
| 117 |
|
| 118 |
|
| 119 |
CLEANFILES=$(nodist_libikarus_DATA) ikarus.config.ss |
| 120 |
MAINTAINERCLEANFILES=last-revision |
| 121 |
|
| 122 |
ikarus.boot: $(EXTRA_DIST) ikarus.config.ss |
| 123 |
IKARUS_SRC_DIR=$(srcdir) \ |
| 124 |
IKARUS_BUILD_DIR=$(builddir) \ |
| 125 |
IKARUS_FASL_DIRECTORY='' \ |
| 126 |
IKARUS_LIBRARY_PATH=.:$(srcdir):$(srcdir)/../lib \ |
| 127 |
../src/ikarus -b $(srcdir)/ikarus.boot.$(sizeofvoidp).prebuilt \ |
| 128 |
--r6rs-script $(srcdir)/makefile.ss |
| 129 |
|
| 130 |
check: ikarus.boot |
| 131 |
IKARUS_SRC_DIR=$(srcdir) \ |
| 132 |
IKARUS_LIBRARY_PATH=$(srcdir) \ |
| 133 |
../src/ikarus -b ikarus.boot --r6rs-script $(srcdir)/run-tests.ss |