Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
3996N/A#
3996N/A# CDDL HEADER START
3996N/A#
3996N/A# The contents of this file are subject to the terms of the
3996N/A# Common Development and Distribution License, Version 1.0 only
3996N/A# (the "License"). You may not use this file except in compliance
3996N/A# with the License.
3996N/A#
3996N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3996N/A# or http://www.opensolaris.org/os/licensing.
3996N/A# See the License for the specific language governing permissions
3996N/A# and limitations under the License.
3996N/A#
3996N/A# When distributing Covered Code, include this CDDL HEADER in each
3996N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3996N/A# If applicable, add the following below this CDDL HEADER, with the
3996N/A# fields enclosed by brackets "[]" replaced with your own identifying
3996N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3996N/A#
3996N/A# CDDL HEADER END
3996N/A#
3996N/A#
3996N/A# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
3996N/A# Use is subject to license terms.
3996N/A#
4493N/A#ident "%Z%%M% %I% %E% SMI"
4493N/A
4493N/A.KEEP_STATE:
3996N/A.SUFFIXES:
3996N/A
3996N/Ainclude ../../Makefile.cmd
3996N/A
3996N/ACOMMON_DIR= ../common # for Makefile.com
3996N/ASRCS = rcapstat.c \
3996N/A utils.c
3996N/A
3996N/ALINTSRCS = $(COMMON_DIR)/utils.c \
3996N/A rcapstat.c
3996N/A
3996N/A$(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
3996N/ACPPFLAGS += -I$(COMMON_DIR)
3996N/ALDLIBS += -lumem -ll
3996N/A
3996N/ALINTFLAGS += $(LDLIBS) -mnu
3996N/A
3996N/APROG = rcapstat
3996N/AOBJS = $(SRCS:%.c=%.o) rcapd_conf.o
3996N/A
3996N/APOFILES = $(OBJS:%.o=%.po)
3996N/APOFILE = p$(PROG).po
3996N/A
3996N/ACLOBBERFILES += rcapd_conf.c $(POFILES) $(POFILE)
3996N/A
3996N/A.NO_PARALLEL:
3996N/A.PARALLEL: $(OBJS) $(LINTFILES)
3996N/A
3996N/Aall: $(PROG)
3996N/A
3996N/Ainclude ../Makefile.com
3996N/A
$(PROG): $(OBJS)
$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
$(POST_PROCESS)
$(POFILE): $(POFILES)
$(RM) $@
$(CAT) $(POFILES) > $@
clean:
$(RM) $(OBJS)
lint:
$(LINT.c) $(LINTSRCS)
$(ROOTBIN):
$(MKDIR) -p $(ROOTBIN)
install: all $(ROOTBIN) $(ROOTPROG)
include ../../Makefile.targ