e77fc0310d28bf92db715b712b47b3429a05ff5d
[sbcl.git] / contrib / sb-rotate-byte / Makefile
1 # FIXME I: This is more-or-less an exact copy of sb-bsd-sockets's
2 # Makefile.  Maybe we should have a vanilla-asdf-module.mk?
3 #
4 # FIXME II: The thing that is preventing this is the use of RT as a
5 # regression tester... since we ask that modules do regression tests,
6 # maybe we should provide a regression test framework (in SB-RT, perhaps)?
7
8 SYSTEM=sb-rotate-byte
9
10 all: 
11         $(MAKE) -C ../asdf
12         echo "(asdf:operate 'asdf:load-op :$(SYSTEM))" | \
13           $(SBCL) --eval '(load "../asdf/asdf")'
14
15 test: all
16         echo "(asdf:operate 'asdf:load-op :$(SYSTEM)) \
17               (load (compile-file \"rotate-byte-tests.lisp\"))" | \
18           $(SBCL) --eval '(load "../asdf/asdf")'
19
20
21 install:
22         tar cf - . | ( cd $(INSTALL_DIR) && tar xpvf - )
23         ( cd  $(SBCL_HOME)/systems && ln -fs ../$(SYSTEM)/$(SYSTEM).asd . )