# provided with absolutely no warranty. See the COPYING and CREDITS
# files for more information.
-CFLAGS = -g -Wall -O2 -fdollars-in-identifiers
-OS_SRC = bsd-os.c darwin-os.c ppc-darwin-os.c darwin-dlshim.c darwin-langinfo.c
+CFLAGS = -g -Wall -O2 -fdollars-in-identifiers -mmacosx-version-min=10.4
+LINKFLAGS += -mmacosx-version-min=10.4
+
+OS_SRC = bsd-os.c darwin-os.c ppc-darwin-os.c
+
OS_LIBS = -lSystem -lc
+ifdef LISP_FEATURE_SB_CORE_COMPRESSION
+ OS_LIBS += -lz
+endif
CC = gcc
CPPFLAGS += -no-cpp-precomp
ifdef LISP_FEATURE_GENCGC
- GC_SRC = "gencgc.c"
+ GC_SRC = gencgc.c
else
- GC_SRC = "cheneygc.c"
+ GC_SRC = cheneygc.c
endif
.PHONY: after-grovel-headers