Permalink
Switch branches/tags
save2011_02_16 release_acl90b21rc5 release_acl90b20_release_point release_acl90b20rc4 release_acl90b19rc3 release_acl90b18rc2 release_acl90b15_release_point release_acl90b15rc1 release_acl90b13t1 release_acl90b11t1 release_acl90b9t1 release_acl90b8t1 release_acl90b6_release_point release_acl90b6rc2 release_acl90b_release_point release_acl90a52rc1 release_acl90a44rc2 release_acl90a43rc1 release_acl90a39 release_acl90a39rc2 release_acl90a32 release_acl90a27 release_acl90a25 release_acl90a24 release_acl90a23 release_acl90a20 release_acl90a18 install-spider_2012-11-29T20-34-03 install-spider_2012-11-14T13-43-28 install-spider_2012-11-14T08-05-32 install-spider_2012-10-30T13-50-49 install-spider_2012-10-12T11-40-36 install-spider_2012-09-18T18-29-59 install-spider_2012-09-12T15-43-10 install-spider_2012-09-12T15-24-10 install-spider_2012-09-12T14-50-31 install-spider_2012-09-06T14-19-49 install-spider_2012-08-28T12-31-12 install-spider_2012-08-27T20-00-25 install-spider_2012-08-27T19-52-01 install-spider_2012-08-27T19-33-52 install-spider_2012-08-22T17-09-50 install-spider_2012-08-21T17-46-52 install-spider_2012-08-17T14-51-58 install-spider_2012-08-08T15-08-02 install-spider_2012-08-08T14-51-20 install-spider_2012-07-23T16-04-01 install-spider_2012-07-18T17-20-52 install-spider_2012-07-12T08-56-47 install-spider_2012-07-05T13-48-05 install-spider_2012-06-21T09-51-57 install-spider_2012-06-06T13-05-15 install-spider_2012-06-05T14-14-49 install-spider_2012-06-04T08-53-44 install-spider_2012-06-04T07-50-26 install-spider_2012-06-03T14-12-55 install-spider_2012-05-31T13-48-36 install-spider_2012-05-30T11-57-41 install-spider_2012-05-21T12-22-17 install-spider_2012-05-16T09-36-52 install-spider_2012-05-11T14-24-54 install-spider_2012-05-11T13-14-50 install-spider_2012-05-11T12-56-55 install-spider_2012-05-11T10-52-54 install-spider_2012-05-11T10-39-51 install-spider_2012-05-11T10-24-19 install-spider_2012-05-11T10-09-34 install-spider_2012-05-11T09-11-17 install-spider_2012-05-10T16-09-49 install-spider_2012-05-10T15-42-21 install-spider_2012-05-08T15-25-39 install-spider_2012-05-07T13-53-30 install-spider_2012-05-07T12-10-19 install-spider_2012-04-13T11-45-09 install-spider_2012-04-02T16-02-14 install-spider_2012-03-29T10-05-37 install-spider_2012-03-27T17-01-57 install-spider_2012-03-22T19-06-00 install-spider_2012-03-21T05-20-21 install-spider_2012-03-13T17-00-15 install-duck_2012-11-29T20-32-40 install-duck_2012-11-15T10-49-25 install-duck_2012-10-30T13-49-28 install-duck_2012-10-12T11-39-14 install-duck_2012-09-18T18-28-40 install-duck_2012-09-12T15-42-08 install-duck_2012-09-12T15-31-13 install-duck_2012-09-12T15-23-04 install-duck_2012-09-12T14-49-24 install-duck_2012-09-06T14-18-29 install-duck_2012-08-28T12-30-03 install-duck_2012-08-27T19-59-23 install-duck_2012-08-27T19-51-02 install-duck_2012-08-27T19-32-52 install-duck_2012-08-22T17-08-59 install-duck_2012-08-21T17-44-57 install-duck_2012-08-17T14-50-34 install-duck_2012-08-08T15-07-05 install-duck_2012-08-08T14-49-51 install-duck_2012-07-23T16-02-40
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
93 lines (72 sloc) 2.39 KB
# On Windows, this makefile requires the use of GNU make from Redhat
# (http://sources.redhat.com/cygwin/).
SHELL = sh
on_windows = $(shell if test -d "c:/"; then echo yes; else echo no; fi)
use_dcl = $(shell if test -f ../dcl.dxl; then echo yes; else echo no; fi)
ifeq ($(use_dcl),yes)
mlisp = ../lisp
image = dcl.dxl
endif
ifeq ($(on_windows),yes)
mlisp ?= "/cygdrive/c/acl82/mlisp.exe"
else
mlisp ?= /fi/cl/8.2/bin/mlisp
endif
image ?= mlisp.dxl
ifeq ($(on_windows),yes)
mlisp += +B +cn +P # +M
endif
mlisp += -I $(image)
# -batch must come before -L, since arguments are evaluated from left to right
mlisp += -batch
build: FORCE
rm -f build.tmp
echo '(setq excl::*break-on-warnings* t)' >> build.tmp
echo '(load "load.cl")' >> build.tmp
echo '(make-aserve.fasl)' >> build.tmp
$(mlisp) -L build.tmp -kill
# Can be used to change the number of parallel test runs:
#NSERVERS = :n 1
test.tmp: FORCE
rm -f test.tmp
echo '(dribble "test.out")' >> test.tmp
echo '(setq excl::*break-on-warnings* t)' >> test.tmp
echo '(setq util.test::*break-on-test-failures* t)' >> test.tmp
echo '(load "load.cl")' >> test.tmp
echo '(setq user::*do-aserve-test* nil)' >> test.tmp
echo '(load "test/t-aserve.cl")' >> test.tmp
test: test.tmp
echo '(time (test-aserve-n :n 1 :exit t))' >> test.tmp
$(mlisp) -L test.tmp -kill
testsmp: test.tmp
echo '(time (test-aserve-n $(NSERVERS) :exit t))' >> test.tmp
$(mlisp) -L test.tmp -kill
stress: test.tmp
echo '(time (test-aserve-n $(NSERVERS) :exit t))' >> test.tmp
../bin/repeat.sh 10 $(mlisp) -L test.tmp -kill
test-from-asdf: FORCE
rm -f build.tmp
echo '(dribble "test.out")' >> build.tmp
echo '(setq excl::*break-on-warnings* t)' >> build.tmp
echo '(require :tester)' >> build.tmp
echo '(setq util.test::*break-on-test-failures* t)' >> build.tmp
echo '(require :asdf)' >> build.tmp
echo "(asdf:operate 'asdf:load-op :aserve)" >> build.tmp
echo '(time (load "test/t-aserve.cl"))' >> build.tmp
echo '(exit util.test::*test-errors*)' >> build.tmp
$(mlisp) -L build.tmp -kill
srcdist: FORCE
rm -f build.tmp
echo '(setq excl::*break-on-warnings* t)' >> build.tmp
echo '(load "load.cl")' >> build.tmp
echo '(make-src-distribution "aserve")' >> build.tmp
$(mlisp) -L build.tmp -kill
clean: FORCE
rm -f *.tmp *.gz
find . -name '*.fasl' -print | xargs rm -f
cleanall distclean: clean
rm -fr aserve-src
tags: FORCE
rm -f TAGS
find . -name '*.cl' -print | xargs etags -a
FORCE: