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 ppc -g -Wall -O2 -fdollars-in-identifiers -D_XOPEN_SOURCE
13 DEPEND_FLAGS += -D_XOPEN_SOURCE
16 ifdef SBCL_MACOSX_VERSION_MIN
17 CFLAGS += -mmacosx-version-min=$(SBCL_MACOSX_VERSION_MIN)
18 LINKFLAGS += -mmacosx-version-min=$(SBCL_MACOSX_VERSION_MIN)
20 ifdef LISP_FEATURE_DARWIN9_OR_BETTER
21 CFLAGS += -mmacosx-version-min=10.5
22 LINKFLAGS += -mmacosx-version-min=10.5
24 CFLAGS += -mmacosx-version-min=10.4
25 LINKFLAGS += -mmacosx-version-min=10.4
29 OS_SRC = bsd-os.c darwin-os.c ppc-darwin-os.c
31 OS_LIBS = -lSystem -lc
32 ifdef LISP_FEATURE_SB_CORE_COMPRESSION
36 ASSEM_SRC = ppc-assem.S
39 GC_SRC = fullcgc.c gencgc.c traceroot.c
41 ifdef LISP_FEATURE_SB_LINKABLE_RUNTIME
43 USE_LIBSBCL = -Wl,-force_load libsbcl.a
46 ifdef LISP_FEATURE_SB_THREAD