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
|
|
|
|
2008-07-20 17:09:04 -04:00
|
|
|
EXTRA_DIST=ikarus.boot.4.prebuilt ikarus.boot.8.prebuilt \
|
|
|
|
ikarus.enumerations.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 \
|
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 \
|
|
|
|
ikarus.symbol-table.ss
|
2007-12-10 07:28:03 -05:00
|
|
|
|
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)"
|
|
|
|
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)")' >$@
|
2007-11-21 00:59:05 -05:00
|
|
|
echo '(define ikarus-revision "$(shell cat 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
|
|
|
|
2007-11-18 22:46:00 -05:00
|
|
|
ikarus.boot: $(EXTRA_DIST) ikarus.config.ss
|
2008-07-20 17:09:04 -04:00
|
|
|
../src/ikarus -b ./ikarus.boot.$(sizeofvoidp).prebuilt --r6rs-script makefile.ss
|
2007-10-17 22:07:54 -04:00
|
|
|
|
2008-10-31 16:55:43 -04:00
|
|
|
check: ikarus.boot
|
|
|
|
../src/ikarus -b ikarus.boot --r6rs-script run-tests.ss
|