ikarus/scheme/Makefile.am

131 lines
4.5 KiB
Makefile
Raw Normal View History

2007-10-17 22:07:54 -04:00
nodist_pkglib_DATA=ikarus.boot
2007-10-17 22:07:54 -04:00
EXTRA_DIST=ikarus.boot.4.prebuilt ikarus.boot.8.prebuilt last-revision \
ikarus.enumerations.ss run-tests.ss \
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 \
ikarus.compiler.altcogen.ss ikarus.compiler.ss \
ikarus.compiler.source-optimizer.ss ikarus.control.ss \
ikarus.date-string.ss ikarus.fasl.ss ikarus.fasl.write.ss \
ikarus.fixnums.ss ikarus.guardians.ss ikarus.handlers.ss \
ikarus.hash-tables.ss ikarus.intel-assembler.ss \
ikarus.lists.ss ikarus.load.ss ikarus.main.ss \
ikarus.multiple-values.ss ikarus.numerics.ss \
ikarus.pairs.ss ikarus.posix.ss ikarus.predicates.ss \
ikarus.pretty-print.ss ikarus.pretty-formats.ss \
ikarus.promises.ss ikarus.reader.ss \
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.unicode-conversion.ss ikarus.unicode.ss \
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 \
psyntax.internal.ss psyntax.library-manager.ss \
2008-02-14 17:45:15 -05:00
unicode/unicode-char-cases.ss unicode/unicode-charinfo.ss \
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 \
ikarus.io.ss ikarus.time-and-date.ss ikarus.not-yet-implemented.ss \
ikarus.string-to-number.ss ikarus.compiler.source-optimizer.ss \
ikarus.compiler.tag-annotation-analysis.ss ikarus.ontology.ss \
ikarus.reader.annotated.ss ikarus.pointers.ss ikarus.equal.ss \
ikarus.symbol-table.ss ikarus.apropos.ss ikarus.include-src.ss \
ikarus.debugger.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
all: $(nodist_pkglib_DATA)
revno = "$(shell sed 's/ .*//' ../.bzr/branch/last-revision 2>/dev/null)"
$(srcdir)/last-revision: $(shell ls ../.bzr/branch/last-revision 2>/dev/null)
echo $(revno) >$@
sizeofvoidp = $(shell grep SIZEOF_VOID_P ../config.h | sed "s/.*\(.\)/\1/g")
ikarus.config.ss: Makefile last-revision ../config.h
echo '(define ikarus-version "$(PACKAGE_VERSION)")' >$@
echo '(define ikarus-revision "$(shell cat $(srcdir)/last-revision)")' >>$@
echo '(define ikarus-lib-dir "$(pkglibdir)")' >>$@
echo '(define target "$(target)")' >>$@
echo '(define wordsize $(sizeofvoidp))' >>$@
CLEANFILES=$(nodist_pkglib_DATA) ikarus.config.ss
MAINTAINERCLEANFILES=last-revision
ikarus.boot: $(EXTRA_DIST) ikarus.config.ss
IKARUS_SRC_DIR=$(srcdir) \
IKARUS_BUILD_DIR=$(builddir) \
IKARUS_FASL_DIRECTORY='' \
IKARUS_LIBRARY_PATH=$(srcdir):$(srcdir)/../lib \
../src/ikarus -b $(srcdir)/ikarus.boot.$(sizeofvoidp).prebuilt \
--r6rs-script $(srcdir)/makefile.ss
2007-10-17 22:07:54 -04:00
check: ikarus.boot
IKARUS_SRC_DIR=$(srcdir) \
IKARUS_LIBRARY_PATH=$(srcdir) \
../src/ikarus -b ikarus.boot --r6rs-script $(srcdir)/run-tests.ss