Makefile revision f841f6ad96ea6675d6c6b35c749eaac601799fdf
970N/A#
970N/A# CDDL HEADER START
970N/A#
970N/A# The contents of this file are subject to the terms of the
970N/A# Common Development and Distribution License (the "License").
970N/A# You may not use this file except in compliance with the License.
970N/A#
970N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
970N/A# or http://www.opensolaris.org/os/licensing.
970N/A# See the License for the specific language governing permissions
970N/A# and limitations under the License.
970N/A#
970N/A# When distributing Covered Code, include this CDDL HEADER in each
970N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
970N/A# If applicable, add the following below this CDDL HEADER, with the
970N/A# fields enclosed by brackets "[]" replaced with your own identifying
970N/A# information: Portions Copyright [yyyy] [name of copyright owner]
970N/A#
970N/A# CDDL HEADER END
970N/A#
970N/A
970N/A#
970N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
970N/A# Use is subject to license terms.
970N/A#
970N/A# ident "%Z%%M% %I% %E% SMI"
970N/A#
970N/A# cmd/picl/plugins/sun4v/mdesc/Makefile
970N/A#
970N/ALIBRARY= libmdescplugin.a
970N/AVERS= .1
970N/A
970N/AOBJS_DIR= pics
970N/A
970N/AOBJECTS= mdescplugin.o init.o dr.o \
970N/A cpu_prop_update.o disk_discovery.o \
970N/A mdesc_findname.o mdesc_findnodeprop.o \
970N/A mdesc_fini.o mdesc_getpropstr.o \
970N/A mdesc_getpropval.o mdesc_init_intern.o \
970N/A mdesc_nodecount.o mdesc_rootnode.o \
970N/A mdesc_scandag.o mdesc_getpropdata.o
970N/A
970N/A# include library definitions
970N/Ainclude $(SRC)/lib/Makefile.lib
970N/Ainclude $(SRC)/Makefile.psm
970N/A
970N/Ainclude $(SRC)/cmd/picl/plugins/Makefile.com
970N/A
970N/ASRCS= $(OBJECTS:%.o=%.c)
970N/A
970N/ALINT_SRC= ./mdescplugin.c ./init.c ./dr.c \
970N/A ./cpu_prop_update.c ./disk_discovery.c \
970N/A $(SRC)/common/mdesc/mdesc_findname.c \
970N/A $(SRC)/common/mdesc/mdesc_findnodeprop.c \
970N/A $(SRC)/common/mdesc/mdesc_fini.c \
970N/A $(SRC)/common/mdesc/mdesc_getpropdata.c \
970N/A $(SRC)/common/mdesc/mdesc_getpropstr.c \
970N/A $(SRC)/common/mdesc/mdesc_getpropval.c \
970N/A $(SRC)/common/mdesc/mdesc_init_intern.c \
970N/A $(SRC)/common/mdesc/mdesc_nodecount.c \
970N/A $(SRC)/common/mdesc/mdesc_rootnode.c \
970N/A $(SRC)/common/mdesc/mdesc_scandag.c
970N/A
970N/A$(OBJS_DIR)/%.o: $(SRC)/common/mdesc/%.c
970N/A $(COMPILE.c) -o $@ $<
970N/A $(CTFCONVERT_O)
970N/A
970N/ALIBS = $(DYNLIB)
970N/A
970N/AROOT_PLATFORM = $(USR_PLAT_DIR)/sun4v
970N/ADYNFLAGS_PLAT = /usr/platform/\$$PLATFORM/lib/picl/plugins
970N/ADYNFLAGS_SUN4V = /usr/platform/sun4v/lib/picl/plugins
970N/ADYNFLAGS_COM = /usr/lib/picl/plugins
970N/A
970N/AROOTLIBDIR = $(ROOT_PLAT_PLUGINDIR)
970N/A
970N/ACLEANFILES= $(LINTOUT) $(LINTLIB)
970N/A
970N/ACPPFLAGS += -I$(SRC)/common/mdesc
970N/ACPPFLAGS += -I$(SRC)/uts/common/sys
970N/ACPPFLAGS += -D_REENTRANT
970N/A
970N/ACFLAGS += $(CCVERBOSE)
970N/ALDLIBS += -L$(SRC)/lib/libpicl/$(MACH) -L$(SRC)/lib/libpicltree/$(MACH)
970N/ALDLIBS += -L$(ROOT)/usr/lib/picl/plugins -L$(ROOT)/usr/lib/sparcv9
970N/ADYNFLAGS += -R$(DYNFLAGS_COM)
970N/A
970N/ALDLIBS += -lc -lpicltree -ldevinfo -lpicldevtree -lcfgadm -lnvpair
970N/A
970N/ALINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN -v
970N/A
970N/A.KEEP_STATE:
970N/A
970N/Aall: $(LIBS) $(LIBLINKS)
970N/A
970N/Ainstall: all $(ROOTLIBDIR) $(ROOTLIBS) $(ROOTLINKS)
970N/A
970N/A$(LIBLINKS): FRC
970N/A $(RM) $(LIBLINKS); $(SYMLINK) $(DYNLIB) $(LIBLINKS)
970N/A
970N/A# include library targets
970N/Ainclude $(SRC)/cmd/picl/plugins/Makefile.targ
970N/Ainclude $(SRC)/lib/Makefile.targ
970N/A
970N/Alint :
970N/A $(LINT.c) $(LINT_SRC)
970N/A
970N/AFRC:
970N/A