#
# |-----------------------------------------------------------|
# | Copyright (c) 1991, 1990 MIPS Computer Systems, Inc.      |
# | All Rights Reserved                                       |
# |-----------------------------------------------------------|
# |          Restricted Rights Legend                         |
# | Use, duplication, or disclosure by the Government is      |
# | subject to restrictions as set forth in                   |
# | subparagraph (c)(1)(ii) of the Rights in Technical        |
# | Data and Computer Software Clause of DFARS 252.227-7013.  |
# |         MIPS Computer Systems, Inc.                       |
# |         950 DeGuigne Avenue                               |
# |         Sunnyvale, California 94088-3650, USA             |
# |-----------------------------------------------------------|
#
# $Header: Makefile,v 1.9.2.1 92/06/24 13:30:03 marker Exp $
#
SHELL	=/bin/sh
ETCDIR	=/etc

ULIBDIR	=$(CROSSROOT)/usr/share/lib
ARCHIVE	=$(ULIBDIR)/help/replace

DESTROOT=

WHEREIGO=$(DESTROOT)/usr/share/lib/help/db

OBJS	=

SRCS	=ar at basename batch bdiff cat cd chgrp chmod chown cmp comm cp \
	cpio crontab cut date diff diff3 dircmp dirname echo ed egrep env \
	expr false fgrep file find glossary grep help kill line ln locate \
	login ls mail mesg mkdir mv news nice nohup pack passwd pcat pdp11 \
	pr ps pwd red rm rmdir rsh sdiff sed sh shl sleep sort starter stty \
	sum tabs tail tee test time touch true tty u3b2 u3b5 umask uname \
	unpack usage vax wait wall wc who write xargs

HDRS	=

WHOAMI	=descriptions.a

INSTALL	=$(ETCDIR)/mipsinstall
MODE	=664
OWNER	=root
GROUP	=daemon
ICOPY	=-c
INSTOPTS=$(ICOPY) -m $(MODE) -o $(OWNER) -g $(GROUP)

all: $(WHOAMI)

install: $(WHOAMI)
	$(INSTALL) $(INSTOPTS) $(WHOAMI) $(WHEREIGO)

$(WHOAMI): $(SRCS)
	$(ARCHIVE) $(WHOAMI) $(SRCS)

clean:

clobber: clean
	-rm -f $(WHOAMI)

generic:
	$(GENERIC) -s $(SRCS) -h $(HDRS) -o $(OBJS) -p $(WHOAMI) \
		$(INCLUDE) -R$(DESTROOT) -D$(WHEREIGO)
