X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FConfig.ppc-darwin;h=8b08336f4d393a3edb6fb170e7e0c890a1b9900c;hb=bf40ae88bc289fd765a33861cc4bc0853ed483ba;hp=a208c5d11f9758fbcff1cd037bd3a572b8b28fa6;hpb=b7cfa0e5e726c2037ba2c6cb32406ff7e9764dd2;p=sbcl.git diff --git a/src/runtime/Config.ppc-darwin b/src/runtime/Config.ppc-darwin index a208c5d..8b08336 100644 --- a/src/runtime/Config.ppc-darwin +++ b/src/runtime/Config.ppc-darwin @@ -1,17 +1,38 @@ -# -*- makefile -*- -CFLAGS = -DDARWIN -Dppc -g -Wall -O3 -no-cpp-precomp -OS_SRC = bsd-os.c os-common.c ppc-darwin-os.c ppc-darwin-dlshim.c -OS_LIBS = -lSystem -lc -lm +# -*- makefile -*- for the C-level run-time support for SBCL -# Avoid the dreaded gcc 3.3 prerelease tarpit of death! -CC = gcc3 +# 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 -no-cpp-precomp +CPPFLAGS += -no-cpp-precomp -OS_LINK_FLAGS = -dynamic -L$(HOME)/local/lib -L/sw/lib -L/opt/local/lib -L/usr/local/lib +ifdef LISP_FEATURE_GENCGC + GC_SRC = gencgc.c +else + GC_SRC = cheneygc.c +endif -GC_SRC= cheneygc.c +.PHONY: after-grovel-headers +# Nothing to do. +after-grovel-headers: