tabgen {
name = "ctype_tab",
- srcs = { "./ctype/char.tab" }
+ srcs = { "./pure/ctype/char.tab" }
}
normalrule {
name = "ctype_files",
- ins = { "./ctype/genfiles" },
+ ins = { "./pure/ctype/genfiles" },
outleaves = {
"isalnum.c",
"isalpha.c",
"./pure/setjmp/*.e",
"./pure/math/*.c", -- hypot.c
"./pure/math/*.e",
- "./ctype/*.c",
+ "./pure/ctype/*.c",
"./errno/*.c",
"./malloc/*.c",
"./misc/environ.c", -- don't build everything here as it's all obsolete
+++ /dev/null
-clean:
- rm -f isalnum.o isalpha.o iscntrl.o isdigit.o isgraph.o \
- islower.o isprint.o ispunct.o isspace.o isupper.o \
- isxdigit.o isascii.o tolower.o toupper.o chartab.o \
- isalnum.c isalpha.c iscntrl.c isdigit.c isgraph.c \
- islower.c isprint.c ispunct.c isspace.c isupper.c \
- isxdigit.c isascii.c chartab.c \
- OLIST
-
-chartab.c: char.tab
- tabgen -fchar.tab > chartab.c
-
-isalnum.c isalpha.c iscntrl.c isdigit.c isgraph.c islower.c isprint.c \
-ispunct.c isspace.c isupper.c isxdigit.c isascii.c: genfiles
- sh genfiles