Commit 2af1d3b5 authored by Erick Gallesio's avatar Erick Gallesio

Code adaptation for Win32

parent 9adf9f43
......@@ -13,8 +13,8 @@
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],,
[m4_warning([this file was generated for autoconf 2.67.
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
[m4_warning([this file was generated for autoconf 2.68.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.])])
......
This diff is collapsed.
......@@ -42,7 +42,7 @@ subdir = doc
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
$(srcdir)/stklos-compile.1.in $(srcdir)/stklos-config.1.in \
$(srcdir)/stklos-genlex.1.in $(srcdir)/stklos-pkg.1.in \
$(srcdir)/stklos.1.in TODO
$(srcdir)/stklos.1.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
......
......@@ -18,21 +18,21 @@ SRC = ../lib/http.stk \
repository.stk rewrite.stk misc.stk tune.stk types.stk
SFLAGS =
RM = /bin/rm
SCC = ../utils/stklos-compile
COMP = ../utils/tmpcomp
GENLEX = ../utils/tmpgenlex
lang-bigloo.inc: lang-bigloo.l
stklos-genlex lang-bigloo.l lang-bigloo.inc lang-bigloo
$(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
$(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
$(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
$(COMP) main.stk $(bin_SCRIPTS)
clean:
$(RM) -f $(bin_SCRIPTS) *~
......
......@@ -217,7 +217,8 @@ SRC = ../lib/http.stk \
SFLAGS =
RM = /bin/rm
SCC = ../utils/stklos-compile
COMP = ../utils/tmpcomp
GENLEX = ../utils/tmpgenlex
all: all-am
.SUFFIXES:
......@@ -452,17 +453,16 @@ uninstall-am: uninstall-binSCRIPTS uninstall-makefileDATA
lang-bigloo.inc: lang-bigloo.l
stklos-genlex lang-bigloo.l lang-bigloo.inc lang-bigloo
$(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
$(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
$(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
$(COMP) main.stk $(bin_SCRIPTS)
clean:
$(RM) -f $(bin_SCRIPTS) *~
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -42,7 +42,7 @@ POST_UNINSTALL = :
bin_PROGRAMS = stklos$(EXEEXT)
subdir = src
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
$(srcdir)/extraconf.h.in $(srcdir)/stklosconf.h.in TODO
$(srcdir)/extraconf.h.in $(srcdir)/stklosconf.h.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
......
......@@ -24,7 +24,7 @@
;;;; Last file update: 2-Jun-2007 10:38 (eg)
;;;;
(require "pp")
(include "../lib/SILex.d/silex.scm")
(define *runtime-file* "lex-rt")
......
#!/bin/sh
#
# tmpgenlex -- A temporary script used when bootstraping the system
#
# Copyright © 2011 Erick Gallesio - I3S-CNRS/ESSI <eg@unice.fr>
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
# USA.
#
# Author: Erick Gallesio [eg@unice.fr]
# Creation date: 1-Jan-2002 18:57 (eg)
# Last file update: 26-Apr-2007 16:15 (eg)
#
STKLOS_LOAD_PATH="../lib"
export STKLOS_LOAD_PATH
../src/stklos -c -q -b ../src/boot.img -f ../utils/stklos-genlex -- $*
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