+# -*- 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.
#
# 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
+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
-OS_SRC = sunos-os.c sparc-sunos-os.c os-common.c
-#LINKFLAGS+=-static
-LINKFLAGS+=
-OS_LIBS= -ldl -lsocket -lnsl
+GC_SRC = cheneygc.c
-GC_SRC= cheneygc.c
+# Nothing to do for after-grovel-headers.
+.PHONY: after-grovel-headers
+after-grovel-headers: