X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FConfig.ppc-darwin;h=8b08336f4d393a3edb6fb170e7e0c890a1b9900c;hb=c8617f57d0413beb2890e94dabe227cef9c5ddad;hp=7f66fd4a2031096abc462e5e32e7e93c51f0e453;hpb=506253505641855dc8bb87033f7af894904f848b;p=sbcl.git diff --git a/src/runtime/Config.ppc-darwin b/src/runtime/Config.ppc-darwin index 7f66fd4..8b08336 100644 --- a/src/runtime/Config.ppc-darwin +++ b/src/runtime/Config.ppc-darwin @@ -1,19 +1,38 @@ -# -*- makefile -*- -CFLAGS = -ggdb -Wall -O3 -traditional-cpp -OS_SRC = bsd-os.c os-common.c ppc-darwin-os.c -OS_LIBS = -lSystem -lc -lm /sw/lib/libdl.a +# -*- makefile -*- for the C-level run-time support for SBCL + +# This software is part of the SBCL system. See the README file for +# more information. +# +# This software is derived from the CMU CL system, which was +# written at Carnegie Mellon University and released into the +# public domain. The software is in the public domain and is +# provided with absolutely no warranty. See the COPYING and CREDITS +# files for more information. + +CFLAGS = -g -Wall -O2 -fdollars-in-identifiers -mmacosx-version-min=10.4 +LINKFLAGS += -mmacosx-version-min=10.4 + +OS_SRC = bsd-os.c darwin-os.c ppc-darwin-os.c + +OS_LIBS = -lSystem -lc +ifdef LISP_FEATURE_SB_CORE_COMPRESSION + OS_LIBS += -lz +endif + +CC = gcc ASSEM_SRC = ppc-assem.S ldso-stubs.S ARCH_SRC = ppc-arch.c -CPP = cpp -traditional-cpp +CPPFLAGS += -no-cpp-precomp -# Until sbcl-0.6.7.3, we used "OS_LINK_FLAGS=-static" here, which -# worked fine for most things, but LOAD-FOREIGN & friends require -# dlopen() etc., which in turn depend on dynamic linking of the -# runtime. -OS_LINK_FLAGS = -dynamic -L/sw/lib +ifdef LISP_FEATURE_GENCGC + GC_SRC = gencgc.c +else + GC_SRC = cheneygc.c +endif -GC_SRC= cheneygc.c +.PHONY: after-grovel-headers -CFLAGS=-DDARWIN -Dppc -g -traditional-cpp +# Nothing to do. +after-grovel-headers: