CC=gcc
CFLAGS = -m64 -g -O2 -Wall -D__EXTENSIONS__ -D_POSIX_C_SOURCE=199506L -DSVR4 -D_REENTRANT -fno-omit-frame-pointer
LINKFLAGS = -m64 -g
ASFLAGS = -m64 -Wall
NM = nm -xgp
GREP = ggrep

#CC=/opt/SunStudioExpress/bin/cc
#CFLAGS = -xarch=generic64 -g -O2 -Wall -D__EXTENSIONS__ -D_POSIX_C_SOURCE=199506L -DSVR4 -D_REENTRANT -fno-omit-frame-pointer
#ASFLAGS = -xarch=generic64 -Wall

ASSEM_SRC = x86-64-assem.S ldso-stubs.S
ARCH_SRC = x86-64-arch.c

OS_SRC = sunos-os.c x86-64-sunos-os.c
OS_LIBS= -ldl -lsocket -lnsl -lrt
ifdef LISP_FEATURE_SB_CORE_COMPRESSION
  OS_LIBS += -lz
endif

GC_SRC= fullcgc.c gencgc.c traceroot.c

# Nothing to do for after-grovel-headers.
.PHONY: after-grovel-headers
after-grovel-headers:
