Makefile revision 8d483882aa3390058094b043f3d62187b5d1de03
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt#
794b79e6bbc3f5db1ea6ae154d739b9f1ef1a375Tinderbox User# CDDL HEADER START
9210d8796eaf4125ac58c034f9b5ca167857a55aAutomatic Updater#
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater# The contents of this file are subject to the terms of the
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt# Common Development and Distribution License (the "License").
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt# You may not use this file except in compliance with the License.
9210d8796eaf4125ac58c034f9b5ca167857a55aAutomatic Updater#
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt# or http://www.opensolaris.org/os/licensing.
9210d8796eaf4125ac58c034f9b5ca167857a55aAutomatic Updater# See the License for the specific language governing permissions
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt# and limitations under the License.
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt#
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt# When distributing Covered Code, include this CDDL HEADER in each
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt# If applicable, add the following below this CDDL HEADER, with the
ea94d370123a5892f6c47a97f21d1b28d44bb168Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt#
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt# CDDL HEADER END
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt#
852ccdd42a71550c974111b49415204ffeca6573Automatic Updater#
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt#ident "%Z%%M% %I% %E% SMI"
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt#
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt# Use is subject to license terms.
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt#
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt# cmd/devfsadm/Makefile
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt#
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt
351b62535d4c4f89883bfdba025999dd32490266Evan HuntDEFAULTFILES = devfsadm.dfl
ec899c963c91c16c393e067996400ae244921110Tinderbox User
ec899c963c91c16c393e067996400ae244921110Tinderbox UserETCDEVFILES=reserved_devnames
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt
351b62535d4c4f89883bfdba025999dd32490266Evan Huntinclude ../Makefile.cmd
ec899c963c91c16c393e067996400ae244921110Tinderbox User
ec899c963c91c16c393e067996400ae244921110Tinderbox User#
ec899c963c91c16c393e067996400ae244921110Tinderbox User# One for each ISA.
f5ae3cca1d2832239cc821bdef77e90c1739e66dTinderbox User#
ec899c963c91c16c393e067996400ae244921110Tinderbox UserSUBDIRS = $(MACH)
ec899c963c91c16c393e067996400ae244921110Tinderbox User
ec899c963c91c16c393e067996400ae244921110Tinderbox Userall := TARGET= all
ec899c963c91c16c393e067996400ae244921110Tinderbox Userinstall := TARGET= install
ec899c963c91c16c393e067996400ae244921110Tinderbox Userclean := TARGET= clean
ec899c963c91c16c393e067996400ae244921110Tinderbox Userclobber := TARGET= clobber
ec899c963c91c16c393e067996400ae244921110Tinderbox User_msg := TARGET= _msg
ec899c963c91c16c393e067996400ae244921110Tinderbox Userlint := TARGET= lint
ec899c963c91c16c393e067996400ae244921110Tinderbox User
351b62535d4c4f89883bfdba025999dd32490266Evan HuntROOTETCDEV= $(ROOTETC)/dev
351b62535d4c4f89883bfdba025999dd32490266Evan HuntROOTETCDEVFILES=$(ETCDEVFILES:%=$(ROOTETCDEV)/%)
ec899c963c91c16c393e067996400ae244921110Tinderbox User$(ROOTETCDEV) := DIRMODE= 755
ec899c963c91c16c393e067996400ae244921110Tinderbox User$(ROOTETCDEV) := OWNER= root
ec899c963c91c16c393e067996400ae244921110Tinderbox User$(ROOTETCDEV) := GROUP= sys
ec899c963c91c16c393e067996400ae244921110Tinderbox User$(ROOTETCDEVFILES) := OWNER = root
ec899c963c91c16c393e067996400ae244921110Tinderbox User$(ROOTETCDEVFILES) := GROUP = sys
ec899c963c91c16c393e067996400ae244921110Tinderbox User$(ROOTETCDEVFILES) := FILEMODE = 0644
ec899c963c91c16c393e067996400ae244921110Tinderbox User
ec899c963c91c16c393e067996400ae244921110Tinderbox User.KEEP_STATE:
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt
351b62535d4c4f89883bfdba025999dd32490266Evan Huntall: $(SUBDIRS) $(ETCDEVFILES)
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt
ec899c963c91c16c393e067996400ae244921110Tinderbox Userclean lint _msg: $(SUBDIRS)
ec899c963c91c16c393e067996400ae244921110Tinderbox User
ec899c963c91c16c393e067996400ae244921110Tinderbox Userclobber: $(SUBDIRS)
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt $(RM) $(ROOTETCDEVFILES)
ec899c963c91c16c393e067996400ae244921110Tinderbox User
ec899c963c91c16c393e067996400ae244921110Tinderbox Userinstall: $(SUBDIRS) $(ROOTETCDEFAULTFILES) $(ROOTETCDEVFILES)
ec899c963c91c16c393e067996400ae244921110Tinderbox User
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt$(ROOTETCDEV):
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt $(INS.dir)
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt
ec899c963c91c16c393e067996400ae244921110Tinderbox User$(ROOTETCDEV)/% : % $(ROOTETCDEV)
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt $(INS.file)
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt$(SUBDIRS): FRC
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt @cd $@; pwd; $(MAKE) $(TARGET)
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt
351b62535d4c4f89883bfdba025999dd32490266Evan HuntFRC:
ec899c963c91c16c393e067996400ae244921110Tinderbox User