9f56b8b102
* module/language/c99/compiler.mes (c99-input->full-ast): Remove obsolete __NYACC__ and MES_FULL defines. * src/mes.c [!MES_FULL]: Include reader-mes.h. (mes_builtins) [!MES_FULL]: Include reader.mes.i, reader.me.environment.i. [!MES_FULL]: Include reader.c. (main) [!MES_FULL]: By default call load_env, only call bload_env when --load is supplied. WAS: Always bload read-0-32.mo. * src/reader.c (__end_of__mes_): Remove. (dump): Remove option of dumping tiny test program. * make/mescc-mes.make ($(OUT)/$(TARGET), mescc.mes-ccompile, mescc.mes.c-compile-E): Depend on $(OUT)/mes, scripts/mes. * src/src.make (mes.guile): Remove module/mes/read-32-0 dependency. Do not build $(OUT)/mes.mes. * module/module.make (module/mes/read-0.mo, module/mes/read-0-32.mo, module/mes/tiny-0-32.mo): Remove targets. (CLEAN): Do not add them. Neither install $(OUT)/mes.mes. * .gitignore: Remove exceptions for them. * make/install.make (install): Do not install them. * HACKING: Update info about creating module/mes/read-32-0.mo. * scaffold/mini-mes.c: Remove. * scaffold/tiny-mes.c: Remove. * scaffold/cons-mes.c: Remove. * scaffold/scaffold.make (tiny-mes.libc, tiny-mes.guile, tiny-mes.mes, mini-mes.libc, mini-mes.guile, mini-mes.mes): Reemove targets.
22 lines
921 B
Makefile
22 lines
921 B
Makefile
MES_FILES:=$(shell $(GIT_LS_FILES) module/*.mes)
|
|
SCM_FILES:=$(shell $(GIT_LS_FILES) module/language/ module/nyacc/ module/mes/)
|
|
SCM_FILES:=$(filter %.scm, $(SCM_FILES))
|
|
SCM_FILES:=$(filter-out %match.scm, $(SCM_FILES))
|
|
SCM_FILES:=$(filter-out %mes/lalr.scm, $(SCM_FILES))
|
|
SCM_FILES:=$(filter-out %optargs.scm, $(SCM_FILES))
|
|
SCM_FILES:=$(filter-out %pretty-print.scm, $(SCM_FILES))
|
|
SCM_FILES:=$(filter-out %syntax.scm, $(SCM_FILES))
|
|
SCM_FILES:=$(filter-out module/mes/peg/%.scm, $(SCM_FILES))
|
|
include make/guile.make
|
|
|
|
# FIXME: https://gitlab.com/janneke/guile/commits/1.8
|
|
# Include patches here
|
|
GUILE_GIT:=../guile-1.8
|
|
GUILE_COMMIT:=ba8a7097699f69b206c9f28c546fa6da88b8656f
|
|
psyntax-import: module/mes/psyntax.ss module/mes/psyntax.pp
|
|
|
|
module/mes/psyntax.%: $(GUILE_GIT)/ice-9/psyntax.%
|
|
git --git-dir=$(GUILE_GIT)/.git --work-tree=$(GUILE_GIT) show $(GUILE_COMMIT):ice-9/$(@F > $@
|
|
|
|
MAINTAINER-CLEAN+=module/mes/psyntax.pp
|