export TAR_OPTIONS="--no-same-owner"

make_single
make GNUSTEP_INSTALLATION_DIR=$GNUSTEP_SYSTEM_ROOT install           

# A bug in gworkspace installer, missing some include files
#if [ "$ADVCF" == "y" ];
#then
#    cd Goodies/VCFViewer                                              &&
#    make                                                              &&
#    make GNUSTEP_INSTALLATION_DIR=$GNUSTEP_SYSTEM_ROOT install        &&
#    cd ../../
#fi

if [ "$ADSRV" == "y" ];
then
    cd Goodies/adserver                                               &&
    make                                                              &&
    make GNUSTEP_INSTALLATION_DIR=$GNUSTEP_SYSTEM_ROOT install        &&
    cd ../../
fi


if [ "$ADTOL" == "y" ];
then
    cd Goodies/adtool                                                 &&
    make                                                              &&
    make GNUSTEP_INSTALLATION_DIR=$GNUSTEP_SYSTEM_ROOT install        &&
    cd ../../
fi

make_normal
