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

/*
	$Disclaimer: Andrew User Interface System - Binary Distribution 7.5
* 
* Permission to use, copy, modify, and distribute this software for any 
* purpose is hereby granted, provided (a) that no fee is charged for the 
* software, for the medium on which it is distributed, for the 
* distribution process, or for effort involved in making the distribution;  
* (b) that all copyright notices, this permission notice, and the 
* following disclaimer remain in these files and appear in supporting 
* documentation;  (c) that you do not translate, reverse engineer, 
* decompile, or disassemble the software; and (d) 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.
* 
* CARNEGIE MELLON UNIVERSITY, IBM, 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 CARNEGIE MELLON 
* UNIVERSITY, IBM, 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.
*  $
*/
/*

 	$$$ change the following comments to fit your application

  null
 	prototypical Andrew inset

  	This directory for an inset has these files
 		Imakefile	this file
 		null.help	explain usage of the inset
 		null.H		class headers for data object
 		null.C		methods for data object
 		nullview.H	class headers for the view
 		nullview.C	methods for view
 		nullvt.C	test driver for view
 		nullapp.H	class headers for the application
 		nullapp.C	the application driver
*/

OBJS = null.o nullview.o nullapp.o
HFILES = null.H nullview.H nullapp.H

NormalObjectRule()
NormalATKRule()

/* Only the non-ATK libraries such as the ones in $(ANDREWDIR)/lib, system and user libraries need to be included in the LIBS list below.  The appropriate ATK libraries to link against will be determined automatically. */
LIBS = $(UTILLIB) 

/* SYSLIBS is used for -L and -l arguments and for system libraries */
SYSLIBS = 

DynamicMultiObject(null,nullview nullapp,$(OBJS),$(LIBS),$(SYSLIBS),)
InstallDynamicObject(null,nullview nullapp,$(FULLATKDLIBDIR))

InstallClassFiles($(HFILES))
InstallATKLibrary(null, $(DESTDIR)/lib/null)

#if 0

/* these next two rules generate large executable files */

/* Build the nullvt program which tests the null dataobject and view directly */
NULLVTGENSTATLARGS = \
-a /* suppresses loading the class <executable-name>app into the executable */ \
-r .  /* so that the test program can be built before the library libnull.a has been installed. */ \
-m nullvt.o /* use the main() in nullvt.o instead of the automatically supplied main(). */
RunappWithLibrary(nullvt,null,$(NULLVTGENSTATLARGS))

/* Build the null program which uses the automatically supplied main to run the nullapp, as implemented in the nullapp class. */
RunappWithLibrary(null,null,-r .)

#endif

NormalHelpRule()
InstallDocs(null.help, $(DESTDIR)/help)

/* $$$ the second argument is a space-separated list of aliases */
InstallHelpAlias(null, null prototype generic model sample dummy)

DependTarget()
