#
#    SCCS ID: %Z%%M% %I% %E% SMI
#
#    Copyright (c) 1990-1992 Sun Microsystems, Inc.  All rights reserved.
#    See LEGAL_NOTICE file for terms of the license.
#

all: examples

INSTALLDIR = /usr/openwin/examples

examples:
	cd ColorMaps/Display; make
	cd ColorMaps/Worms; make
	cd DragAndDrop/Canvas; make
	cd DragAndDrop/Panel; make
	cd DragAndDrop/PrintTool; make
	cd HotRegions/Canvas/Xlib; make
	cd Images/Choice; make
	cd Images/List; make
	cd Menus; make
	cd NewUITClasses/PropertiesWindow; make
	cd NotifyTargets; make
	cd Windows; make

delete:
	cd ColorMaps/Display; make -i delete
	cd ColorMaps/Worms; make -i delete
	cd DragAndDrop/Canvas; make -i delete
	cd DragAndDrop/Panel; make -i delete
	cd DragAndDrop/PrintTool; make -i delete
	cd HotRegions/Canvas/Xlib; make -i delete
	cd Images/Choice; make -i delete
	cd Images/List; make -i delete
	cd Menus; make -i delete
	cd NewUITClasses/PropertiesWindow; make -i delete
	cd NotifyTargets; make -i delete
	cd Windows; make -i delete


install:
	cd ColorMaps/Display; make -i "INSTALLDIR=$(INSTALLDIR)" install
	cd ColorMaps/Worms; make -i "INSTALLDIR=$(INSTALLDIR)" install
	cd DragAndDrop/Canvas; make -i "INSTALLDIR=$(INSTALLDIR)" install
	cd DragAndDrop/Panel; make -i "INSTALLDIR=$(INSTALLDIR)" install
	cd DragAndDrop/PrintTool; make -i "INSTALLDIR=$(INSTALLDIR)" install
	cd HotRegions/Canvas/Xlib; make -i "INSTALLDIR=$(INSTALLDIR)" install
	cd Images/Choice; make -i "INSTALLDIR=$(INSTALLDIR)" install
	cd Images/List; make -i "INSTALLDIR=$(INSTALLDIR)" install
	cd Menus; make -i "INSTALLDIR=$(INSTALLDIR)" install
	cd NewUITClasses/PropertiesWindow; make -i "INSTALLDIR=$(INSTALLDIR)" install
	cd NotifyTargets; make -i "INSTALLDIR=$(INSTALLDIR)" install
	cd Windows; make -i "INSTALLDIR=$(INSTALLDIR)" install
