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

41 lines
599 B
Makefile
Executable File

#
#ident "@(#)Makefile 1.6 92/12/15 SMI"
#
# Copyright (c) 1989 by Sun Microsystems, Inc.
#
PROG= look
DATADIR= dict
DATA= words
include ../Makefile.cmd
ROOTDATADIR= $(ROOTSHLIB)/$(DATADIR)
ROOTDATA= $(DATA:%=$(ROOTDATADIR)/%)
# Targetdirs installs /usr/lib. Don't re-install it
#DIRS= $(ROOTLIB) $(ROOTDATADIR)
DIRS= $(ROOTDATADIR)
FILEMODE= 755
$(ROOTDATADIR)/$(DATA):= FILEMODE=444
.KEEP_STATE:
$(ROOTDATADIR)/% : % $(ROOTDATADIR)
$(INS.file)
all: $(PROG) $(DATA)
install: all $(ROOTPROG) $(DIRS) $(ROOTDATA)
$(DIRS):
$(INS.dir)
clean:
lint: lint_PROG
include ../Makefile.targ