%other-pointer-widetag derive-type: derive for simple-array.
[sbcl.git] / src / runtime / Config.ppc-darwin
blob5611dd376bf25f6df6d93fd4dc607e27bcc62744
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 CFLAGS = -arch ppc -g -Wall -O2 -fdollars-in-identifiers -D_XOPEN_SOURCE
13 DEPEND_FLAGS += -D_XOPEN_SOURCE
14 LINKFLAGS = -arch ppc
16 ifdef SBCL_MACOSX_VERSION_MIN
17   CFLAGS += -mmacosx-version-min=$(SBCL_MACOSX_VERSION_MIN)
18   LINKFLAGS += -mmacosx-version-min=$(SBCL_MACOSX_VERSION_MIN)
19 else
20   ifdef LISP_FEATURE_DARWIN9_OR_BETTER
21     CFLAGS += -mmacosx-version-min=10.5
22     LINKFLAGS += -mmacosx-version-min=10.5
23   else
24     CFLAGS += -mmacosx-version-min=10.4
25     LINKFLAGS += -mmacosx-version-min=10.4
26   endif
27 endif
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
33   OS_LIBS += -lzstd
34 endif
36 ASSEM_SRC = ppc-assem.S
37 ARCH_SRC = ppc-arch.c
39 GC_SRC = fullcgc.c gencgc.c traceroot.c
41 ifdef LISP_FEATURE_SB_LINKABLE_RUNTIME
42   LIBSBCL = libsbcl.a
43   USE_LIBSBCL = -Wl,-force_load libsbcl.a
44 endif
46 ifdef LISP_FEATURE_SB_THREAD
47   OS_LIBS += -lpthread
48 endif