Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
561N/A#
561N/A# CDDL HEADER START
561N/A#
561N/A# The contents of this file are subject to the terms of the
561N/A# Common Development and Distribution License, Version 1.0 only
561N/A# (the "License"). You may not use this file except in compliance
561N/A# with the License.
561N/A#
561N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
561N/A# or http://www.opensolaris.org/os/licensing.
561N/A# See the License for the specific language governing permissions
561N/A# and limitations under the License.
561N/A#
561N/A# When distributing Covered Code, include this CDDL HEADER in each
561N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
561N/A# If applicable, add the following below this CDDL HEADER, with the
561N/A# fields enclosed by brackets "[]" replaced with your own identifying
561N/A# information: Portions Copyright [yyyy] [name of copyright owner]
561N/A#
561N/A# CDDL HEADER END
561N/A#
561N/A#
561N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
561N/A# Use is subject to license terms.
561N/A#
561N/A# ident "%Z%%M% %I% %E% SMI"
561N/A#
561N/A
561N/Ainclude $(SRC)/Makefile.psm
561N/A
561N/A# include library definitions
561N/Ainclude $(SRC)/lib/Makefile.lib
561N/A
561N/AROOT_PLATFORM = $(USR_PLAT_DIR)/SUNW,Sun-Fire-V890
561N/ADAK_LINKTO_PLATFORM = SUNW,Sun-Fire-880
561N/A
561N/Ainclude $(SRC)/cmd/picl/plugins/Makefile.com
561N/A
561N/AROOTLIBDIR = $(ROOT_PLAT_PLUGINDIR)
561N/AROOTLIBDIR := OWNER = root
561N/AROOTLIBDIR := GROUP = sys
561N/A
561N/A.KEEP_STATE:
561N/A
SUBDIRS=
all := TARGET= all
install := TARGET= install
clean := TARGET= clean
clobber := TARGET= clobber
lint := TARGET= lint
_msg := TARGET= _msg
all:
install: $(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 ../../../../$(DAK_LINKTO_PLATFORM)/lib/picl/plugins/libpiclfrutree.so.1 libpiclfrutree.so.1; \
ln -s ../../../../$(DAK_LINKTO_PLATFORM)/lib/picl/plugins/libpiclfrutree.so libpiclfrutree.so; \
ln -s ../../../../$(DAK_LINKTO_PLATFORM)/lib/picl/plugins/piclfrutree.conf piclfrutree.conf`