#
# $FML: main.cf.in,v 1.20 2004/11/21 06:55:47 fukachan Exp $
#

# fml version
#   This is important
# Example: fml 8.0
#          fml-current YYYYMMDD
#          fml-devel YYYYMMDD
fml_version	=	__fml_version__

fml_owner	=	@fml_owner@

fml_group	=	@fml_group@


###
### DIRECTORIES
###

# Example: /usr/local
prefix			= 	@prefix@
exec_prefix		=	@exec_prefix@
datarootdir		=	@datarootdir@

# $config_dir holds the global main configuration and
# several version-dependent default configurations
# Example: /etc/fml
config_dir		= 	@fmlconfdir@

# Example: /etc/fml/defaults/$fml_version
default_config_dir	=	$config_dir/defaults/$fml_version

# group writable configuration directory.
# prepared but not used by default. 
# This may be used by ml_home_prefix handling.
# Example: /etc/fml/config.gw
group_writable_config_dir =     @fmlgwconfdir@

# defined for convenience, for example, we need this variable
# at include, include-ctl, which needs expansion of ../libexec/fml/fml.pl
# Example: /usr/local/libexec/fml
executable_prefix	=	@libexecdir@/fml

# Example: /usr/local/libexec/fml/$fml_version
libexec_dir		= 	@libexecdir@/fml/$fml_version

# Example: /usr/local/lib/fml/$fml_version
lib_dir			=	@libdir@/fml/$fml_version

# Example: /usr/local/share/fml/$fml_version
share_dir		=	@datarootdir@/fml/$fml_version

# site local library location
# which is prepared but not used by fml itself
local_lib_dir		=	@libdir@/fml/site_local


###
### DOMAIN AND MAPS BETWEEN DOMAIN AND DIRECTORY
###


# default domain. used when domain unspecified in using makefml et.al.
default_domain		=	@default_domain@


# default parent directory of ml's home directories.
# same as fml 4.0 by default but ml_home_prefix_map(s) changes the map
# between ml and the home directory.
# Example: /var/spool/ml
default_ml_home_prefix	=	@mlspooldir@


# primary of { $ml_name => $ml_home_dir } map relation.
# makefml/fml command try to modify this map.
#
# The syntax is "domain directory". For example
#   fml.org	/var/spool/ml/fml.org
#   nuinui.net	/var/spool/ml/nuinui.net
#
# Example: /etc/fml/ml_home_prefix
primary_ml_home_prefix_map	=	@primary_ml_home_prefix_map@


# maps of { $ml_name => $ml_home_dir } map relation.
ml_home_prefix_maps		=	$primary_ml_home_prefix_map
					$virtual_maps

# obsolete map: DO NOT USE THIS MAP NOW.
#               This is used before introduction of $ml_home_prefix_maps.
#               It is backward compatible only.
# for example,
#   fml.org	/var/spool/ml/fml.org
#   nuinui.net	/var/spool/ml/nuinui.net
virtual_maps		=	$config_dir/virtual



###
### CONFIGURATION FILES AND DEFAULT PARAMETERS
###


# version dependent default_config.cf location
# Example: /etc/fml/defaults/8.0/default_config.cf
default_config_cf	=	$default_config_dir/default_config.cf


# site local default configuration file
# Example: /etc/fml/site_default_config.cf
site_default_config_cf	=	$config_dir/site_default_config.cf


# domain specific configurations
# Example: /etc/fml/domains/fml.org/default_config.cf
domain_default_config_cf =	$config_dir/domains/$default_domain/config.cf


# map between programs name and modules
# Example: /etc/fml/defaults/8.0/modules
default_module_config	=	$default_config_dir/modules


# map between programs name and command line options
# Example: /etc/fml/defaults/8.0/command_line_options
default_command_line_option_config = $default_config_dir/command_line_options


# CUI configuration menu
# Example: /etc/fml/defaults/8.0/menu.conf
default_cui_menu 	=	$default_config_dir/menu


# GUI configuration menu
# Example: /etc/fml/defaults/8.0/menu.conf
default_gui_menu 	=	$default_config_dir/menu


