renumber contribs

This commit is contained in:
Yuichi Nishiwaki 2015-06-20 03:42:56 +09:00
parent 6449731bf4
commit 500113d1bb
78 changed files with 63 additions and 63 deletions

View File

@ -1,2 +0,0 @@
CONTRIB_INITS += callcc
CONTRIB_SRCS += $(wildcard contrib/03.callcc/*.c)

View File

@ -1,24 +0,0 @@
CONTRIB_INITS += r7rs
CONTRIB_SRCS += \
contrib/05.r7rs/src/r7rs.c\
contrib/05.r7rs/src/file.c\
contrib/05.r7rs/src/load.c\
contrib/05.r7rs/src/mutable-string.c\
contrib/05.r7rs/src/system.c\
contrib/05.r7rs/src/time.c
CONTRIB_LIBS += \
contrib/05.r7rs/scheme/base.scm\
contrib/05.r7rs/scheme/cxr.scm\
contrib/05.r7rs/scheme/read.scm\
contrib/05.r7rs/scheme/write.scm\
contrib/05.r7rs/scheme/file.scm\
contrib/05.r7rs/scheme/case-lambda.scm\
contrib/05.r7rs/scheme/lazy.scm\
contrib/05.r7rs/scheme/eval.scm\
contrib/05.r7rs/scheme/inexact.scm\
contrib/05.r7rs/scheme/load.scm\
contrib/05.r7rs/scheme/process-context.scm\
contrib/05.r7rs/scheme/time.scm\
contrib/05.r7rs/scheme/r5rs.scm

View File

@ -0,0 +1,2 @@
CONTRIB_INITS += callcc
CONTRIB_SRCS += $(wildcard contrib/10.callcc/*.c)

View File

@ -1,7 +0,0 @@
CONTRIB_LIBS += $(wildcard contrib/10.optional/piclib/*.scm)
CONTRIB_TESTS += test-optional
test-optional: bin/picrin
for test in `ls contrib/10.optional/t/*.scm`; do \
bin/picrin $$test; \
done

View File

@ -1 +0,0 @@
CONTRIB_LIBS += $(wildcard contrib/10.partcont/piclib/*.scm)

View File

@ -1 +0,0 @@
CONTRIB_LIBS += contrib/10.pretty-print/pretty-print.scm

View File

@ -1,9 +0,0 @@
CONTRIB_LIBS += \
contrib/10.srfi/srfi/1.scm\
contrib/10.srfi/srfi/8.scm\
contrib/10.srfi/srfi/17.scm\
contrib/10.srfi/srfi/26.scm\
contrib/10.srfi/srfi/43.scm\
contrib/10.srfi/srfi/60.scm\
contrib/10.srfi/srfi/95.scm\
contrib/10.srfi/srfi/111.scm

View File

@ -1,7 +0,0 @@
CONTRIB_LIBS += $(wildcard contrib/20.for/piclib/*.scm)
CONTRIB_TESTS += test-for
test-for: bin/picrin
for test in `ls contrib/20.for/t/*.scm`; do \
bin/picrin "$$test"; \
done

24
contrib/20.r7rs/nitro.mk Normal file
View File

@ -0,0 +1,24 @@
CONTRIB_INITS += r7rs
CONTRIB_SRCS += \
contrib/20.r7rs/src/r7rs.c\
contrib/20.r7rs/src/file.c\
contrib/20.r7rs/src/load.c\
contrib/20.r7rs/src/mutable-string.c\
contrib/20.r7rs/src/system.c\
contrib/20.r7rs/src/time.c
CONTRIB_LIBS += \
contrib/20.r7rs/scheme/base.scm\
contrib/20.r7rs/scheme/cxr.scm\
contrib/20.r7rs/scheme/read.scm\
contrib/20.r7rs/scheme/write.scm\
contrib/20.r7rs/scheme/file.scm\
contrib/20.r7rs/scheme/case-lambda.scm\
contrib/20.r7rs/scheme/lazy.scm\
contrib/20.r7rs/scheme/eval.scm\
contrib/20.r7rs/scheme/inexact.scm\
contrib/20.r7rs/scheme/load.scm\
contrib/20.r7rs/scheme/process-context.scm\
contrib/20.r7rs/scheme/time.scm\
contrib/20.r7rs/scheme/r5rs.scm

View File

@ -1,3 +0,0 @@
CONTRIB_LIBS += contrib/20.repl/repl.scm
CONTRIB_SRCS += contrib/20.repl/repl.c
CONTRIB_INITS += repl

View File

@ -1 +0,0 @@
CONTRIB_LIBS += contrib/30.main/main.scm

View File

@ -0,0 +1,7 @@
CONTRIB_LIBS += $(wildcard contrib/30.optional/piclib/*.scm)
CONTRIB_TESTS += test-optional
test-optional: bin/picrin
for test in `ls contrib/30.optional/t/*.scm`; do \
bin/picrin $$test; \
done

View File

@ -0,0 +1 @@
CONTRIB_LIBS += $(wildcard contrib/30.partcont/piclib/*.scm)

View File

@ -0,0 +1 @@
CONTRIB_LIBS += contrib/30.pretty-print/pretty-print.scm

View File

@ -1,8 +1,8 @@
CONTRIB_INITS += random
CONTRIB_SRCS += $(wildcard contrib/10.random/src/*.c)
CONTRIB_SRCS += $(wildcard contrib/30.random/src/*.c)
CONTRIB_TESTS += test-random
test-random: bin/picrin
for test in `ls contrib/10.random/t/*.scm`; do \
for test in `ls contrib/30.random/t/*.scm`; do \
bin/picrin $$test; \
done

View File

@ -1,7 +1,7 @@
libedit_exists := $(shell pkg-config libedit --exists; echo $$?)
ifeq ($(libedit_exists),0)
CONTRIB_SRCS += contrib/10.readline/src/readline.c
CONTRIB_SRCS += contrib/30.readline/src/readline.c
CONTRIB_INITS += readline
CONTRIB_TESTS += test-readline
LDFLAGS += `pkg-config libedit --libs`
@ -11,6 +11,6 @@ contrib/src/readline.o: contrib/src/readline.c
$(CC) $(CFLAGS) -o $@ $< `pkg-config libedit --cflags`
test-readline: bin/picrin
for test in `ls contrib/10.readline/t/*.scm`; do \
for test in `ls contrib/30.readline/t/*.scm`; do \
bin/picrin $$test; \
done

View File

@ -1,8 +1,8 @@
CONTRIB_SRCS += contrib/10.regexp/src/regexp.c
CONTRIB_SRCS += contrib/30.regexp/src/regexp.c
CONTRIB_INITS += regexp
CONTRIB_TESTS += test-regexp
test-regexp: bin/picrin
for test in `ls contrib/10.regexp/t/*.scm`; do \
for test in `ls contrib/30.regexp/t/*.scm`; do \
bin/picrin $$test; \
done

View File

@ -1 +0,0 @@
CONTRIB_LIBS += $(wildcard contrib/40.class/piclib/picrin/*.scm)

9
contrib/40.srfi/nitro.mk Normal file
View File

@ -0,0 +1,9 @@
CONTRIB_LIBS += \
contrib/40.srfi/srfi/1.scm\
contrib/40.srfi/srfi/8.scm\
contrib/40.srfi/srfi/17.scm\
contrib/40.srfi/srfi/26.scm\
contrib/40.srfi/srfi/43.scm\
contrib/40.srfi/srfi/60.scm\
contrib/40.srfi/srfi/95.scm\
contrib/40.srfi/srfi/111.scm

View File

@ -0,0 +1 @@
CONTRIB_LIBS += $(wildcard contrib/50.class/piclib/picrin/*.scm)

7
contrib/50.for/nitro.mk Normal file
View File

@ -0,0 +1,7 @@
CONTRIB_LIBS += $(wildcard contrib/50.for/piclib/*.scm)
CONTRIB_TESTS += test-for
test-for: bin/picrin
for test in `ls contrib/50.for/t/*.scm`; do \
bin/picrin "$$test"; \
done

View File

@ -1 +0,0 @@
CONTRIB_LIBS += $(wildcard contrib/50.protocol/piclib/picrin/*.scm)

3
contrib/60.repl/nitro.mk Normal file
View File

@ -0,0 +1,3 @@
CONTRIB_LIBS += contrib/60.repl/repl.scm
CONTRIB_SRCS += contrib/60.repl/repl.c
CONTRIB_INITS += repl

1
contrib/70.main/nitro.mk Normal file
View File

@ -0,0 +1 @@
CONTRIB_LIBS += contrib/70.main/main.scm

View File

@ -0,0 +1 @@
CONTRIB_LIBS += $(wildcard contrib/80.protocol/piclib/picrin/*.scm)