1.0.39.12: remove darwin-langinfo
[sbcl.git] / src / runtime / Config.ppc-darwin
index fbf57ce..92089b5 100644 (file)
@@ -9,8 +9,14 @@
 # provided with absolutely no warranty. See the COPYING and CREDITS
 # files for more information.
 
-CFLAGS = -g -Wall -O2 -fdollars-in-identifiers
-OS_SRC = bsd-os.c darwin-os.c ppc-darwin-os.c darwin-dlshim.c darwin-langinfo.c
+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
@@ -20,10 +26,11 @@ ARCH_SRC = ppc-arch.c
 
 CPPFLAGS += -no-cpp-precomp
 
-GC_SRC = $(shell if grep LISP_FEATURE_GENCGC genesis/config.h \
-                      > /dev/null 2>&1; \
-                   then echo "gencgc.c"; \
-                   else echo "cheneygc.c" ; fi)
+ifdef LISP_FEATURE_GENCGC
+  GC_SRC = gencgc.c
+else
+  GC_SRC = cheneygc.c
+endif
 
 .PHONY: after-grovel-headers