Makefile revision ead1f93ee620d7580f7e53350fe5a884fc4f158a
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk#
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk# CDDL HEADER START
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk#
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk# The contents of this file are subject to the terms of the
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk# Common Development and Distribution License (the "License").
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk# You may not use this file except in compliance with the License.
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk#
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk# or http://www.opensolaris.org/os/licensing.
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk# See the License for the specific language governing permissions
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk# and limitations under the License.
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk#
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk# When distributing Covered Code, include this CDDL HEADER in each
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk# If applicable, add the following below this CDDL HEADER, with the
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk# fields enclosed by brackets "[]" replaced with your own identifying
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk# information: Portions Copyright [yyyy] [name of copyright owner]
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk#
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk# CDDL HEADER END
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk#
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk#
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk# Use is subject to license terms.
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk#
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenkPROG= profile .login ksh.kshrc system
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenkPROGSKEL= local.login local.profile local.cshrc .profile
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenkPROGROOT= .profile .bashrc
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenkinclude ../Makefile.cmd
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenkROOTROOT= $(ROOT)/root
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenkROOTETCSKEL= $(ROOTETC)/skel
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenkROOTETCSKELPROG= $(PROGSKEL:%=$(ROOTETCSKEL)/%)
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenkROOTROOTPROG= $(PROGROOT:%=$(ROOTROOT)/%)
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenkFILEMODE= 0644
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenkCLOBBERFILES = profile .bashrc .profile .login
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk.login: login.csh
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk $(RM) .login;
dff2cc5646d4437ab9e0cb1dcb59da65462a5938jeff.schenk $(CP) login.csh .login
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk
dff2cc5646d4437ab9e0cb1dcb59da65462a5938jeff.schenkprofile: etc-profile.sh
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk $(RM) profile
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk $(CP) etc-profile.sh $@
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk
dff2cc5646d4437ab9e0cb1dcb59da65462a5938jeff.schenk.profile: dot-profile.sh
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk $(RM) .profile
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk $(CP) dot-profile.sh $@
dff2cc5646d4437ab9e0cb1dcb59da65462a5938jeff.schenk
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk.bashrc: bashrc.sh
dff2cc5646d4437ab9e0cb1dcb59da65462a5938jeff.schenk $(RM) .bashrc
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk $(CP) bashrc.sh $@
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk.KEEP_STATE:
dff2cc5646d4437ab9e0cb1dcb59da65462a5938jeff.schenk
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenkall: $(PROG) $(PROGSKEL)
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk$(ROOTROOT)/% \
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk$(ROOTETCSKEL)/%: %
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk $(INS.file)
dff2cc5646d4437ab9e0cb1dcb59da65462a5938jeff.schenk
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk$(ROOTROOT) \
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk$(ROOTETCSKEL):
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk $(INS.dir)
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenkinstall: all $(ROOTETCSKEL) $(ROOTETCPROG) $(ROOTETCSKELPROG) $(ROOTROOTPROG)
dff2cc5646d4437ab9e0cb1dcb59da65462a5938jeff.schenk
dff2cc5646d4437ab9e0cb1dcb59da65462a5938jeff.schenkclean:
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenkclobber:
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk $(RM) $(CLOBBERFILES)
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk
dff2cc5646d4437ab9e0cb1dcb59da65462a5938jeff.schenklint:
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk