# This file is being included into all Makefiles and into the
# installation script "libinstall".  Please make sure that it can
# serve both as input to "make" and a Bourne shell.

# Define this to the version of the package.
VERSION=0.52.2

# Comment this out if you don't want a debugable lib lib_g.a.
WITH_DEBUG_LIB=yes

# Comment this out if you don't want a debugable lib lib_g.a.
WITH_PROFILE_LIB=yes

# Comment this out if you don't want to build libraries that support 
# FreeMiNT's shared text feature (for use with the -mbaserel compiler switch).
WITH_SHARED_TEXT=yes

# Comment this out if you don't want to build libraries with short
# (i. e. 16 bit) integers.
WITH_SHORT_INTS=yes

# This variable is used for various others.  Change its value if 
# need be.  When cross-compiling you will usually want to set this
# to "/usr/local/m68k-atari-mint".
# prefix=/usr/local/m68k-atari-mint
prefix=/usr/local

# This is where include files get installed.
includedir=${prefix}/include

# This is where the libraries and the startup modules (crt0.o etc.)
# go.
libdir=${prefix}/lib

# This is where manpages get installed.
mandir=${prefix}/man

# Define this to the name of your C compiler.
CC=gcc

# Define this if you cross-compile.  When cross-compiling some files
# (notably programs and commands like zic, zdump or tzselect) won't
# get installed.  You have to take car yourself that the libraries
# and include files and so on will get installed in the right place
# The easiest way to do this is to change "prefix", see above.
#CROSS=yes

# Define this to the name of your ar program.
AR=ar

# Define this to "${AR} s" if your system lacks the ranlib program.
RANLIB=ranlib

# Minimal set of CFLAGS to use.  The flags "-mshort", "-mbaserel"
# will be added by the individual Makefiles.  If you want a debuggable
# library you will have to add "-g" here.  If you want more or less
# optimization you can change "-O2" to nothing, "-O" or "-O3".  Don't
# add any "-f..." optimization options here, they will be handled
# by the Makefiles because inidividual files need special options.
CFLAGS=-O2 -fomit-frame-pointer

# Additional defines.
DEFS=

# Define this to the warning level you want.
WARN=-Wall

# Remove the comment sign if you want to build your libraries
# with soft floating-point support.  NOTE: If you change this
# you should run "make clean".  Also note that this will change
# the way the libraries are named.  The string "sfp" will get
# included in the library name.
# WITH_SOFT_FP=yes

# If you linker uses the standard naming scheme set this to "lib",
# empty otherwise.
lib_name_prefix=lib

# Set this to the filename extender your linker expects for libraries.
# Usually ".a" but maybe ".olb".
lib_name_extender=.a

# If your system lacks a BSD compatible install you should set this
# variable to "$(top_srcdir}/install-sh".
# INSTALL=${top_srcdir}/install-sh
INSTALL=install

# Define this to the name of an awk program on your system.
AWK=awk

#####################################################################
# Time zone stuff.
#####################################################################
# Important note: Along with the tz database comes a shell script
# "tzselect".  This script requires a korn shell.  This is usually
# no problem with MiNT because bash is assez korn shell compatible.
# you should create a symbolic link
#	ln -s /bin/bash /bin/ksh
# before running the script.
#
# When cross-compiling nothing will get installed in the tz
# tz subdirectory.  Only the binaries zdump and zic will get build
# but not installed.

# Change the line below for your time zone (after finding the zone 
# you want in the time zone files, or adding it to a time zone file).
# Alternately, if you discover you've got the wrong time zone, you 
# can just
#	zic -l rightzone
# after installation to correct things.
# Use the command
#	make zonenames
# to get a list of the values you can use for LOCALTIME.  If you have
# a binary distribution simply run the installation script libinstall.
# You will then find a list of possible zonenames in this directory
# in the file "zonenames".
#
# The default setting "Factory" is also safe.  Whenever you use a
# program that supports the tz database and your timezone is still
# "Factory" its output will remind you to run "tz
LOCALTIME=Factory

# If you want something other than Eastern United States time as a
# template for handling POSIX-style time zone environment variables,
# change the line below (after finding the zone you want in the time 
# zone files, or adding it to a time zone file).  (When a POSIX-style
# environment variable is handled, the rules in the template file are 
# used to determine "spring forward" and "fall back" days and times; 
# the environment variable itself specifies UTC offsets of standard 
# and summer time.)
# Alternately, if you discover you've got the wrong time zone, you 
# can just
#	zic -p rightzone
# to correct things.
# Use the command
#	make zonenames
# to get a list of the values you can use for POSIXRULES.  If you have
# a binary distribution simply run the installation script libinstall.
# You will then find a list of possible zonenames in this directory
# in the file "zonenames".
# If you want POSIX compatibility, use "America/New_York".  But you
# must be a very POSIX compatible mind if you do not choose your
# hometown instead.
POSIXRULES=America/New_York

# All time zone stuff gets put in subdirectories of...
# Note that this variable defaults to "/usr" and not "/usr/local".
# If you change the installation path you also have to change
# the file src/tzfile.h to reflect your different setting.
TZTOPDIR=/usr

# "Compiled" time zone information is placed in the "TZDIR" directory
# (and subdirectories).
# Use an absolute path name for TZDIR unless you're just testing the 
# software.  Again, take care that this setting is synchronized with
# src/tzfile.h.
TZDIR=${TZTOPDIR}/share/zoneinfo

# The "zic", "zdump", and "tziniit" commands get installed in...
TZETCDIR=/usr/sbin
# TZETCDIR=${TZTOPDIR}/sbin
# TZETCDIR=${TZTOPDIR}/bin

# Manual pages go in subdirectories of...
TZMANDIR=${TZTOPDIR}/man

# If you always want time values interpreted as "seconds since the epoch
# (not counting leap seconds)", use
#	REDO=posix_only
# below.  If you always want right time values interpreted as "seconds since
# the epoch" (counting leap seconds)", use
#	REDO=right_only
# below.  If you want both sets of data available, with leap seconds not
# counted normally, use
#	REDO=posix_right
# below.  If you want both sets of data available, with leap seconds counted
# normally, use
#	REDO=right_posix
# below.
# POSIX mandates that leap seconds not be counted; for compatibility with it,
# use either "posix_only" or "posix_right".
REDO=right_posix

# If you want zic's -s option used when installing, uncomment the next line
# (see zic(8) for details).
# ZFLAGS=-s

# Define this to the name of a korn shell compatible shell on your 
# system.  Usually the default "/bin/bash" is alright.
KSH=/bin/bash

#####################################################################
# End of time zone stuff.
#####################################################################

#####################################################################
# Linker.
#####################################################################
# If you do not use a recent GNU linker uncomment the next line.  Any
# GNU linker >= version 2.9.1 should do, try "ld --version"!
#USE_GNU_LD=yes

#####################################################################
# End of linker stuff.
#####################################################################

#####################################################################
# Weak symbols.
#####################################################################
# The MiNTLib makes extensive use of weak symbols to keep the
# library namespace clean.  To be able to use them you need the 
# GNU linker at least version 2.9.1 and the GNU assembler.  For
# gcc version > 2.7.x the compiler itself makes use of weak symbols.
# You should run the test script `weaktest' to check about your
# equipment.  If in doubt or `weaktest' says that your linker
# does not support weak symbols uncomment all lines.

# Uncomment the following line if you want support for weak symbols
# (and you have the prerequisites, see above).
#USE_WEAK_SYMBOLS=yes

# Uncomment the following line if your assembler has the .weakext
# directive (warning: probably not).
#HAVE_ASM_WEAKEXT_DIRECTIVE=yes

# Uncomment the following line if your assembler has the .weak
# directive (usually true for gas).
HAVE_ASM_WEAK_DIRECTIVE=yes

#####################################################################
# End of weak symbols stuff.
#####################################################################

# The following variables shouldn't be changed by the user.
TAR=tar
GZIP=--best
