# $Id: rkcomp,v 1.29 2007/03/22 16:51:39 tlaronde Exp $
#
# This is the RISK comp own conffile.
# The compile environment is C_default which defaults to POSIX compliant
# values if not specified.
#
#  Copyright 2004-2007 Thierry LARONDE <tlaronde@polynum.com>
#  All rights reserved. 
#  
#  This work is under the KerGIS Public Licence v1.0
# 
#  See the COPYRIGHT file at the root of the source directory or see
#  http://www.kergis.org/licence.txt for complete information.
# 
# !!!THIS SOFTWARE IS PROVIDED ``AS IS'' WITHOUT ANY WARRANTIES!!! 
#                      USE IT AT YOUR OWN RISK 

#==================================================================

# First adjust the PATH, since this is used by rk_which_cmd_of().
#
RK_PATH="$PATH:$TOOLDIR/bin"

# These ones are typically specified at config run time (possibly) on
# command line. Once set they are readonly.
# PROJECTDIR
# TOOLDIR
# PROJECT
# CONF
# OBJDIR
# PKGNAME
# PKGDIR

# This shall be filled by the PROJECT to tell what rkcomp `API' version
# the conf were developped for.
#
RK_API_VERSION=

# Some chunks can be added to the map depending on variables.
#
MAP_ADD=

# This can be filled by PROJECT to tell to scan and replace some 
# supplementary variables in PROJECT.map.
#
MAP_REPLACE=

# This one clones the line for every value associated.
#
MAP_GREPLACE=

# Same for PROJECT.list.
#
LIST_ADD=
LIST_REPLACE=
LIST_GREPLACE=

#----- ABI dependencies. 

# These will be set by `config'.
#
CHAR=
SHORT=
INT=
LONG=
FLOAT=
DOUBLE=
# ENDIANNESS:
#	1234 little endian
#	4321 big endian
#	and VAX is special
#
ENDIANNESS=

#----- POSIX extensions

# Value of header with the definitions of the converters.
#
RK_ICONV_DEFS=

# Pseudo terminal support: type of PTY_XSI, PTY_UNIX98, PTY_BSD or 
# PTY_NONE at the moment. 
# XSI means with posix_openpt, while UNIX98 means use "/dev/ptmx".
#
RK_PTY_TYPE=

#----- some additional programs in the compile environment

# This will be set by `config'.
#
CTANGLE=$(rk_which_cmd_of ctangle)
CWEAVE=$(rk_which_cmd_of cweave)

#----- RKCOMP internally used variables 

# affecting whether the config or the Makefile built
# Types of lib supported at run time by TARGET.
#
SUPPORTED_TYPES=

# Types of lib requested for creation (subset of SUPPORTED_TYPES).
#
REQUESTED_TYPES=
MAKE_STATIC=
MAKE_STATIC_LIB="YES"
MAKE_DSHARED_LIB="YES"

# If there are several scanners and parsers linked, and lex(1) and
# yacc(1) are used, it is necessary to prefix a bunch of global names
# to avoid namespace clashes.
# An '_' will be added to the end of the prefix when concatenating
# if LEX_YACC_PREFIX is set and not empty.
#
LEX_YACC_PREFIX=

# These ones may be defined in the Makefile.ker. Recorded here to keep
# track of the macros used (leading blank make them not present in
# .rkcomp/config).
#
	USE_STATIC_LIBES=
