#
# This file should be installed in /usr/local/etc/zomnimake
#

#
# Default Omni build variables if not already set.
#

if [ -z "$OMNIMAKE_ROOT" ]; then
        export OMNIMAKE_ROOT=$HOME/Source/OmniGroup/OmniMake
fi

if [ -z "$OMNIMAKE_BUILD_OUTPUT_ROOT" ]; then
    export OMNIMAKE_BUILD_OUTPUT_ROOT=/Cache/$USER/BuildOutput
fi

if [ -z "$OMNIMAKE_INSTALL_ROOT" ]; then
    export OMNIMAKE_INSTALL_ROOT=/Cache/$USER/InstallRoot
fi

#
# You probably shouldn't change LOCAL_MAKEFILEDIR unless you know what
# you're doing, since it's the core hook used by OmniMake.
#

if [ -z "$LOCAL_MAKEFILEDIR" ]; then
    export LOCAL_MAKEFILEDIR=$OMNIMAKE_ROOT/Makefiles
fi

# Ensure that your PATH includes required OmniMake components.

export PATH=$PATH:$OMNIMAKE_ROOT/utilities
export PATH=$PATH:$OMNIMAKE_ROOT/utilities/nextstep

