1*6bbe0590SSundeep Panicker# 2*6bbe0590SSundeep Panicker# CDDL HEADER START 3*6bbe0590SSundeep Panicker# 4*6bbe0590SSundeep Panicker# The contents of this file are subject to the terms of the 5*6bbe0590SSundeep Panicker# Common Development and Distribution License (the "License"). 6*6bbe0590SSundeep Panicker# You may not use this file except in compliance with the License. 7*6bbe0590SSundeep Panicker# 8*6bbe0590SSundeep Panicker# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*6bbe0590SSundeep Panicker# or http://www.opensolaris.org/os/licensing. 10*6bbe0590SSundeep Panicker# See the License for the specific language governing permissions 11*6bbe0590SSundeep Panicker# and limitations under the License. 12*6bbe0590SSundeep Panicker# 13*6bbe0590SSundeep Panicker# When distributing Covered Code, include this CDDL HEADER in each 14*6bbe0590SSundeep Panicker# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*6bbe0590SSundeep Panicker# If applicable, add the following below this CDDL HEADER, with the 16*6bbe0590SSundeep Panicker# fields enclosed by brackets "[]" replaced with your own identifying 17*6bbe0590SSundeep Panicker# information: Portions Copyright [yyyy] [name of copyright owner] 18*6bbe0590SSundeep Panicker# 19*6bbe0590SSundeep Panicker# CDDL HEADER END 20*6bbe0590SSundeep Panicker# 21*6bbe0590SSundeep Panicker# 22*6bbe0590SSundeep Panicker# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23*6bbe0590SSundeep Panicker# Use is subject to license terms. 24*6bbe0590SSundeep Panicker# 25*6bbe0590SSundeep Panicker 26*6bbe0590SSundeep Panicker# include library definitions 27*6bbe0590SSundeep Panickerinclude $(SRC)/Makefile.psm 28*6bbe0590SSundeep Panickerinclude $(SRC)/lib/Makefile.lib 29*6bbe0590SSundeep Panicker 30*6bbe0590SSundeep PanickerCONF = fru_container.conf 31*6bbe0590SSundeep PanickerROOT_PICL_DIR = $(ROOT)/usr/lib/picl 32*6bbe0590SSundeep PanickerROOT_PLUGIN_DIR = $(ROOT_PICL_DIR)/plugins 33*6bbe0590SSundeep PanickerROOTCONF = $(CONF:%=$(ROOT_PLUGIN_DIR)/%) 34*6bbe0590SSundeep Panicker 35*6bbe0590SSundeep Panicker$(ROOT_PICL_DIR) := DIRMODE = 0755 36*6bbe0590SSundeep Panicker$(ROOT_PLUGIN_DIR) := DIRMODE = 0755 37*6bbe0590SSundeep Panicker$(ROOTCONF) := FILEMODE = 0644 38*6bbe0590SSundeep Panicker 39*6bbe0590SSundeep Panicker.KEEP_STATE: 40*6bbe0590SSundeep Panicker 41*6bbe0590SSundeep Panickerall: $(CONF) 42*6bbe0590SSundeep Panicker 43*6bbe0590SSundeep Panickerinstall: all $(ROOTCONF) 44*6bbe0590SSundeep Panicker 45*6bbe0590SSundeep Panicker$(ROOT_PICL_DIR): 46*6bbe0590SSundeep Panicker $(INS.dir) 47*6bbe0590SSundeep Panicker 48*6bbe0590SSundeep Panicker$(ROOT_PLUGIN_DIR): $(ROOT_PICL_DIR) 49*6bbe0590SSundeep Panicker $(INS.dir) 50*6bbe0590SSundeep Panicker 51*6bbe0590SSundeep Panicker$(ROOT_PLUGIN_DIR)/%: % $(ROOT_PLUGIN_DIR) 52*6bbe0590SSundeep Panicker $(INS.file) 53*6bbe0590SSundeep Panicker 54*6bbe0590SSundeep Panicker# include library targets 55*6bbe0590SSundeep Panickerinclude $(SRC)/lib/Makefile.targ 56*6bbe0590SSundeep Panicker 57