;;; crunch.setup -*- Scheme -*- (use make) (make (("crunch-compiler.so" ("crunch-compiler.scm" "primitives.scm") (compile -s -O2 -d1 -J -S crunch-compiler.scm) (compile -s -O2 -d0 crunch-compiler.import.scm)) ("crunch-expander.so" ("crunch-expander.scm") (compile -s -O2 -d1 -J -S crunch-expander.scm) (compile -s -O2 -d0 crunch-expander.import.scm)) ("crunch.so" ("crunch.scm" "crunch-compiler.so" "crunch-expander.so") (compile -s -O2 -d1 -J -S crunch.scm) (compile -s -O2 -d0 crunch.import.scm)) ("chicken-crunch" ("chicken-crunch.scm") (compile -O2 -d0 -b -S chicken-crunch.scm))) '("crunch-expander.so" "crunch-compiler.so" "crunch.so" "chicken-crunch")) (install-extension 'crunch `("crunch.so" "crunch-compiler.so" "crunch-expander.so" "crunch-compiler.import.so" "crunch-expander.import.so" "crunch-syntax.scm" "crunch.import.so" ("crunch.h" ;;XXX actually wrong: "chicken" depends on $PROGRAM_PREFIX/_SUFFIX... ,(make-pathname `(,(installation-prefix) "include" "chicken") "crunch.h"))) '((version "0.7.9999"))) (install-program 'chicken-crunch "chicken-crunch")