#!/bin/sh
#
# programResources - determine locations of various files/directories 
#                    on this machine and create program resource file.
#
# Note: This is a compile time localization. An install time localization
#       makes further changes.
#


# PLATFORM=`uname`

# The following is depricated code

# if [ -f "Res/treeps.$PLATFORM" ]
# then
# 	echo "Using existing localized resource file"
# 	exit 0
# fi

#echo "Customizing resources - Phase I"
#echo ""

#F=Res/treeps.$PLATFORM

#>$F

#echo "! Filename: Treeps" >>$F
#echo "!" >>$F
#echo "! Description: This is an X resource file for the treeps program, it">>$F
#echo "!              is automatically generated during construction and" >>$F
#echo "!              installation of the program. Normally this file should" >>$F
#echo "!              be placed in your system app-defaults directory, but">>$F
#echo "!              you are free to copy it to your home directory and">>$F
#echo "!              modify it to fit your needs/desires.">>$F
#echo "!">>$F
#echo "! Note: This file is removed from the build tree by make clobber.">>$F
#echo "!       It's not safe to edit this file until after it's installed.">>$F


#echo "" >>$F

# If we are building against LessTif then mark the intermediate resource
# file, so that the install time localization will react appropriately

#cat ./Res/$PLATFORM/treeps.$PLATFORM > $F


#PROCESS_ATTACHMENT_POLICY="`getProcessAttachPolicy`"
#if [ "$PROCESS_ATTACHMENT_POLICY" != "SMART_ATTACH" ]
#then
#	echo "" >> $F
#else
#	echo "Treeps*process_attach_mode: 2" >> $F
#fi
