1 # This software is part of the SBCL system. See the README file for
4 # This software is derived from the CMU CL system, which was
5 # written at Carnegie Mellon University and released into the
6 # public domain. The software is in the public domain and is
7 # provided with absolutely no warranty. See the COPYING and CREDITS
8 # files for more information.
12 ASSEM_SRC = x86-64-assem.S
13 ARCH_SRC = x86-64-arch.c
15 OS_SRC = win32-os.c x86-64-win32-os.c
17 ifdef LISP_FEATURE_SB_THREAD
18 OS_SRC += pthreads_win32.c
21 ifdef LISP_FEATURE_SB_LINKABLE_RUNTIME
23 USE_LIBSBCL = -Wl,--whole-archive libsbcl.a -Wl,--no-whole-archive
26 # The "--Wl,--export-dynamic" flags are here to help people
27 # experimenting with callbacks from C to SBCL, by allowing linkage to
28 # SBCL src/runtime/*.c symbols from C. Work on this is good, but it's
29 # definitely bleeding edge and not particularly stable. In particular,
30 # not only are the workarounds for the GC relocating Lisp code and
31 # data unstable, but even the basic calling convention might end up
32 # being unstable. Unless you want to do some masochistic maintenance
33 # work when new releases of SBCL come out, please don't try to build
34 # real code on this until a coherent stable interface has been added.
35 # (You *are* encouraged to design and implement a coherent stable
36 # interface, though.:-| As far as I (WHN 2002-05-19) know, no one is
37 # working on one and it would be a nice thing to have.)
38 LINKFLAGS = -Wl,-export-all-symbols
39 LIBSBCL += mswin64.def mswin.def
40 USE_LIBSBCL += -Wl,mswin64.def -Wl,mswin.def
43 OS_LIBS = -l ws2_32 -ladvapi32
44 ifdef LISP_FEATURE_SB_CORE_COMPRESSION
48 GC_SRC = fullcgc.c gencgc.c traceroot.c
50 CFLAGS = -g -W -Wall \
51 -Wno-unused-function \
52 -fno-omit-frame-pointer \
53 -O5 -m64 -DWINVER=0x0501 \
54 -D__W32API_USE_DLLIMPORT__
58 # Nothing to do for after-grovel-headers.
59 .PHONY: after-grovel-headers