0.9.16.30:
[sbcl.git] / src / runtime / Config.ppc-linux
index d7a2393..cce5c4c 100644 (file)
@@ -1,3 +1,5 @@
+# -*- 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.
 #
@@ -7,16 +9,21 @@
 # provided with absolutely no warranty. See the COPYING and CREDITS
 # files for more information.
 
-CFLAGS += -g -Dppc
-LD = ld 
-LINKFLAGS = -v -g 
-NM = nm -p
+CFLAGS = -g
+LINKFLAGS += -v -rdynamic
+NM = ./linux-nm
 
 ASSEM_SRC = ppc-assem.S ldso-stubs.S
 ARCH_SRC = ppc-arch.c
 
-OS_SRC = linux-os.c  ppc-linux-os.c os-common.c 
-LINKFLAGS+=-rdynamic 
-OS_LIBS= -ldl
+OS_SRC = linux-os.c ppc-linux-os.c
+OS_LIBS = -ldl
+
+GC_SRC = $(shell if grep LISP_FEATURE_GENCGC genesis/config.h \
+                      > /dev/null 2>&1; \
+                   then echo "gencgc.c"; \
+                   else echo "cheneygc.c" ; fi)
 
-GC_SRC= cheneygc.c
+# Nothing to do for after-grovel-headers.
+.PHONY: after-grovel-headers
+after-grovel-headers: