Files
Arquivotheca.Solaris-2.5/cmd/aset/util/Makefile
seta75D 7c4988eac0 Init
2021-10-11 19:38:01 -03:00

43 lines
671 B
Makefile
Executable File

#
#ident "@(#)Makefile 1.1 91/07/26 SMI"
#
# Copyright (c) 1991 by Sun Microsystems, Inc.
#
# cmd/aset/util/Makefile
PROG= geteuid homedir is_readable is_writable minmode realpath str_to_mode
SCRIPTS= addcksum file_attr taskstat
include ../../Makefile.cmd
SRCS= $(PROG:=.c)
# we assume Makefile above created ROOTDIR
ROOTDIR= $(ROOT)/usr/aset/util
ROOTPROG= $(PROG:%=$(ROOTDIR)/%)
ROOTSCRIPTS= $(SCRIPTS:%=$(ROOTDIR)/%)
DIRMODE= 700
FILEMODE= 700
OWNER= root
CLOBBERFILES= $(SCRIPTS)
# install rule
$(ROOTDIR)/%: %
$(INS.file)
.KEEP_STATE:
all: $(PROG) $(SCRIPTS)
install: all $(ROOTPROG) $(ROOTSCRIPTS)
lint: lint_SRCS
clean:
include ../../Makefile.targ