#  Makefile to construct the hippo library
#
# Calls make.common to do actual work. This allows us to use script to
#  determine architecture and include specific file.
#
# $Id: Makefile,v 5.0 1993/08/17 21:53:01 rensing Exp $
#
# Copyright (C)  1991  The Board of Trustees of The Leland Stanford
# Junior University.  All Rights Reserved.

NAME = hippo
TARGETS = libs debuglibs debug hippoNext hippoX11 hippoXIV hippoUP hippo \
          hippoNext_debug hippoX11_debug hippoXIV_debug hippoUP_debug \
          hippo_debug hippoNext_prof hippoX11_prof hippoXIV_prof \
          hippoUP_prof hippo_prof util hb2hippo tar test install \
          x11test 

libs ::

$(TARGETS) :: 
	$(MAKE) -f make.common "FLAVOR=`./architecture`" $@

all   :: libs debuglibs util

clean ::
	rm -f *~ *.o *.bak

help ::
	@echo '   libs:       makes all libs in list'
	@echo '   debuglibs:  makes all debug libs in list'
	@echo '   util:       makes the utilities nt2text and text2nt'
	@echo '   all:        makes libs, debuglibs, util'
	@echo '   hippoNext, etc : make specific library
	@echo '   clean:      removes .o files and backup (*~,*.bak) files'
	@echo '   install:    installs libraries and include files'
	@echo '   test:       run a few simple tests to check hippo'
	@echo '   tar:        creates tar file for distribution'
	@echo '   x11test:    simple test of x11 driver'
