+# -*- makefile -*- for the C-level run-time support for SBCL
# configuration stuff shared between various *BSD OSes
# This software is part of the SBCL system. See the README file for
ASSEM_SRC = x86-assem.S
ARCH_SRC = x86-arch.c
-OS_SRC = bsd-os.c os-common.c undefineds.c
-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
+
+# Nothing to do for after-grovel-headers.
+.PHONY: after-grovel-headers
+after-grovel-headers: