1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00

Create 'srfi-14.i.c' during build.

* libguile/srfi-14.i.c: Delete file.
* libguile/UnicodeData.txt: New file.
* libguile/unidata_to_charset.awk: Skip comments.
* libguile/Makefile.am (EXTRA_DIST): Add 'UnicodeData.txt'.
(srfi-14.i.c): New rule.
(noinst_HEADERS): Remove 'srfi-14.i.c'.
(BUILT_INCLUDES, CLEANFILES): Add 'srfi-14.i.c'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Timothy Sample 2022-03-19 10:23:01 -06:00 committed by Ludovic Courtès
parent 63886aeda2
commit 9f8e05e513
4 changed files with 34674 additions and 5190 deletions

View file

@ -462,7 +462,10 @@ vm-operations.h: vm-engine.c
| sed -e 's,VM_DEFINE_OP (\(.*\)).*, M (\1) \\,' >> $@
@echo '' >> $@
BUILT_INCLUDES = vm-operations.h scmconfig.h libpath.h
srfi-14.i.c: UnicodeData.txt unidata_to_charset.awk
$(AM_V_GEN)$(AWK) -f unidata_to_charset.awk < "$<" > "$@"
BUILT_INCLUDES = vm-operations.h scmconfig.h libpath.h srfi-14.i.c
BUILT_SOURCES = cpp-E.c cpp-SIG.c $(BUILT_INCLUDES) \
$(DOT_X_FILES) $(EXTRA_DOT_X_FILES)
@ -530,7 +533,6 @@ uninstall-hook:
noinst_HEADERS = elf.h \
integers.h \
intrinsics.h \
srfi-14.i.c \
quicksort.i.c \
atomics-internal.h \
cache-internal.h \
@ -728,7 +730,8 @@ EXTRA_DIST = ChangeLog-scm ChangeLog-threads \
guile-func-name-check \
cpp-E.syms cpp-E.c cpp-SIG.syms cpp-SIG.c \
c-tokenize.lex \
scmconfig.h.top libgettext.h unidata_to_charset.awk libguile.map \
scmconfig.h.top libgettext.h libguile.map \
unidata_to_charset.awk UnicodeData.txt \
vm-operations.h libguile-@GUILE_EFFECTIVE_VERSION@-gdb.scm \
$(lightening_c_files) $(lightening_extra_files)
# $(DOT_DOC_FILES) $(EXTRA_DOT_DOC_FILES) \
@ -915,6 +918,7 @@ chknew-E chknew-SIG:
MOSTLYCLEANFILES = \
scmconfig.h scmconfig.h.tmp
CLEANFILES = libpath.h *.x *.doc guile-procedures.txt guile-procedures.texi guile.texi
CLEANFILES = libpath.h *.x *.doc srfi-14.i.c guile-procedures.txt \
guile-procedures.texi guile.texi
MAINTAINERCLEANFILES = c-tokenize.c

34658
libguile/UnicodeData.txt Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -100,6 +100,14 @@ BEGIN {
}
}
# Comments
##########
# Skip comments so we can include a copyright notice in the data file.
/^#/ {
next;
}
# Record initialization
#######################