1*1d925b36Smcwalter# 2*1d925b36Smcwalter# CDDL HEADER START 3*1d925b36Smcwalter# 4*1d925b36Smcwalter# The contents of this file are subject to the terms of the 5*1d925b36Smcwalter# Common Development and Distribution License (the "License"). 6*1d925b36Smcwalter# You may not use this file except in compliance with the License. 7*1d925b36Smcwalter# 8*1d925b36Smcwalter# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*1d925b36Smcwalter# or http://www.opensolaris.org/os/licensing. 10*1d925b36Smcwalter# See the License for the specific language governing permissions 11*1d925b36Smcwalter# and limitations under the License. 12*1d925b36Smcwalter# 13*1d925b36Smcwalter# When distributing Covered Code, include this CDDL HEADER in each 14*1d925b36Smcwalter# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*1d925b36Smcwalter# If applicable, add the following below this CDDL HEADER, with the 16*1d925b36Smcwalter# fields enclosed by brackets "[]" replaced with your own identifying 17*1d925b36Smcwalter# information: Portions Copyright [yyyy] [name of copyright owner] 18*1d925b36Smcwalter# 19*1d925b36Smcwalter# CDDL HEADER END 20*1d925b36Smcwalter# 21*1d925b36Smcwalter# 22*1d925b36Smcwalter#pragma ident "%Z%%M% %I% %E% SMI" 23*1d925b36Smcwalter# 24*1d925b36Smcwalter# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 25*1d925b36Smcwalter# Use is subject to license terms. 26*1d925b36Smcwalter# 27*1d925b36Smcwalter# Makefile for /etc/flash/ 28*1d925b36Smcwalter# 29*1d925b36Smcwalter# 30*1d925b36Smcwalter# cmd/netadm/etc/Makefile 31*1d925b36Smcwalter 32*1d925b36Smcwalterinclude ../../Makefile.cmd 33*1d925b36Smcwalter 34*1d925b36SmcwalterFLASHTTYDEFS= ttydefs.cleanup.sh 35*1d925b36SmcwalterFLASHPOSTPROG= $(FLASHTTYDEFS:%.sh=%) 36*1d925b36Smcwalter 37*1d925b36SmcwalterETCFLASHD= $(ROOTETC)/flash 38*1d925b36SmcwalterETCFLASHPOSTD= $(ROOTETC)/flash/postdeployment 39*1d925b36Smcwalter 40*1d925b36SmcwalterDIRS= $(ETCFLASHD) $(ETCFLASHPOSTD) 41*1d925b36Smcwalter 42*1d925b36SmcwalterETCFLASHPOSTPROG= $(FLASHPOSTPROG:%=$(ETCFLASHPOSTD)/%) 43*1d925b36Smcwalter 44*1d925b36Smcwalter$(ETCFLASHD) := DIRMODE= 755 45*1d925b36Smcwalter$(ETCFLASHD) := OWNER= root 46*1d925b36Smcwalter$(ETCFLASHD) := GROUP= sys 47*1d925b36Smcwalter$(ETCFLASHPOSTD) := DIRMODE= 755 48*1d925b36Smcwalter$(ETCFLASHPOSTD) := OWNER= root 49*1d925b36Smcwalter$(ETCFLASHPOSTD) := GROUP= sys 50*1d925b36Smcwalter$(ETCFLASHPOSTPROG) := FILEMODE= 0744 51*1d925b36Smcwalter$(ETCFLASHPOSTPROG) := OWNER= root 52*1d925b36Smcwalter$(ETCFLASHPOSTPROG) := GROUP= sys 53*1d925b36Smcwalter 54*1d925b36Smcwalter.KEEP_STATE: 55*1d925b36Smcwalter 56*1d925b36Smcwalterall: $(FLASHPOSTPROG) 57*1d925b36Smcwalter 58*1d925b36Smcwalterinstall: all .WAIT $(DIRS) .WAIT $(ETCFLASHPOSTPROG) 59*1d925b36Smcwalter 60*1d925b36Smcwaltercstyle: 61*1d925b36Smcwalter 62*1d925b36Smcwalterlint: 63*1d925b36Smcwalter 64*1d925b36Smcwalter$(DIRS): 65*1d925b36Smcwalter $(INS.dir) 66*1d925b36Smcwalter 67*1d925b36Smcwalter$(ETCFLASHPOSTD)/% : % 68*1d925b36Smcwalter $(INS.file) 69*1d925b36Smcwalter 70*1d925b36Smcwalterclean: 71*1d925b36Smcwalter $(RM) $(FLASHPOSTPROG) 72