X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-bsd-sockets%2FMakefile;h=0cfab33c0b2fafa54e35b1d918d12108a2538526;hb=bb7c5beef3a2c45f0ff99f8038409dc4787aa295;hp=42a6e8e21299d73f4b4dd16d92606e52509a3ec8;hpb=10d2c05ea44ca0837091434fe2223c0c31687615;p=sbcl.git diff --git a/contrib/sb-bsd-sockets/Makefile b/contrib/sb-bsd-sockets/Makefile index 42a6e8e..0cfab33 100644 --- a/contrib/sb-bsd-sockets/Makefile +++ b/contrib/sb-bsd-sockets/Makefile @@ -1,13 +1,18 @@ -SYSTEM=bsd-sockets +SYSTEM=sb-bsd-sockets +CC=gcc +export CC all: $(MAKE) -C ../asdf echo "(asdf:operate 'asdf:load-op :$(SYSTEM))" | \ $(SBCL) --eval '(load "../asdf/asdf")' -test: - true +test: all + echo "(asdf:operate 'asdf:load-op :$(SYSTEM)) \ + (or (rt:do-tests) (error \"test failed, cannot install\"))" | \ + $(SBCL) --eval '(load "../asdf/asdf")' + -install: all +install: tar cf - . | ( cd $(INSTALL_DIR) && tar xpvf - ) ( cd $(SBCL_HOME)/systems && ln -fs ../$(SYSTEM)/$(SYSTEM).asd . )