Makefile revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4
305N/A#
305N/A# CDDL HEADER START
305N/A#
305N/A# The contents of this file are subject to the terms of the
305N/A# Common Development and Distribution License (the "License").
305N/A# You may not use this file except in compliance with the License.
305N/A#
305N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
305N/A# or http://www.opensolaris.org/os/licensing.
305N/A# See the License for the specific language governing permissions
305N/A# and limitations under the License.
305N/A#
305N/A# When distributing Covered Code, include this CDDL HEADER in each
305N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
305N/A# If applicable, add the following below this CDDL HEADER, with the
305N/A# fields enclosed by brackets "[]" replaced with your own identifying
305N/A# information: Portions Copyright [yyyy] [name of copyright owner]
305N/A#
305N/A# CDDL HEADER END
305N/A#
305N/A#
305N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
305N/A# Use is subject to license terms.
305N/A#
305N/A
305N/ALIBRARY= libpiclwd.a
305N/AVERS= .1
305N/A
305N/AOBJECTS= piclwatchdog.o piclwd_platmod.o
305N/A
305N/A# include library definitions
394N/Ainclude $(SRC)/lib/Makefile.lib
305N/Ainclude $(SRC)/Makefile.psm
305N/Ainclude $(SRC)/cmd/picl/plugins/Makefile.com
394N/A
305N/ASRCS= $(OBJECTS:%.o=%.c)
305N/A
743N/ALIBS = $(DYNLIB)
743N/A
743N/AROOT_PLATFORM = $(USR_PLAT_DIR)/SUNW,Netra-CP2300
743N/A
416N/ACLEANFILES= $(LINTOUT) $(LINTLIB)
335N/A
335N/AROOTLIBDIR = $(ROOT_PLAT_PLUGINDIR)
416N/A
305N/ACFLAGS += $(CCVERBOSE)
305N/ACPPFLAGS += -I$(SRC)/uts/sun4u/sys -I$(SRC)/uts/common
305N/ACPPFLAGS += -I$(SRC)/cmd/picl/plugins/sun4u/snowbird/lib/libctsmc
335N/ACPPFLAGS += -I$(SRC)/uts/common
305N/A
305N/ALDLIBS += -R/usr/platform/SUNW,Netra-CP2300/lib/picl/plugins
305N/ALDLIBS += -R/usr/platform/SUNW,Netra-CP2300/lib
305N/ALDLIBS += -R/usr/platform/sun4u/lib
419N/ALDLIBS += -L$(SRC)/lib/libpicl/$(MACH) -L$(SRC)/lib/libpicltree/$(MACH)
305N/ALDLIBS += -L $(ROOT)/usr/platform/$(PLATFORM)/lib
305N/ALDLIBS += -L$(ROOT_PLATFORM)/lib/picl/plugins
715N/ALDLIBS += -L$(SRC)/cmd/picl/plugins/sun4u/snowbird/lib/libctsmc
715N/ALDLIBS += -L$(ROOT)/usr/lib/picl/plugins -lnvpair -lpicltree
715N/ALDLIBS += -ldevinfo -lctsmc -lpiclfrutree -lc
715N/A
715N/A.KEEP_STATE:
305N/A
305N/ASUBDIRS=
305N/A
305N/APOFILE= snowbird_piclwatchdog.po
305N/APOFILES= $(SRCS:%.c=%.po)
305N/A
615N/Aall := TARGET= all
305N/Ainstall := TARGET= install
305N/Aclean := TARGET= clean
305N/Aclobber := TARGET= clobber
305N/Alint := TARGET= lint
305N/A_msg := TARGET= _msg
305N/A
305N/Aall: $(LIBS) $(LIBLINKS)
305N/A
305N/Ainstall: $(ROOTLIBDIR) all $(ROOTLIBS) $(ROOTLINKS)
305N/A
305N/A$(LIBLINKS): FRC
305N/A $(RM) $@; $(SYMLINK) $(DYNLIB) $@
615N/A
305N/A_msg: $(MSGDOMAIN) $(POFILE)
702N/A $(RM) $(MSGDOMAIN)/$(POFILE)
702N/A $(CP) $(POFILE) $(MSGDOMAIN)/$(POFILE)
702N/A
702N/A$(POFILE): $(POFILES)
702N/A $(CAT) $(POFILES) > $(POFILE)
615N/A
615N/A$(MSGDOMAIN):
305N/A $(INS.dir)
615N/A
615N/A# include library targets
615N/Ainclude $(SRC)/cmd/picl/plugins/Makefile.targ
615N/Ainclude $(SRC)/lib/Makefile.targ
335N/A
305N/Alint :
305N/A $(LINT.c) $(SRCS)
305N/A
305N/A$(SUBDIRS): FRC
305N/A @cd $@; pwd; $(MAKE) $(TARGET)
305N/A
305N/AFRC:
305N/A