Makefile revision fcf3ce441efd61da9bb2884968af01cb7c1452cc
609N/A#
609N/A# CDDL HEADER START
609N/A#
609N/A# The contents of this file are subject to the terms of the
609N/A# Common Development and Distribution License (the "License").
609N/A# You may not use this file except in compliance with the License.
609N/A#
609N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
609N/A# or http://www.opensolaris.org/os/licensing.
609N/A# See the License for the specific language governing permissions
609N/A# and limitations under the License.
609N/A#
609N/A# When distributing Covered Code, include this CDDL HEADER in each
609N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
609N/A# If applicable, add the following below this CDDL HEADER, with the
609N/A# fields enclosed by brackets "[]" replaced with your own identifying
609N/A# information: Portions Copyright [yyyy] [name of copyright owner]
609N/A#
609N/A# CDDL HEADER END
609N/A#
609N/A#
609N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
609N/A# Use is subject to license terms.
609N/A#
609N/A# cmd/mpathadm/Makefile
609N/A
609N/Ainclude ../Makefile.cmd
609N/A
609N/APROG= mpathadm
609N/A
609N/AOBJS= cmdparse.o mpathadm.o mpathadm_text.o
SRCS= $(OBJS:%.o=%.c)
POFILE= mpathadm_all.po
POFILES=$(OBJS:%.o=%.po)
LDLIBS += -lMPAPI -ldevid
LINTFLAGS += -xerroff=E_BAD_FORMAT_STR2
.KEEP_STATE:
all: $(PROG)
$(PROG): $(OBJS)
$(LINK.c) -o $@ $(OBJS) $(LDLIBS)
$(POST_PROCESS)
install: all $(ROOTUSRSBINPROG)
clean:
$(RM) $(OBJS) $(POFILES) $(POFILE)
$(POFILE): $(POFILES)
$(RM) $@
$(CAT) $(POFILES) > $@
lint: lint_SRCS
include ../Makefile.targ