#
#   
#
# Copyright 1990-2006 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
#

# Build configuration for solaris_c. solaris_c is intended to validate
# the C interpreter loop, not as a product platform.

export ENABLE_C_INTERPRETER     := true
export ENABLE_C_INTERPRETER__BY := solaris_c.cfg

# Note that "linux" is chosen as the OS name -- all Solaris-specific
# code can be found inside the src/vm/os/linux directory, within
# "#ifdef SOLARIS" blocks.

host_os   = solaris
host_arch = sparc
os_family = linux
compiler  = gcc
arch      = c

export HOST_LITTLE_ENDIAN := false
export HARDWARE_LITTLE_ENDIAN := false

LOOP_GEN_FLAGS = +GenerateGNUCode
ROM_GEN_FLAGS  = +GenerateGNUCode

CPP_DEF_FLAGS += -DSPARC -DSOLARIS -munaligned-doubles
LINK_FLAGS    += -lsocket -lnsl -lposix4  -L/usr/local/lib

ifndef ENABLE_TIMER_THREAD
export ENABLE_TIMER_THREAD = false
export ENABLE_TIMER_THREAD__BY = solaris_c.cfg
endif

export ENABLE_INTERPRETER_GENERATOR     := false
export ENABLE_INTERPRETER_GENERATOR__BY := solaris_c.cfg
export ENABLE_COMPILER                  := false
export ENABLE_COMPILER__BY              := solaris_c.cfg

ifndef MERGE_SOURCE_FILES
MERGE_SOURCE_FILES  = true
endif

ifndef SOURCE_MERGER_SIZE
SOURCE_MERGER_SIZE  = 35
endif
