# $Copyright:	$
# Copyright (c) 1984, 1985, 1986, 1987, 1988, 1989, 1990 
# Sequent Computer Systems, Inc.   All rights reserved.
#  
# This software is furnished under a license and may be used
# only in accordance with the terms of that license and with the
# inclusion of the above copyright notice.   This software may not
# be provided or otherwise made available to, or used by, any
# other person.  No title to or ownership of the software is
# hereby transferred.

#	Copyright (c) 1984 AT&T
#	  All Rights Reserved

#	THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
#	The copyright notice above does not evidence any
#	actual or intended publication of such source code.

#ident	"$Header: Makefile 1.3 89/10/10 $@(#)sadmin:shell/Makefile	2.5"
#	Makefile for shell
#	Generated Mon Aug 19 17:26:19 EDT 1985 from skeleton makefile:
#  sadmin:shell/SKELMakefile  1.4  /sccs/src/cmd/sadmin/shell/s.SKELMakefile

ROOT = /

DIR = $(ROOT)/usr/lbin

CMDS = admerr agefile disklabel diskumount drivename filecheck labelfsname \
largest lightenfs mktable oldfile rmjunk samedev selectdevice \
selpattern spacewatch 

PARTS = $(CMDS) restorefiles 

ALL: $&		$(PARTS)

install:	$(PARTS) remove
	umask 022;  ls $(PARTS)  |  cpio -pdu $(DIR)
	cd $(DIR);  chmod 555 $(PARTS)
	cd $(DIR);  chown root $(PARTS)
	cd $(DIR);  chgrp sys $(PARTS)

remove:
	cd $(DIR);  rm -f $(PARTS)

partslist:
	@echo Makefile SKELMakefile $(PARTS)  |  tr ' ' '\012'  |  sort
	
product:
	@echo $(PARTS)  |  tr ' ' '\012'  |  sed "s;^;$(DIR)/;"

productdir:
	@echo $(DIR)

clean:

clobber:

srcaudit:
	@(	find * -print;  \
		ls -d $(DIRECTORIES) $(PARTS) SKELMakefile Makefile  \
	)  |  sort  |  uniq -u  |  sed 's/$$/	unexpected/'

newmakefile:	../tools/genmakefile SKELMakefile
	cp Makefile OMakefile
	../tools/genmakefile SKELMakefile *Makefile >Makefile
	rm -f OMakefile
