sbcl.sbcl/contrib/asdf-module.mk
Juho Snellman 095a47764e 0.8.18.15:
Fix a few problems with the AMD64 merge.
	* Fix genesis of double-floats on 32-bit little-endian platforms.
        * Remove Makefile kludge for forcing shared libraries in contribs
          to use the 32-bit mode on AMD64.
        * Remove extra argument to MY-MAKE-WIRED-TN in x86-64/c-call.lisp
          (prevented using CMUCL as host, since it gives a full warning).
        * Add a NEWS entry for the new port.
2005-01-06 18:31:25 +00:00

27 lines
914 B
Makefile

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