1.0.39.12: remove darwin-langinfo
[sbcl.git] / src / runtime / Config.ppc-darwin
index 7f66fd4..92089b5 100644 (file)
@@ -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
+ifdef LISP_FEATURE_DLSHIM
+  OS_SRC += darwin-dlshim.c
+endif
+
+OS_LIBS = -lSystem -lc
+
+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: