Makefile revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4
225N/A#
225N/A# CDDL HEADER START
225N/A#
225N/A# The contents of this file are subject to the terms of the
225N/A# Common Development and Distribution License (the "License").
225N/A# You may not use this file except in compliance with the License.
225N/A#
225N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
225N/A# or http://www.opensolaris.org/os/licensing.
225N/A# See the License for the specific language governing permissions
225N/A# and limitations under the License.
225N/A#
225N/A# When distributing Covered Code, include this CDDL HEADER in each
225N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
225N/A# If applicable, add the following below this CDDL HEADER, with the
225N/A# fields enclosed by brackets "[]" replaced with your own identifying
225N/A# information: Portions Copyright [yyyy] [name of copyright owner]
225N/A#
225N/A# CDDL HEADER END
225N/A#
225N/A
225N/A#
3817N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
225N/A# Use is subject to license terms.
225N/A#
225N/A
225N/Ainclude $(SRC)/Makefile.psm
225N/A
225N/ALIBRARY = libpiclfrutree.a
618N/AVERS = .1
225N/A
225N/AOBJECTS = piclfrutree.o
844N/A
844N/A# include library definitions
225N/Ainclude $(SRC)/lib/Makefile.lib
1258N/A
225N/AROOT_PLATFORM = $(USR_PLAT_DIR)/SUNW,Netra-T12
2899N/A
2899N/Ainclude $(SRC)/cmd/picl/plugins/Makefile.com
3817N/A
3817N/ACPPFLAGS += -D_REENTRANT -I$(SRC)/uts/sun4u/serengeti
3817N/ACPPFLAGS += -I$(SRC)/uts/sun4u/serengeti
225N/ACPPFLAGS += -I$(SRC)/uts/sun4u/lw8
225N/ACPPFLAGS += -I$(SRC)/uts/sun4u -I$(CLOSED)/uts/sun4u
225N/ACPPFLAGS += -I$(SRC)/uts/common -I$(CLOSED)/uts/common
225N/A
225N/ASRCS = $(OBJECTS:%.o=%.c)
225N/A
225N/ALIBS = $(DYNLIB)
225N/A
1392N/AROOTLIBDIR = $(ROOT_PLAT_PLUGINDIR)
225N/A
225N/ALINTSRC = $(LINTLIB:%.ln=%)
225N/AROOTLINTDIR = $(ROOTLIBDIR)
892N/AROOTLINT = $(LINTSRC:%=$(ROOTLINTDIR)/%)
892N/A
892N/ACLEANFILES = $(LINTOUT) $(LINTLIB)
892N/A
225N/A
225N/ACPPFLAGS += -D_SGFRU
225N/ACFLAGS += $(CCVERBOSE)
1989N/ADYNFLAGS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins:/usr/platform/sun4u/lib/picl/plugins:/usr/lib/picl/plugins
1989N/ALDLIBS += -L$(DEVTREE_SRC_DIR)
225N/ALDLIBS += -L$(SRC)/lib/libpicltree/$(MACH)
3477N/ALDLIBS += -L$(SRC)/cmd/picl/plugins/common/devtree
3477N/ALDLIBS += -L$(ROOT)/usr/lib/picl/plugins
892N/ALDLIBS += -lc -lpicldevtree -lpiclmemcfg
225N/ALDLIBS += -lpicltree -lnvpair -lkstat -ldevice
892N/A
225N/A.KEEP_STATE:
892N/A
225N/ASUBDIRS =
225N/A
225N/APOFILE = piclfrutree.po
225N/A
225N/Aall := TARGET= all
897N/Ainstall := TARGET= install
225N/Aclean := TARGET= clean
897N/Aclobber := TARGET= clobber
892N/Alint := TARGET= lint
225N/A_msg := TARGET= _msg
3817N/A
3817N/Aall: $(LIBS) $(LIBLINKS)
3817N/A
3817N/Ainstall: $(ROOTLIBDIR) all $(ROOTLIBS) $(ROOTLINKS)
3817N/A
_msg: $(MSGDOMAIN) $(POFILE)
$(RM) $(MSGDOMAIN)/$(POFILE)
$(CP) $(POFILE) $(MSGDOMAIN)/lw8_$(POFILE)
$(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)
lint:
$(LINT.c) $(SRCS)
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC: