# SunOS specific options
ifeq ($(DEBUG_LEVEL),profile)
    LD_PROFILE_FLAGS=-pg
else
    LD_PROFILE_FLAGS=
endif


# Optimizations for SunOS

ifeq ($(OPTIM_LEVEL),optimized)
    OPTIM_FLAGS=-O2
endif


# Threads and locks in SunOS
LD_THREAD_LIB=
LD_LOCK_LIB=
THREAD_FLAG=

FOREIGN_FILES_FLAG=-DFOREIGN_FILES

# C compiler
CC=gcc

# Linker
LD=ld

# C compiler options for generating shared libraries code
CCSHARED=-fPIC

# Linker options for shared objects?
LDSHARED=

# Name of the standard ciao library
CIAOLIBNAME=libciao.so.1.0

# This is (hopefully) for a modular system
LIBS=-ldl -lm $(LD_THREAD_LIB) $(LD_LOCK_LIB) $(DEBUG_LIBS)

ARCHNAME=Sparc

# Operating system
OSNAME=SunOS4

# How to install an make directories
MKDIR="mkdir -p"
INSTALL=install

# Making etags
ETAGS=etags -t *.[ch]
DEFAULTYPE=dyn
