/* ********************************************************************** *\
 *         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.
* $
*/


DOBJS = buffer.do \
	bufferlist.do \
	complete.do \
	dict.do \
	envrment.do \
	except.do \
	list.do \
	mark.do \
	nstdmark.do \
	print.do \
	rectlist.do \
	style.do \
	stylesht.do \
	tree23.do \
	viewref.do \
	hash.do \
	glist.do \
	ghash.do \
	strcache.do

IHFILES = buffer.ih \
	bufferlist.ih \
	complete.ih \
	dict.ih \
	envrment.ih \
	except.ih \
	list.ih \
	mark.ih \
	nstdmark.ih \
	print.ih \
	rectlist.ih \
	style.ih \
	stylesht.ih \
	tree23.ih \
	viewref.ih \
	hash.ih \
	glist.ih \
	ghash.ih \
	strcache.ih

OBJS =  buffer.o \
	bufferlist.o \
	complete.o \
	dict.o \
	envrment.o \
	list.o \
	mark.o \
	nstdmark.o \
	print.o \
	rectlist.o \
	style.o \
	stylesht.o \
	suptinit.o \
	tree23.o \
	viewref.o \
	hash.o \
	glist.o \
	ghash.o \
	strcache.o

NormalObjectRule()
NormalATKRule()

DynamicObject(buffer, ${UTILLIB}, ${BSDLIB})
DynamicObject(print, ${UTILLIB}, )
DynamicObject(complete, ${UTILLIB}, ${BSDLIB})
DynamicObject(ghash, ${UTILLIB}, ${BSDLIB})
DynamicObject(strcache, ${UTILLIB}, ${BSDLIB})

InstallClassFiles($(DOBJS),$(IHFILES))

LibraryTarget(libsupport.a, $(OBJS))
InstallLibrary(libsupport.a, ${DESTDIR}/lib/atk)

DependTarget()


MkdirTarget(${DESTDIR}/doc/atk/support)

NormalHelpRule()
InstallDocs(stlproc.help,${DESTDIR}/help)
InstallHelpAlias(stlproc, sytlesheetproc)
InstallDocs(buffer.help,${DESTDIR}/help)
InstallHelpAlias(buffer, ez-buffers buffers)

InstallDocs(printing.pr, ${DESTDIR}/lib/prs)

DOCS = buffer.doc complete.doc dict.doc envrment.doc list.doc \
	mark.doc nstdmark.doc print.doc rectlist.doc style.doc \
	stylesht.doc tree23.doc viewref.doc glist.doc

InstallDocs($(DOCS), $(DESTDIR)/doc/atk/support)

