#!/bin/csh
#	@(#)makelink	1.3	06/19/97
#
#
#     $Id: makelink,v 1.1 1998/03/16 20:02:56 avvede Exp $
#     $Log: makelink,v $
#     Revision 1.1  1998/03/16 20:02:56  avvede
#     Initial move to CVS
#
#
#
#
#	Copyright (c) 1986, 1987, 1988 by
#	Periphonics Corporation
#	4000 Veterans Memorial Highway
#	Bohemia
#	NY 11716
#
#	This software is furnished under a license and may be used and
#	copied only in accordance with the terms of such license and with
#	the inclusion of the above copyright notice. This software or any
#	other copies thereof, may not be provided or otherwise made available
#	to anyone other than the licensee. Title to and ownership of this
#	software remains with the Periphonics Corporation.
#
#	The information in this document is subject to change without notice
#	and should not be construed as a commitment by Periphonics.
#
#	Periphonics assumes no responsibility for the use or reliability of
#	its software on equipment that is not supplied by Periphonics.
#
#	File Name:
#		makelink
#
#	Description:
#		Procedure to put linked applications into a library.
#		See usage line below.
#
#	Change				Reason
#	No.	Date		Name	for Change
#
#	0	13-dec-93	lmg	File created.
#	1	18-feb-94	lmg	Finally got rid of it.
#	2	19-jun-97	lmg	Merged with rel5.
#
if ( ${?ASEHOME} == 0 ) then
	echo "$0 : Environment ASEHOME is not set"
	exit 1
endif
#
if ( -x ${ASEHOME}/bin/makeapp ) then
	${ASEHOME}/bin/makeapp $*
else
	if ( -x ${ASEHOME}/rbin/makeapp ) then
		${ASEHOME}/rbin/makeapp $*
	else
		echo "Warning: Cannot find makeapp script in ${ASEHOME}/bin"
		makeapp $*
	endif
endif
