Makefile revision 489b7c4ab76ae8df137fbfcc2214f7baa52883a0
1117N/A#
1117N/A# CDDL HEADER START
1117N/A#
1117N/A# The contents of this file are subject to the terms of the
1117N/A# Common Development and Distribution License (the "License").
1117N/A# You may not use this file except in compliance with the License.
1117N/A#
6982N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6982N/A# or http://www.opensolaris.org/os/licensing.
1117N/A# See the License for the specific language governing permissions
1117N/A# and limitations under the License.
1117N/A#
1117N/A# When distributing Covered Code, include this CDDL HEADER in each
6982N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6982N/A# If applicable, add the following below this CDDL HEADER, with the
6982N/A# fields enclosed by brackets "[]" replaced with your own identifying
6982N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1117N/A#
1117N/A# CDDL HEADER END
1117N/A#
1117N/A#
3232N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
1117N/A# Use is subject to license terms.
1117N/A#
1117N/A
1117N/AMANIFEST = mpxio-upgrade.xml
1117N/ASVCMETHOD = mpxio-upgrade
1117N/A
1117N/Ainclude ../Makefile.cmd
1117N/A
1117N/ASHFILES = stmsboot
1117N/ASTMSBOOT_UTIL = stmsboot_util
1117N/AOBJS = $(STMSBOOT_UTIL).o
1117N/ASRCS = $(OBJS:%.o=%.c)
1117N/A
1117N/APOFILES = $(SRCS:.c=.po) $(SHFILES:%=%.po)
1117N/APOFILE = pstmsboot.po
1117N/ACLOBBERFILES = $(SHFILES) $(STMSBOOT_UTIL) $(POFILE) $(OBJS)
1117N/AROOTFSLIB_MPXIO = $(ROOT)/lib/mpxio
1117N/A
1117N/AROOTMANIFESTDIR = $(ROOTSVCSYSTEMDEVICE)
1117N/ALDLIBS += -ldevinfo -ldevid -lnvpair -lumem
1117N/A
1117N/A.KEEP_STATE:
1117N/A
1117N/Aall: $(STMSBOOT_UTIL) $(SHFILES)
1117N/A
1117N/Ainstall: all \
1117N/A $(ROOTFSLIB_MPXIO) \
1117N/A $(ROOTFSLIB_MPXIO)/$(STMSBOOT_UTIL) \
$(ROOTMANIFEST) \
$(ROOTSVCMETHOD) \
$(ROOTUSRSBIN)/stmsboot
check: $(CHKMANIFEST)
$(CSTYLE) -pP $(SRCS)
clean:
$(RM) $(POFILES)
lint: lint_SRCS
$(STMSBOOT_UTIL): $(OBJS)
$(LINK.c) -o $@ $(OBJS) $< $(LDLIBS)
$(POST_PROCESS)
include ../Makefile.targ
$(ROOTFSLIB_MPXIO):
$(INS.dir)
$(ROOTFSLIB_MPXIO)/%: %
$(INS.file)
$(POFILE): $(POFILES)
$(RM) $@; cat $(POFILES) > $@