Makefile revision 13cfc9727689eaa4573ca1edb5dd32f9adc5e18c
2810N/A#
2810N/A# CDDL HEADER START
2810N/A#
2810N/A# The contents of this file are subject to the terms of the
6033N/A# Common Development and Distribution License (the "License").
6033N/A# You may not use this file except in compliance with the License.
2810N/A#
2810N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2810N/A# or http://www.opensolaris.org/os/licensing.
2810N/A# See the License for the specific language governing permissions
2810N/A# and limitations under the License.
2810N/A#
2810N/A# When distributing Covered Code, include this CDDL HEADER in each
2810N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2810N/A# If applicable, add the following below this CDDL HEADER, with the
2810N/A# fields enclosed by brackets "[]" replaced with your own identifying
2810N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2810N/A#
2810N/A# CDDL HEADER END
2810N/A#
2810N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
2900N/A# Use is subject to license terms.
2810N/A#
2810N/A# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
2810N/A#
2810N/A
2810N/APROG= terminfo
2810N/ATABSETSRC= 3101 beehive hds hds3 std stdcrt teleray vt100 wyse-adds xerox1720
2810N/ATERMCAPSRC= termcap.src
2810N/ATERMINFOSRC= terminfo.src
2810N/A
2810N/Ainclude ../Makefile.cmd
2810N/A
2810N/AFILEMODE= 0644
2810N/A
6033N/ATIC= /usr/bin/tic
6033N/A
2810N/AROOTSHARELIBDIR = $(ROOT)/usr/share/lib
2810N/AROOTTABDIR = $(ROOTSHARELIBDIR)/tabset
2810N/AROOTTERMDIR = $(ROOTSHARELIBDIR)/terminfo
2810N/ADIRS = $(ROOTTERMDIR) $(ROOTTABDIR)
2810N/A
2810N/AROOTSYMLINK = $(ROOTETC)/termcap
2810N/ARELROOTETC = ../usr/share/lib
2810N/AROOTLIBSYMLINK = $(ROOTLIB)/tabset
2810N/ARELROOTLIB = ../share/lib
2810N/A
2810N/AROOTTABSET = $(TABSETSRC:%=$(ROOTTABDIR)/%)
2810N/A
2810N/A$(ROOTTABDIR)/%: tabset/%
2810N/A $(INS.file)
2810N/A
6033N/A.KEEP_STATE:
2810N/A
2810N/Aall: $(TERMCAPSRC) $(TERMINFOSRC)
2810N/A
2810N/A$(DIRS):
2810N/A $(INS.dir)
2810N/A
2810N/A$(ROOTTERMDIR)/s/sun: $(TERMINFOSRC)
2810N/A TERMINFO=$(ROOTTERMDIR) $(TIC) $(TERMINFOSRC) 2>/dev/null
2810N/A
2810N/A$(ROOTSHARELIBDIR)/termcap:
2810N/A $(EGREP) -v '^(#|$$)' $(TERMCAPSRC) > $@
2900N/A
2810N/Ainstall: all $(ROOTTERMDIR) $(ROOTTERMDIR)/s/sun $(ROOTTABDIR) \
6033N/A $(ROOTTABSET) $(ROOTSHARELIBDIR)/termcap $(ROOTSYMLINK) \
6033N/A $(ROOTLIBSYMLINK)
2810N/A
2810N/A$(ROOTSYMLINK):
2810N/A $(RM) $@; $(SYMLINK) $(RELROOTETC)/termcap $@
2810N/A
2810N/A$(ROOTLIBSYMLINK):
2810N/A $(RM) $@; $(SYMLINK) $(RELROOTLIB)/tabset $@
2810N/A
2810N/Alint:
2810N/A
2810N/Aclean:
2810N/A
2810N/Aclobber:
2810N/A