5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync# CDDL HEADER START
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync#
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync# The contents of this file are subject to the terms of the
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync# Common Development and Distribution License (the "License").
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync# You may not use this file except in compliance with the License.
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync#
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync# or http://www.opensolaris.org/os/licensing.
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync# See the License for the specific language governing permissions
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync# and limitations under the License.
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync#
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync# When distributing Covered Code, include this CDDL HEADER in each
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync# If applicable, add the following below this CDDL HEADER, with the
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync#
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync# CDDL HEADER END
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync#
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync#
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
9d6ab2e4cb34fe72107aec65496ee8c880fd95advboxsync# Use is subject to license terms.
9d6ab2e4cb34fe72107aec65496ee8c880fd95advboxsync#
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync#
9d6ab2e4cb34fe72107aec65496ee8c880fd95advboxsync
9d6ab2e4cb34fe72107aec65496ee8c880fd95advboxsyncDYNPROG = dsstat
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsyncinclude ../../Makefile.cmd
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsyncinclude ../Makefile.com
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsyncPROG = $(DYNPROG)
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsyncSUBDIRS=
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsyncdsstat := POBJS = dsstat.o ii_stats.o sndr_stats.o \
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync sdbc_stats.o multi_stats.o common.o report.o
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsyncOBJS= dsstat.o ii_stats.o sndr_stats.o sdbc_stats.o \
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync multi_stats.o common.o report.o
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsyncSRCS= $(OBJS:%.o=%.c)
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsyncCFLAGS += $(CCVERBOSE)
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsyncCERRWARN += -_gcc=-Wno-uninitialized
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsyncCERRWARN += -_gcc=-Wno-parentheses
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsyncCERRWARN += -_gcc=-Wno-unused-label
8365ce2f1e0dd082ba389e40dbf17b1cf09c44f0vboxsyncCERRWARN += -_gcc=-Wno-clobbered
8365ce2f1e0dd082ba389e40dbf17b1cf09c44f0vboxsyncLDLIBS += -lkstat
8365ce2f1e0dd082ba389e40dbf17b1cf09c44f0vboxsyncLINTFLAGS += -Xa -n -s -x -m -u -Dlint -errhdr=%user
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsyncLINTFLAGS += -erroff=E_SEC_PRINTF_VAR_FMT -erroff=E_SEC_SPRINTF_UNBOUNDED_COPY
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsyncLINTDIR = $(KBASE)/lintdir
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsyncPOFILE = dsstat_all.po
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsyncPOFILES = $(OBJS:%.o=%.po)
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsyncLFILE = $(LINTDIR)/dsstat.ln
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsyncROOTLINK = $(ROOTUSRSBIN)/$(PROG)
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsyncall := TARGET= all
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsyncinstall := TARGET= install
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsyncclean := TARGET= clean
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsyncclobber := TARGET= clobber
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsynclint := TARGET= lint
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync.KEEP_STATE:
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync.PARALLEL: $(OBJS)
caf62c8b1a43cb2321f2b9d4e31588e643b89731vboxsync
caf62c8b1a43cb2321f2b9d4e31588e643b89731vboxsyncall: $(SUBDIRS) $(PROG)
caf62c8b1a43cb2321f2b9d4e31588e643b89731vboxsync
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsyncinstall: $(SUBDIRS) all $(ROOTPROG) $(ROOTLINK)
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsynclint: $(SUBDIRS) lint_SRCS
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsyncclean: $(SUBDIRS)
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync $(RM) *.o
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync$(PROG): $$(POBJS)
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync $(LINK.c) $(POBJS) -o $@ $(LDLIBS)
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync $(POST_PROCESS)
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync
9d6ab2e4cb34fe72107aec65496ee8c880fd95advboxsync$(POFILE): $(POFILES)
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync $(RM) $@
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync $(CAT) $(POFILES) > $@
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync$(SUBDIRS): FRC
c558b8f73de73ad85632b07ca3fb1a5b2a808ad9vboxsync @cd $@; pwd; $(MAKE) $(TARGET)
9d6ab2e4cb34fe72107aec65496ee8c880fd95advboxsync
9d6ab2e4cb34fe72107aec65496ee8c880fd95advboxsync$(ROOTLINK): $(ROOTUSRSBIN) $(ROOTPROG)
9d6ab2e4cb34fe72107aec65496ee8c880fd95advboxsync -$(RM) $@; $(LN) $(ROOTPROG) $@
9d6ab2e4cb34fe72107aec65496ee8c880fd95advboxsync
9d6ab2e4cb34fe72107aec65496ee8c880fd95advboxsyncFRC:
9d6ab2e4cb34fe72107aec65496ee8c880fd95advboxsync
9d6ab2e4cb34fe72107aec65496ee8c880fd95advboxsyncinclude ../../Makefile.targ
9d6ab2e4cb34fe72107aec65496ee8c880fd95advboxsync