Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll#
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll# CDDL HEADER START
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll#
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll# The contents of this file are subject to the terms of the
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll# Common Development and Distribution License, Version 1.0 only
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll# (the "License"). You may not use this file except in compliance
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll# with the License.
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll#
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll# or http://www.opensolaris.org/os/licensing.
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll# See the License for the specific language governing permissions
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll# and limitations under the License.
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll#
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll# When distributing Covered Code, include this CDDL HEADER in each
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll# If applicable, add the following below this CDDL HEADER, with the
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll# fields enclosed by brackets "[]" replaced with your own identifying
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll# information: Portions Copyright [yyyy] [name of copyright owner]
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll#
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll# CDDL HEADER END
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll#
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll#
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll# Use is subject to license terms.
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll#
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll#pragma ident "%Z%%M% %I% %E% SMI"
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersollinclude $(SRC)/Makefile.psm
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll# include library definitions
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersollinclude $(SRC)/lib/Makefile.lib
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys IngersollPLATFORM = SUNW,Netra-CP2300
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys IngersollROOT_PLATFORM = $(USR_PLAT_DIR)/$(PLATFORM)
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersollinclude $(SRC)/cmd/picl/plugins/Makefile.com
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys IngersollROOTLIBDIR = $(ROOT_PLAT_PLUGINDIR)
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys IngersollROOTLIBDIR := OWNER = root
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys IngersollROOTLIBDIR := GROUP = sys
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys IngersollCONF_2300 = SUNW,Netra-CP2300.conf SUNW,Netra-CP2300.RTM.conf envmond.conf
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys IngersollROOTCONF_2300 = $(CONF_2300:%=$(ROOTLIBDIR)/%)
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll$(ROOTCONF_2300) := FILEMODE = 0644
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys IngersollROOTLINTDIR_2300 = $(ROOTLIBDIR)
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll.KEEP_STATE:
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys IngersollSUBDIRS=
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersollall := TARGET= all
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersollinstall := TARGET= install
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersollclean := TARGET= clean
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersollclobber := TARGET= clobber
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersolllint := TARGET= lint
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersoll
47e946e784719ae402ace34695f67b0e6e76ae5cWyllys Ingersollall:
install: $(ROOTLIBDIR) $(ROOTCONF_2300)
$(CONF_2300): FRC
$(RM) $(ROOTLIBPLUGINDIR)/$@
$(INS) -s -m 0644 -f $(ROOT_PLAT_PLUGINDIR) $@
# include library targets
include $(SRC)/lib/Makefile.targ
include $(SRC)/cmd/picl/plugins/Makefile.targ
$(ROOTLINTDIR_2300)/%: ../%
$(INS.file)
lint:
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC: