#
# This file is part of the OLH system
# Imakefile for top level directory.
#
# Copyright (C) 1990 by the Massachusetts Institute of Technology.
# For copying and distribution information, see the file "mit-copyright.h."
#
#       $Source: /afs/sipb/project/sipb-athena/src/olh/RCS/Imakefile,v $
#       $Id: Imakefile,v 1.15 1995/12/25 02:03:01 ghudson Exp $
#       $Author: ghudson $
#


#define IHaveSubdirs
#if HaveMotif
SUBDIRS= libmenu logger ascii motif
#else
SUBDIRS= libmenu logger ascii
#endif

all::

world::
	make ${MFLAGS} Makefile
	@make ${MFLAGS} -f Makefile world2

world2:
	make ${MFLAGS} Makefiles
	make ${MFLAGS} depend
	make ${MFLAGS} all
mytags::
	make ${MFLAGS} olh_ascii_tags olh_motif_tags

olh_motif_tags::
	$(TAGS) ../include//**/*.[ch] libmenu//**/*.[ch] motif//**/*.[ch]
	$(MV) TAGS TAGS.motif

olh_ascii_tags::
	$(TAGS) ../include//**/*.[ch] libmenu//**/*.[ch] ascii//**/*.[ch]
	$(MV) TAGS TAGS.ascii

InstallScript(olh,$(DESTDIR)/usr/athena/bin)
InstallNonExec(olh.1,$(DESTDIR)/usr/athena/man/man1)


