15234Smcwalter# 25234Smcwalter# CDDL HEADER START 35234Smcwalter# 45234Smcwalter# The contents of this file are subject to the terms of the 55234Smcwalter# Common Development and Distribution License (the "License"). 65234Smcwalter# You may not use this file except in compliance with the License. 75234Smcwalter# 85234Smcwalter# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 95234Smcwalter# or http://www.opensolaris.org/os/licensing. 105234Smcwalter# See the License for the specific language governing permissions 115234Smcwalter# and limitations under the License. 125234Smcwalter# 135234Smcwalter# When distributing Covered Code, include this CDDL HEADER in each 145234Smcwalter# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 155234Smcwalter# If applicable, add the following below this CDDL HEADER, with the 165234Smcwalter# fields enclosed by brackets "[]" replaced with your own identifying 175234Smcwalter# information: Portions Copyright [yyyy] [name of copyright owner] 185234Smcwalter# 195234Smcwalter# CDDL HEADER END 205234Smcwalter# 21*10207SJames.McPherson@Sun.COM# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 225234Smcwalter# Use is subject to license terms. 235234Smcwalter# 245234Smcwalter# Makefile for /etc/flash/ 255234Smcwalter# 265234Smcwalter# 275234Smcwalter# cmd/netadm/etc/Makefile 285234Smcwalter 295234Smcwalterinclude ../../Makefile.cmd 305234Smcwalter 315234SmcwalterFLASHTTYDEFS= ttydefs.cleanup.sh 325234SmcwalterFLASHPOSTPROG= $(FLASHTTYDEFS:%.sh=%) 335234Smcwalter 345234SmcwalterETCFLASHD= $(ROOTETC)/flash 355234SmcwalterETCFLASHPOSTD= $(ROOTETC)/flash/postdeployment 365234Smcwalter 375234SmcwalterDIRS= $(ETCFLASHD) $(ETCFLASHPOSTD) 385234Smcwalter 395234SmcwalterETCFLASHPOSTPROG= $(FLASHPOSTPROG:%=$(ETCFLASHPOSTD)/%) 405234Smcwalter 415234Smcwalter$(ETCFLASHD) := DIRMODE= 755 425234Smcwalter$(ETCFLASHPOSTD) := DIRMODE= 755 435234Smcwalter$(ETCFLASHPOSTPROG) := FILEMODE= 0744 445234Smcwalter 455234Smcwalter.KEEP_STATE: 465234Smcwalter 475234Smcwalterall: $(FLASHPOSTPROG) 485234Smcwalter 495234Smcwalterinstall: all .WAIT $(DIRS) .WAIT $(ETCFLASHPOSTPROG) 505234Smcwalter 515234Smcwaltercstyle: 525234Smcwalter 535234Smcwalterlint: 545234Smcwalter 555234Smcwalter$(DIRS): 565234Smcwalter $(INS.dir) 575234Smcwalter 585234Smcwalter$(ETCFLASHPOSTD)/% : % 595234Smcwalter $(INS.file) 605234Smcwalter 615234Smcwalterclean: 625234Smcwalter $(RM) $(FLASHPOSTPROG) 63