34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
-
+
|
# BASH_MACHTYPE=$(shell bash -c "echo \$$MACHTYPE")
# ARCHSTR=$(BASH_MACHTYPE)_$(shell lsb_release -sr)
ARCHSTR=$(shell lsb_release -sr)
# ARCHSTR=$(shell bash -c "echo \$$MACHTYPE")
all : $(PREFIX)/bin/.$(ARCHSTR) mtest dboard
mtest: $(OFILES) megatest.o
mtest: $(OFILES) megatest.o readline-fix.scm
csc $(CSCOPTS) $(OFILES) megatest.o -o mtest
dboard : $(OFILES) $(GOFILES) dashboard.scm
csc $(OFILES) dashboard.scm $(GOFILES) -o dboard
odboard : olddashboard.scm $(OFILES) $(GOFILES)
csc $(OFILES) $(GOFILES) olddashboard.scm -o odboard
|
190
191
192
193
194
195
196
|
190
191
192
193
194
195
196
197
198
199
200
201
202
203
|
+
+
+
+
+
+
+
|
sd : datashare-testing/sd
mkdir -p /tmp/$(USER)/datashare/disk1 /tmp/$(USER)/basepath
xterm : sd
(export BASEPATH=/tmp/$(USER)/basepath ; export PATH="$(PWD)/datashare-testing:$(PATH)" ; xterm &)
# "(define (toplevel-command . a) #f)"
readline-fix.scm :
if egrep 'version.*3.0' $(shell dirname $(shell dirname $(shell which csi)))/lib/chicken/7/readline.setup-info;then \
echo "(use-legacy-bindings)" > readline-fix.scm; \
else \
echo "" > readline-fix.scm;\
fi
|