Prune old and used stuff from makefiles.
[sbcl.git] / src / runtime / Config.x86-win32
blobf3d8695ac4d8dba15840348020a2294af33f195f
1 # -*- makefile -*- for the C-level run-time support for SBCL
3 # This software is part of the SBCL system. See the README file for
4 # more information.
6 # This software is derived from the CMU CL system, which was
7 # written at Carnegie Mellon University and released into the
8 # public domain. The software is in the public domain and is
9 # provided with absolutely no warranty. See the COPYING and CREDITS
10 # files for more information.
12 TARGET=sbcl.exe
14 ASSEM_SRC = x86-assem.S
15 ARCH_SRC = x86-arch.c
17 OS_SRC = win32-os.c x86-win32-os.c os-common.c pthreads_win32.c
19 # The "--Wl,--export-dynamic" flags are here to help people
20 # experimenting with callbacks from C to SBCL, by allowing linkage to
21 # SBCL src/runtime/*.c symbols from C. Work on this is good, but it's
22 # definitely bleeding edge and not particularly stable. In particular,
23 # not only are the workarounds for the GC relocating Lisp code and
24 # data unstable, but even the basic calling convention might end up
25 # being unstable. Unless you want to do some masochistic maintenance
26 # work when new releases of SBCL come out, please don't try to build
27 # real code on this until a coherent stable interface has been added.
28 # (You *are* encouraged to design and implement a coherent stable
29 # interface, though.:-| As far as I (WHN 2002-05-19) know, no one is
30 # working on one and it would be a nice thing to have.)
31 LINKFLAGS = -Wl,-export-all-symbols -Wl,mswin.def
32 OS_LIBS = -l ws2_32 -ladvapi32
33 ifdef LISP_FEATURE_SB_CORE_COMPRESSION
34   OS_LIBS += -lz
35 endif
37 GC_SRC = gencgc.c
39 CFLAGS = -g -Wall -O3 \
40         -fno-omit-frame-pointer -march=i686 -DWINVER=0x0501 \
41         -D__W32API_USE_DLLIMPORT__ \
42         -mpreferred-stack-boundary=2
43 # We assume Windows ABI 4-byte alignment, but GCC decided to change to
44 # 16-byte alignment
46 CC = gcc
48 # Nothing to do for after-grovel-headers.
49 .PHONY: after-grovel-headers
50 after-grovel-headers: