3 # We need to extend flags to the C compiler and the linker
4 # here. sb-posix, sb-grovel, and sb-bsd-sockets depends upon these
5 # being set on x86_64. Setting these in their Makefiles is not
6 # adequate since, while we're building contrib, they can be compiled
7 # directly via ASDF from a non-C-aware module which has these tricky
8 # ones as dependencies.
10 UNAME:=$(shell uname -m)
12 export CC SBCL EXTRA_CFLAGS EXTRA_LDFLAGS
14 all: $(EXTRA_ALL_TARGETS)
16 $(SBCL) --eval '(defvar *system* "$(SYSTEM)")' --load ../asdf-stub.lisp --eval '(quit)'
19 echo "(asdf:operate (quote asdf:load-op) :$(SYSTEM))" \
20 "(asdf:operate (quote asdf:test-op) :$(SYSTEM))" | \
21 $(SBCL) --eval '(load "../asdf/asdf")'
24 install: $(EXTRA_INSTALL_TARGETS)
25 tar cf - . | ( cd $(BUILD_ROOT)$(INSTALL_DIR) && tar xpvf - )