/* ********************************************************************** *\
 *         Copyright IBM Corporation 1988,1991 - All Rights Reserved      *
 *        For full copyright information see:'andrew/config/COPYRITE'     *
\* ********************************************************************** */

/*
	$Disclaimer: 
*Permission to use, copy, modify, and distribute this software and its 
*documentation for any purpose is hereby granted without fee, 
*provided that the above copyright notice appear in all copies and that 
*both that copyright notice, this permission notice, and the following 
*disclaimer appear in supporting documentation, and that the names of 
*IBM, Carnegie Mellon University, and other copyright holders, not be 
*used in advertising or publicity pertaining to distribution of the software 
*without specific, written prior permission.
*
*IBM, CARNEGIE MELLON UNIVERSITY, AND THE OTHER COPYRIGHT HOLDERS 
*DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 
*ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.  IN NO EVENT 
*SHALL IBM, CARNEGIE MELLON UNIVERSITY, OR ANY OTHER COPYRIGHT HOLDER 
*BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY 
*DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 
*WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS 
*ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
*OF THIS SOFTWARE.
* $
*/

/* $Header: /afs/cs.cmu.edu/project/atk-dist/auis-6.3/contrib/mit/annot/RCS/Imakefile,v 1.10 1994/03/29 04:45:24 rr2b Exp $ */
/* $ACIS:$ */
/* $Source: /afs/cs.cmu.edu/project/atk-dist/auis-6.3/contrib/mit/annot/RCS/Imakefile,v $ */

#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS)
	char *sketch_ch_rcsid = "$Header: /afs/cs.cmu.edu/project/atk-dist/auis-6.3/contrib/mit/annot/RCS/Imakefile,v 1.10 1994/03/29 04:45:24 rr2b Exp $";
#endif /* !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) */

#if !defined(hpux) || (HP_OS < 80)
MATHLIB = -lm
#endif
#ifdef DPS_ENV
DOBJS = note.do icon.do ps.do noteview.do iconview.do psview.do dpstextv.do stroffet.do stroffetv.do
IHFILES = note.ih icon.ih ps.ih noteview.ih iconview.ih psview.ih dpstextv.ih stroffet.ih stroffetv.ih
#else /* DPS_ENV */
DOBJS = note.do icon.do ps.do noteview.do iconview.do psview.do stroffet.do stroffetv.do
IHFILES = note.ih icon.ih ps.ih noteview.ih iconview.ih psview.ih stroffet.ih stroffetv.ih
#endif /* DPS_ENV */


NormalObjectRule()
NormalATKRule()

InstallClassFiles($(DOBJS), ${IHFILES})

DependTarget()

#ifdef DPS_ENV
#if defined(SGI_4D_ENV) || defined(PMAX_ENV)
DPSCLIENTLIBS	= -ldps -lXext -lX11 ${MATHLIB}
#else /* defined(SGI_4D_ENV) || defined(PMAX_ENV) */
DPSCLIENTLIBS	= -ldps -lX11
#endif /* defined(SGI_4D_ENV) || defined(PMAX_ENV) */
/* -I/usr/include/X11 is just in case a different set of X libraries are in use and DPS is actually under /usr/include... sigh. -rr2b */
LOCALINCLUDES	= -I/usr/include/DPS -I$(XINCDIR)/X11 -I/usr/include/X11

DynamicMultiObject(dpstextv.do, dpstextv.o, ,${DPSCLIENTLIBS})
DynamicMultiObject(psview.do, psview.o, ,)
#endif /* DPS_ENV */

NormalHelpRule()
InstallDocs(psinset.help, ${DESTDIR}/help)
InstallDocs(stroffet.help, ${DESTDIR}/help)
InstallDocs(note.help, ${DESTDIR}/help)
InstallHelpAlias(psinset, ps-inset postscript postscript-inset)
InstallHelpAlias(stroffet, troff-inset)
InstallHelpAlias(note, note-inset footnote-inset)
