137N/A#
137N/A# CDDL HEADER START
1276N/A#
137N/A# The contents of this file are subject to the terms of the
1276N/A# Common Development and Distribution License, Version 1.0 only
137N/A# (the "License"). You may not use this file except in compliance
137N/A# with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 1996, 2000-2003 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
137N/A#
137N/A# Makefile for logical volume management
137N/A#
137N/A
493N/APROG= mdmonitord
137N/A
137N/AOBJS= probedev.o \
1276N/A md_monitord.o
137N/ASRCS= $(OBJS:%.o=../%.c)
911N/A
1276N/Ainclude ../../../Makefile.cmd
1276N/Ainclude ../../Makefile.lvm
1276N/A
911N/ALDLIBS += -lmeta
137N/A
137N/ADEFINES += -DDEBUG
137N/ACFLAGS += ${DEFINES}
137N/A
137N/A#
137N/A#
137N/Alint := LINTFLAGS += -m
137N/A
493N/A.KEEP_STATE:
969N/A
137N/A%.o: ../%.c
970N/A $(COMPILE.c) $<
970N/A
970N/Aall: $(PROG)
970N/A
970N/A$(PROG): $(OBJS)
970N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
970N/A $(POST_PROCESS)
970N/A
137N/AROOTUSRSBINPROG=$(PROG:%=$(ROOTUSRSBIN)/%)
493N/Ainstall: all $(ROOTUSRSBINPROG)
137N/A
137N/Acstyle:
493N/A ${CSTYLE} ${SRCS}
137N/A
493N/Alint:
137N/A ${LINT.c} $(LINTFLAGS) ${SRCS}
137N/A
137N/Aclean:
137N/A ${RM} ${OBJS} *.o
970N/A
970N/Ainclude $(SRC)/cmd/Makefile.targ
970N/A