Utility predicates for packing: UNBOUNDED-SC-P and UNBOUNDED-TN-P
[sbcl.git] / src / runtime / Config.sparc-sunos
index 335abd8..681a502 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,21 +9,27 @@
 # provided with absolutely no warranty. See the COPYING and CREDITS
 # files for more information.
 
-
-CC=gcc
-CFLAGS = -g -O3 -Wall -Dsparc -DSVR4
-ASFLAGS = -g -Wall -Dsparc -DSVR4
-LD = ld 
-LINKFLAGS = -v -g 
+CC = gcc
+CFLAGS += -DSVR4 -D_REENTRANT
+ASFLAGS = -g -Wall -DSVR4 -Wa,-xarch=v8plus
+LINKFLAGS += -v
 NM = nm -t x -p 
 
-ASSEM_SRC = sparc-assem.S 
-#ARCH_SRC = sparc-arch.c undefineds.c 
-ARCH_SRC = sparc-arch.c ldso-stubs.S
+ASSEM_SRC = sparc-assem.S ldso-stubs.S
+ARCH_SRC = sparc-arch.c #undefineds.c
+
+OS_SRC = sunos-os.c sparc-sunos-os.c
+OS_LIBS = -ldl -lsocket -lnsl -lrt
+ifdef LISP_FEATURE_SB_CORE_COMPRESSION
+  OS_LIBS += -lz
+endif
 
-OS_SRC = sunos-os.c sparc-sunos-os.c os-common.c 
-#LINKFLAGS+=-static 
-LINKFLAGS+= 
-OS_LIBS= -ldl -lsocket -lnsl 
+ifdef LISP_FEATURE_GENCGC
+  GC_SRC = gencgc.c
+else
+  GC_SRC = cheneygc.c
+endif
 
-GC_SRC= cheneygc.c
+# Nothing to do for after-grovel-headers.
+.PHONY: after-grovel-headers
+after-grovel-headers: