Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
486N/A#
486N/A# CDDL HEADER START
486N/A#
486N/A# The contents of this file are subject to the terms of the
911N/A# Common Development and Distribution License, Version 1.0 only
851N/A# (the "License"). You may not use this file except in compliance
486N/A# with the License.
486N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
919N/A#
486N/A# ident "%Z%%M% %I% %E% SMI"
486N/A#
486N/A
486N/Ainclude $(SRC)/Makefile.psm
493N/A
486N/A# include library definitions
486N/Ainclude $(SRC)/lib/Makefile.lib
493N/A
486N/AROOT_PLATFORM = $(USR_PLAT_DIR)/SUNW,Sun-Fire-V490
911N/ACHERRY_LINKTO_PLATFORM = SUNW,Sun-Fire-480R
911N/A
911N/Ainclude $(SRC)/cmd/picl/plugins/Makefile.com
911N/A
486N/AROOTLIBDIR = $(ROOT_PLAT_PLUGINDIR)
486N/AROOTLIBDIR := OWNER = root
486N/AROOTLIBDIR := GROUP = sys
486N/A
486N/A.KEEP_STATE:
486N/A
493N/ASUBDIRS=
493N/A
493N/Aall := TARGET= all
493N/Ainstall := TARGET= install
486N/Aclean := TARGET= clean
851N/Aclobber := TARGET= clobber
851N/Alint := TARGET= lint
486N/A_msg := TARGET= _msg
486N/A
486N/Aall:
851N/A
851N/Ainstall: $(ROOTLIBDIR) all; $(MAKE) $(JAG_LINK)
_msg: $(MSGDOMAIN)
$(MSGDOMAIN):
$(INS.dir)
$(LIBLINKS): FRC
$(RM) $@; $(SYMLINK) $(DYNLIB) $@
# include library targets
include $(SRC)/lib/Makefile.targ
include $(SRC)/cmd/picl/plugins/Makefile.targ
$(ROOTLINTDIR)/%: ../%
$(INS.file)
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
JAG_LINK=`cd $(ROOT_PLATFORM)/lib/picl/plugins/; \
echo $(ROOT_PLATFORM); \
rm -f libpiclfrutree.so.1; \
rm -f libpiclfrutree.so; \
rm -f piclfrutree.conf; \
ln -s ../../../../$(CHERRY_LINKTO_PLATFORM)/lib/picl/plugins/libpiclfrutree.so.1 libpiclfrutree.so.1; \
ln -s ../../../../$(CHERRY_LINKTO_PLATFORM)/lib/picl/plugins/libpiclfrutree.so libpiclfrutree.so; \
ln -s ../../../../$(CHERRY_LINKTO_PLATFORM)/lib/picl/plugins/piclfrutree.conf piclfrutree.conf`