Makefile revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4
4135N/A#
4135N/A# CDDL HEADER START
4135N/A#
4135N/A# The contents of this file are subject to the terms of the
4135N/A# Common Development and Distribution License (the "License").
4135N/A# You may not use this file except in compliance with the License.
4135N/A#
4135N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4135N/A# or http://www.opensolaris.org/os/licensing.
4135N/A# See the License for the specific language governing permissions
4135N/A# and limitations under the License.
4135N/A#
4135N/A# When distributing Covered Code, include this CDDL HEADER in each
4135N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4135N/A# If applicable, add the following below this CDDL HEADER, with the
4135N/A# fields enclosed by brackets "[]" replaced with your own identifying
4135N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4135N/A#
4135N/A# CDDL HEADER END
4135N/A#
4135N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
4135N/A# Use is subject to license terms.
4135N/A#
4135N/A# cmd/modload/Makefile
4135N/A#
4135N/A# makefile for loadable module utilities
4135N/A
4135N/ADRVPROG = add_drv rem_drv update_drv
4135N/AMODPROG = modinfo modunload modload
4135N/APROG = $(MODPROG) $(DRVPROG)
4135N/A
4135N/Ainclude ../Makefile.cmd
4135N/A
4135N/AROOTUSRSBINLINKS= $(PROG:%=$(ROOTUSRSBIN)/%)
4135N/A
4135N/AETCSEC = $(ROOTETC)/security
4135N/AXPRIV = $(ETCSEC)/extra_privs
4135N/A
4135N/A$(XPRIV) := FILEMODE = 644
4135N/A
4135N/A$(64ONLY)SUBDIRS= $(MACH)
4135N/A$(BUILD64)SUBDIRS += $(MACH64)
4135N/A
4135N/Aall := TARGET = all
4135N/Ainstall := TARGET = install
4135N/Aclean := TARGET = clean
4135N/Aclobber := TARGET = clobber
4135N/Alint := TARGET = lint
4135N/A
4135N/A.KEEP_STATE:
4135N/A
4135N/Aall: $(SUBDIRS)
4135N/A
4135N/Aclean clobber lint: $(SUBDIRS)
4135N/A
4135N/Ainstall: $(SUBDIRS) $(XPRIV) $(ROOTUSRSBINLINKS)
4135N/A
4135N/A$(SUBDIRS): FRC
4135N/A @cd $@; pwd; $(MAKE) $(TARGET)
4135N/A
4135N/A$(ROOTUSRSBINLINKS): FRC
4135N/A -$(RM) $@; $(LN) $(ISAEXEC) $@
4135N/A
4135N/AFRC:
4135N/A
4135N/A$(ETCSEC)/%: %
4135N/A $(INS.file)
4135N/A
4135N/Ainclude ../Makefile.targ