da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER START
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
3e14f97f673e8a630f076077de35afdd43dc1587Roger A. Faulkner# The contents of this file are subject to the terms of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Common Development and Distribution License, Version 1.0 only
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# (the "License"). You may not use this file except in compliance
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin# with the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# or http://www.opensolaris.org/os/licensing.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# See the License for the specific language governing permissions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# and limitations under the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# When distributing Covered Code, include this CDDL HEADER in each
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# If applicable, add the following below this CDDL HEADER, with the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# fields enclosed by brackets "[]" replaced with your own identifying
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# information: Portions Copyright [yyyy] [name of copyright owner]
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER END
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Use is subject to license terms.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# cmd/picl/plugins/common/memcfg/Makefile
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinLIBRARY= libpiclmemcfg.a
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinVERS= .1
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinOBJECTS= piclmemcfg_comm.o
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# include library definitions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininclude $(SRC)/lib/Makefile.lib
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininclude $(SRC)/cmd/picl/plugins/Makefile.com
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinSRCS= $(OBJECTS:%.o=%.c)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinLIBS = $(DYNLIB)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinROOTLIBDIR = $(USR_LIB_PLUGINDIR)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCLEANFILES= $(LINTOUT) $(LINTLIB)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCPPFLAGS += -I$(SRC)/uts/sun4u/sys -I$(SRC)/cmd/picl/plugins/common/memcfg
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCFLAGS += $(CCVERBOSE) $(C_PICFLAGS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinLDLIBS += -L$(SRC)/lib/libpicltree/$(MACH)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinLDLIBS += -L../devtree
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinLDLIBS += -L$(ROOT)/usr/lib/picl/plugins
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinLDLIBS += -lc -lpicltree -lpicldevtree -lnvpair
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin$(SPARC_BLD)LDLIBS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin -R/usr/platform/sun4u/lib/picl/plugins
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinLDLIBS += -R/usr/lib/picl/plugins
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCLOBBERFILES += $(LIBLINKS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.KEEP_STATE:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinSUBDIRS=
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinall := TARGET= all
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininstall := TARGET= install
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinclean := TARGET= clean
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinclobber := TARGET= clobber
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinlint := TARGET= lint
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin_msg := TARGET= _msg
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinPOFILE= piclmemcfg_comm.po
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinall: $(LIBS) $(LIBLINKS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininstall: $(ROOTLIBDIR) all $(ROOTLIBS) $(ROOTLINKS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin_msg: $(MSGDOMAIN) $(POFILE)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(RM) $(MSGDOMAIN)/$(POFILE)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(CP) $(POFILE) $(MSGDOMAIN)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin$(MSGDOMAIN):
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(INS.dir)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin$(LIBLINKS): FRC
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(RM) $@; $(SYMLINK) $(DYNLIB) $@
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# include library targets
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininclude $(SRC)/cmd/picl/plugins/Makefile.targ
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininclude $(SRC)/lib/Makefile.targ
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinlint :
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(LINT.c) $(SRCS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin$(SUBDIRS): FRC
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin @cd $@; pwd; $(MAKE) $(TARGET)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinFRC:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin