17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5*8d483882Smlf# Common Development and Distribution License (the "License"). 6*8d483882Smlf# You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate# 87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate# and limitations under the License. 127c478bd9Sstevel@tonic-gate# 137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate# 197c478bd9Sstevel@tonic-gate# CDDL HEADER END 207c478bd9Sstevel@tonic-gate# 217c478bd9Sstevel@tonic-gate# 227c478bd9Sstevel@tonic-gate#ident "%Z%%M% %I% %E% SMI" 237c478bd9Sstevel@tonic-gate# 24*8d483882Smlf# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 25a7872406Smeem# Use is subject to license terms. 267c478bd9Sstevel@tonic-gate# 277c478bd9Sstevel@tonic-gate# cmd/devfsadm/Makefile 287c478bd9Sstevel@tonic-gate# 297c478bd9Sstevel@tonic-gate 30a7872406SmeemDEFAULTFILES = devfsadm.dfl 31a7872406Smeem 32*8d483882SmlfETCDEVFILES=reserved_devnames 33*8d483882Smlf 34a7872406Smeeminclude ../Makefile.cmd 35a7872406Smeem 367c478bd9Sstevel@tonic-gate# 377c478bd9Sstevel@tonic-gate# One for each ISA. 387c478bd9Sstevel@tonic-gate# 397c478bd9Sstevel@tonic-gateSUBDIRS = $(MACH) 407c478bd9Sstevel@tonic-gate 417c478bd9Sstevel@tonic-gateall := TARGET= all 427c478bd9Sstevel@tonic-gateinstall := TARGET= install 437c478bd9Sstevel@tonic-gateclean := TARGET= clean 447c478bd9Sstevel@tonic-gateclobber := TARGET= clobber 457c478bd9Sstevel@tonic-gate_msg := TARGET= _msg 467c478bd9Sstevel@tonic-gatelint := TARGET= lint 477c478bd9Sstevel@tonic-gate 48*8d483882SmlfROOTETCDEV= $(ROOTETC)/dev 49*8d483882SmlfROOTETCDEVFILES=$(ETCDEVFILES:%=$(ROOTETCDEV)/%) 50*8d483882Smlf$(ROOTETCDEV) := DIRMODE= 755 51*8d483882Smlf$(ROOTETCDEV) := OWNER= root 52*8d483882Smlf$(ROOTETCDEV) := GROUP= sys 53*8d483882Smlf$(ROOTETCDEVFILES) := OWNER = root 54*8d483882Smlf$(ROOTETCDEVFILES) := GROUP = sys 55*8d483882Smlf$(ROOTETCDEVFILES) := FILEMODE = 0644 56*8d483882Smlf 577c478bd9Sstevel@tonic-gate.KEEP_STATE: 587c478bd9Sstevel@tonic-gate 59*8d483882Smlfall: $(SUBDIRS) $(ETCDEVFILES) 60a7872406Smeem 61*8d483882Smlfclean lint _msg: $(SUBDIRS) 62*8d483882Smlf 63*8d483882Smlfclobber: $(SUBDIRS) 64*8d483882Smlf $(RM) $(ROOTETCDEVFILES) 65*8d483882Smlf 66*8d483882Smlfinstall: $(SUBDIRS) $(ROOTETCDEFAULTFILES) $(ROOTETCDEVFILES) 67*8d483882Smlf 68*8d483882Smlf$(ROOTETCDEV): 69*8d483882Smlf $(INS.dir) 70*8d483882Smlf 71*8d483882Smlf$(ROOTETCDEV)/% : % $(ROOTETCDEV) 72*8d483882Smlf $(INS.file) 737c478bd9Sstevel@tonic-gate 747c478bd9Sstevel@tonic-gate$(SUBDIRS): FRC 757c478bd9Sstevel@tonic-gate @cd $@; pwd; $(MAKE) $(TARGET) 767c478bd9Sstevel@tonic-gate 777c478bd9Sstevel@tonic-gateFRC: 78