#!/bin/sh 

#
#
# Copyright 1995 Sun Microsystems, Inc. All Rights Reserved
#
# "@(#)versions.sh	3.3 99/03/22 Sun Microsystems"
#

PATH=$PATH:/usr/bin

echo screen driver, 32-bit
/usr/ccs/bin/what /kernel/drv/screen | grep '\.[cC]'
echo " "

echo screen driver, 64-bit
/usr/ccs/bin/what /kernel/drv/sparcv9/screen | grep '\.[cC]'
echo " "

echo spf
/usr/ccs/bin/what /kernel/strmod/spf | grep '\.[cC]'
echo " "

echo efs
/usr/ccs/bin/what /kernel/strmod/efs | grep '\.[cC]'
echo " "

cd /opt/SUNWicg/SunScreen/bin
for file in `ls` ;	do				
  /usr/ccs/bin/what $file  | grep -v '\.[.h]' 	
  echo " "
done

cd /opt/SUNWicg/SunScreen/ssadm
for file in `ls` ;	do				
  /usr/ccs/bin/what $file | grep '\.[cC]'	
  echo " "
done

cd /opt/SUNWicg/SunScreen/lib
for file in `ls` ;	do				
  /usr/ccs/bin/what $file | grep -v '\.[.h]' 	
  echo " "
done

echo GUI
cd /opt/SUNWicg/SunScreen/admin/htdocs
for file in `ls` ; do
  /usr/ccs/bin/what $file
  echo " "
done

cd /opt/SUNWicg/SunScreen/admin/htdocs/lib/admin/com/sun/sunscreen/efs/internal/gui
for file in `ls` ; do
  /usr/ccs/bin/what $file
  echo " "
done

cd /opt/SUNWicg/SunScreen/admin/htdocs/lib/admin/com/sun/sunscreen/efs/internal/logbrowser
for file in `ls` ; do
  /usr/ccs/bin/what $file
  echo " "
done

cd /opt/SUNWicg/SunScreen/admin/htdocs/lib/admin/com/sun/sunscreen/efs/internal/registry
for file in `ls` ; do
  /usr/ccs/bin/what $file
  echo " "
done

echo proxies
/usr/ccs/bin/what /opt/SUNWicg/SunScreen/proxies
echo " "

echo communication
/usr/ccs/bin/what /opt/SUNWicg/SunScreen/admin/com/sun/sunscreen/internal/ssadm
echo " " 

echo proxies
for file in `find /opt/SUNWicg/SunScreen/proxies -name '*.class' -print` ; do
  /usr/ccs/bin/what $file
  echo " "
done

echo screen_skip
/usr/ccs/bin/what /usr/kernel/drv/screen_skip |  grep '\.[cC]'
echo " "

cd /usr/kernel/misc/
for file in `ls screen*` ;	do				
  /usr/ccs/bin/what $file | grep '\.[cC]'	
  echo " "
done


cd /usr/kernel/misc/sparcv9
for file in `ls screen*` ;	do				
  /usr/ccs/bin/what $file | grep '\.[cC]'	
  echo " "
done

