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
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 CFLAGS = -arch i386 -g -Wall -O2 -fdollars-in-identifiers -fno-omit-frame-pointer
13 LINKFLAGS += -arch i386
14 ifdef LISP_FEATURE_DARWIN9_OR_BETTER
15 CFLAGS += -mmacosx-version-min=10.5
16 LINKFLAGS += -mmacosx-version-min=10.5
18 CFLAGS += -mmacosx-version-min=10.4
19 LINKFLAGS += -mmacosx-version-min=10.4
22 OS_SRC = bsd-os.c x86-bsd-os.c darwin-os.c x86-darwin-os.c
24 OS_LIBS = -lSystem -lc -ldl
25 ifdef LISP_FEATURE_SB_THREAD
28 ifdef LISP_FEATURE_SB_CORE_COMPRESSION
34 ASSEM_SRC = x86-assem.S ldso-stubs.S
37 CPPFLAGS += -no-cpp-precomp
41 .PHONY: after-grovel-headers