-CPPFLAGS = -I.
+# -*- makefile -*- for the C-level run-time support for SBCL
+# configuration stuff shared between various *BSD OSes
-CC = gcc -Wstrict-prototypes -fno-strength-reduce # -Wall
-LD = ld
-CPP = cpp
-CFLAGS = -g -O2 -DGENCGC -DPOSIX_SIGS
-ASFLAGS = -g -DGENCGC
-LINKFLAGS = -g
-NM = nm -gp
+# 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.
ASSEM_SRC = x86-assem.S
ARCH_SRC = x86-arch.c
-OS_SRC = bsd-os.c os-common.c undefineds.c
-OS_LINK_FLAGS=-static
-OS_LIBS=-lm # -ldl
+OS_SRC = bsd-os.c x86-bsd-os.c
+OS_LIBS = # -ldl
+ifdef LISP_FEATURE_SB_CORE_COMPRESSION
+ OS_LIBS += -lz
+endif
-GC_SRC= gencgc.c
+GC_SRC = gencgc.c
+
+# Nothing to do for after-grovel-headers.
+.PHONY: after-grovel-headers
+after-grovel-headers: