Blob Blame History Raw
#!/bin/csh
# $XConsortium: RUN.custom /main/5 1996/08/15 14:02:02 jakku $
# Motif
#
# Copyright (c) 1987-2012, The Open Group. All rights reserved.
#
# These libraries and programs are free software; you can
# redistribute them and/or modify them under the terms of the GNU
# Lesser General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option)
# any later version.
#
# These libraries and programs are distributed in the hope that
# they will be useful, but WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with these librararies and programs; if not, write
# to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
# Floor, Boston, MA 02110-1301 USA
# 
# 
# HISTORY
#
# DISPLAY would be set one way or the other by this time
#

set system = `uname`
if ($system == HP-UX) then
	set xdpyinfo_com = "/usr/local/bin/X11/xdpyinfo"
else
	set xdpyinfo_com = "/usr/bin/X11/xdpyinfo"
endif
set resolution=`$xdpyinfo_com | grep resolution | awk '{print $2}'`

if ( $MOTIF_HOME != "" ) then
setenv AUTOVPATH $MOTIF_HOME/tests/visuals/uil/ResInd/$resolution
else
setenv AUTOVPATH /proj/motif/tests/visuals/uil/ResInd/$resolution
endif

# The following needed for Vista and Purify usage
setenv TOP ../../..
set displayUid1 = 'displayUid1 -u ResInd -I ResInd.Dat -S ResInd.Scr -O ResInd.prt -V ResInd.vis'
set displayUid2 = 'displayUid -u EnumVal2 -I EnumVal2.Dat -S EnumVal2.Scr -V EnumVal2.vis -O EnumVal2.prt'
set displayUid3 = 'displayUid -u EnumVal3 -I EnumVal3.Dat -S EnumVal3.Scr -V EnumVal3.vis -O EnumVal3.prt'
set displayUid4 = 'displayUid -u ForRef4 -I ForRef4.Dat -S ForRef4.Scr -V ForRef4.vis -O ForRef4.prt'
set displayUid5 = 'displayUid1 -u label -I label.Dat -S label.Scr -O label.prt -V label.vis'
set displayUid6 = 'displayUid1 -u pushBtn -I pushBtn.Dat -S pushBtn.Scr -O pushBtn.prt -V pushBtn.vis'


foreach test ("$displayUid1" "$displayUid2" "$displayUid3" \
			  "$displayUid4" "$displayUid5" "$displayUid6" )