Commit fc050f7c authored by Erick Gallesio's avatar Erick Gallesio

NOP

parent d76d4db7
......@@ -2,10 +2,12 @@
#
# Author: Erick Gallesio [eg@unice.fr]
# Creation date: 11-Apr-2000 10:30 (eg)
# Last file update: 26-Apr-2007 18:44 (eg)
# Last file update: 5-May-2007 21:00 (eg)
SUBDIRS = Match.d SILex.d Lalr.d ScmPkg.d @LURCDIR@
SFLAGS=
scheme_BOOT = assembler.stk \
bb.stk \
bonus.stk \
......@@ -132,13 +134,13 @@ boot: ../src/boot.img
../src/stklos -q -c -b ../src/boot.img -f bb.stk boot.img0 instr0)
@echo "*** Boot 1"; \
(export STKLOS_BUILDING=1; \
../src/stklos -q -c -b ./boot.img0 -f bb.stk boot.img1 instr1)
../src/stklos $(SFLAGS) -q -c -b ./boot.img0 -f bb.stk boot.img1 instr1)
@echo "*** Boot 2"; \
(export STKLOS_BUILDING=1; \
../src/stklos -q -c -b ./boot.img1 -f bb.stk boot.img2 instr2)
../src/stklos $(SFLAGS) -q -c -b ./boot.img1 -f bb.stk boot.img2 instr2)
@echo "*** Boot 3"; \
(export STKLOS_BUILDING=1; \
../src/stklos -q -c -b ./boot.img2 -f bb.stk boot.img3 instr3)
../src/stklos $(SFLAGS) -q -c -b ./boot.img2 -f bb.stk boot.img3 instr3)
@if cmp ./boot.img2 ./boot.img3 ;then \
echo "*** New boot file created"; \
cp ../src/boot.img ../src/boot.ok; \
......@@ -146,7 +148,7 @@ boot: ../src/boot.img
cp ./instr3 ../src/vm-instr.h; \
echo "*** Create new boot.c"; \
(export STKLOS_BUILDING=1; \
../src/stklos -q -c -b ../src/boot.img \
../src/stklos $(SFLAGS) -q -c -b ../src/boot.img \
-f make-C-boot.stk -- boot.img3 ../src/boot.c); \
echo "*** Recompile STklos"; \
(cd ../src; make stklos); \
......
......@@ -18,7 +18,7 @@
#
# Author: Erick Gallesio [eg@unice.fr]
# Creation date: 11-Apr-2000 10:30 (eg)
# Last file update: 26-Apr-2007 18:44 (eg)
# Last file update: 5-May-2007 21:00 (eg)
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
......@@ -197,6 +197,7 @@ target_alias = @target_alias@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
SUBDIRS = Match.d SILex.d Lalr.d ScmPkg.d @LURCDIR@
SFLAGS =
scheme_BOOT = assembler.stk \
bb.stk \
bonus.stk \
......@@ -647,13 +648,13 @@ boot: ../src/boot.img
../src/stklos -q -c -b ../src/boot.img -f bb.stk boot.img0 instr0)
@echo "*** Boot 1"; \
(export STKLOS_BUILDING=1; \
../src/stklos -q -c -b ./boot.img0 -f bb.stk boot.img1 instr1)
../src/stklos $(SFLAGS) -q -c -b ./boot.img0 -f bb.stk boot.img1 instr1)
@echo "*** Boot 2"; \
(export STKLOS_BUILDING=1; \
../src/stklos -q -c -b ./boot.img1 -f bb.stk boot.img2 instr2)
../src/stklos $(SFLAGS) -q -c -b ./boot.img1 -f bb.stk boot.img2 instr2)
@echo "*** Boot 3"; \
(export STKLOS_BUILDING=1; \
../src/stklos -q -c -b ./boot.img2 -f bb.stk boot.img3 instr3)
../src/stklos $(SFLAGS) -q -c -b ./boot.img2 -f bb.stk boot.img3 instr3)
@if cmp ./boot.img2 ./boot.img3 ;then \
echo "*** New boot file created"; \
cp ../src/boot.img ../src/boot.ok; \
......@@ -661,7 +662,7 @@ boot: ../src/boot.img
cp ./instr3 ../src/vm-instr.h; \
echo "*** Create new boot.c"; \
(export STKLOS_BUILDING=1; \
../src/stklos -q -c -b ../src/boot.img \
../src/stklos $(SFLAGS) -q -c -b ../src/boot.img \
-f make-C-boot.stk -- boot.img3 ../src/boot.c); \
echo "*** Recompile STklos"; \
(cd ../src; make stklos); \
......
......@@ -21,7 +21,7 @@
;;;;
;;;; Author: Erick Gallesio [eg@essi.fr]
;;;; Creation date: 7-Feb-2007 13:39 (eg)
;;;; Last file update: 6-Apr-2007 16:41 (eg)
;;;; Last file update: 5-May-2007 20:19 (eg)
;;;;
(define *scmpkg-languages*
......@@ -34,6 +34,8 @@
(gambit :suffix "scm")
;; ScmPkg
(scmpkg :suffix "scm")
;; MzScheme
(mzscheme :suffix "ss")
;; R5RS (the default)
(r5rs :suffix "scm")
;; R6RS
......
......@@ -21,7 +21,7 @@
;;;;
;;;; Author: Erick Gallesio [eg@unice.fr]
;;;; Creation date: 17-May-2000 14:55 (eg)
;;;; Last file update: 26-Apr-2007 16:37 (eg)
;;;; Last file update: 5-May-2007 20:12 (eg)
;;;;
......@@ -298,7 +298,7 @@ doc>
(let ((provided '())
(stklos-building? (getenv "STKLOS_BUILDING")))
(set! %%require (lambda (what :optional lib-only?)
(set! %%require (lambda (what lib-only?)
(when stklos-building?
;; When building STklos, require-library == require.
;; Otherwise, we need an already installed STklos
......
# Makefile for stklos-pkgman
# Author: Erick Gallesio [eg@essi.fr]
# Creation date: 22-Dec-2006 12:00 (eg)
# Last file update: 12-Apr-2007 12:03 (eg)
# Last file update: 5-May-2007 18:52 (eg)
makefiledir= $(prefix)/etc/stklos
......@@ -9,8 +9,8 @@ makefile_DATA= etc/Makefile-scmpkg.tmpl
bin_SCRIPTS = stklos-pkg
LEX = lang-bigloo.l
LEXOBJS = lang-bigloo.inc
LEX = lang-bigloo.l lang-chicken.l lang-mzscheme.l
LEXOBJS = lang-bigloo.inc lang-chicken.inc lang-mzscheme.inc
SRC = main.stk add.stk extract.stk http.stk lang.stk lang-bigloo.stk \
params.stk pkgball.stk \
......@@ -22,6 +22,12 @@ SCC = ../utils/stklos-compile
lang-bigloo.inc: lang-bigloo.l
stklos-genlex lang-bigloo.l lang-bigloo.inc lang-bigloo
lang-chicken.inc: lang-chicken.l
stklos-genlex lang-chicken.l lang-chicken.inc lang-chicken
lang-mzscheme.inc: lang-mzscheme.l
stklos-genlex lang-mzscheme.l lang-mzscheme.inc lang-mzscheme
$(bin_SCRIPTS): $(LEXOBJS) $(SRC)
../utils/tmpcomp main.stk $(bin_SCRIPTS)
......
......@@ -17,7 +17,7 @@
# Makefile for stklos-pkgman
# Author: Erick Gallesio [eg@essi.fr]
# Creation date: 22-Dec-2006 12:00 (eg)
# Last file update: 12-Apr-2007 12:03 (eg)
# Last file update: 5-May-2007 18:52 (eg)
VPATH = @srcdir@
......@@ -188,8 +188,8 @@ top_srcdir = @top_srcdir@
makefiledir = $(prefix)/etc/stklos
makefile_DATA = etc/Makefile-scmpkg.tmpl
bin_SCRIPTS = stklos-pkg
LEX = lang-bigloo.l
LEXOBJS = lang-bigloo.inc
LEX = lang-bigloo.l lang-chicken.l lang-mzscheme.l
LEXOBJS = lang-bigloo.inc lang-chicken.inc lang-mzscheme.inc
SRC = main.stk add.stk extract.stk http.stk lang.stk lang-bigloo.stk \
params.stk pkgball.stk \
repository.stk rewrite.stk misc.stk tune.stk types.stk
......@@ -397,6 +397,12 @@ uninstall-am: uninstall-binSCRIPTS uninstall-makefileDATA
lang-bigloo.inc: lang-bigloo.l
stklos-genlex lang-bigloo.l lang-bigloo.inc lang-bigloo
lang-chicken.inc: lang-chicken.l
stklos-genlex lang-chicken.l lang-chicken.inc lang-chicken
lang-mzscheme.inc: lang-mzscheme.l
stklos-genlex lang-mzscheme.l lang-mzscheme.inc lang-mzscheme
$(bin_SCRIPTS): $(LEXOBJS) $(SRC)
../utils/tmpcomp main.stk $(bin_SCRIPTS)
# $(SCC) $(SFLAGS) -o $(bin_SCRIPTS) main.stk
......
......@@ -21,7 +21,7 @@
;;;;
;;;; Author: Erick Gallesio [eg@essi.fr]
;;;; Creation date: 21-Mar-2007 14:31 (eg)
;;;; Last file update: 11-Apr-2007 08:32 (eg)
;;;; Last file update: 5-May-2007 18:50 (eg)
;;;;
......@@ -33,12 +33,13 @@
;;;
;;; Chicken
;;;
(add-rewriter! 'chicken void)
(include "lang-chicken.stk")
;;;
;;; Gambit
;;;
(add-rewriter! 'gambit void)
(include "lang-chicken.stk")
;;;
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment