#       Copyright (c) 1992 AT&T   
#       All Rights Reserved       

#       THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T   
#       The copyright notice above does not evidence any     
#       actual or intended publication of such source code.  

# @(#)README	1.1.1.1	(7/17/92)


PROGRAM: dmdtool

DESCRIPTION: determine terminal type and invoke a dmd program

TERMINAL: 5620 DMD
	  630  MTG

COMPUTER: any unix host

BUILD PROCEDURE: make DMD630=<630 SDP> DMD5620=<5620 ADP> TCTERM=<terminal> \
		    TC630=<install dir> <action>

		 The <...>'s have the followings meanings:

		 <630 SDP> - full path name to the 630 MTG Software
			     Development Package. It is needed only
			     if TCTERM = 630 or all. It defaults to
			     /usr/opt/630.

		 <5620 ADP> - full path name to the 5620 DMD Application
			      Development Package. It is needed only of
			      TCTERM = 5620 or all. It defaults to /usr/dmd.

		 <terminal> - terminal for which the <action> is to take place.
			      Possibles values are: 630 - 630 MTG
						    dmd - 5620 DMD
						    all - both 630 and dmd
			      It defaults to 630.

		 <install dir> - full path name to where the product will be
				 installed. This is needed only for the install
				 action. There is no default.

		 <action> - defines the action to be done. Possible actions
			    are: build - just make the products
				 install - install the products
				 clean - remove .o's
				 clobber - remove the products under the source
					   directory
			    The default action is build.

		 requirements: the following directories must already exist
			       to do the install action:
				$TC630/bin
				$TC630/man
				$TC630/lib/dmdtools
				$TC630/lib/xdmddemo/demobin
				$TC630/lib/xdmddemo/630
				$TC630/lib/xdmddemo/dmd/demolib
				$TC630/lib/xdmddemo/dmd/demolibsa

		 example: make TCTERM=all install
			  # makes and installs for the 630 and 5620 terminals

EXECUTION: To run the program, the shell environment variable TC630 must
	   be set and exported to the same value as used to build xdmddemo.
	   The manual page describes how xdmddemo works.
