0N/A#
0N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms
0N/A# of the Common Development and Distribution License
0N/A# (the "License"). You may not use this file except
0N/A# in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at
0N/A# src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing
0N/A# permissions and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL
0N/A# HEADER in each file and include the License file at
0N/A# usr/src/OPENSOLARIS.LICENSE. If applicable,
0N/A# add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your
0N/A# own identifying information: Portions Copyright [yyyy]
0N/A# [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
0N/A
0N/A#
0N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
0N/A#
0N/A
0N/A
0N/Ainclude Makefile.benchmarks
0N/A
0N/ABINS= $(ALL:%=bin/%) bin/tattle
0N/A
0N/ATARBALL_CONTENTS = \
0N/A Makefile.benchmarks \
0N/A Makefile.SunOS \
0N/A Makefile.Linux \
0N/A Makefile.Aix \
0N/A Makefile.com \
0N/A Makefile \
0N/A $(ALL:%=%.c) \
0N/A elided.c \
0N/A exec_bin.c \
0N/A libmicro.c \
0N/A libmicro_main.c \
0N/A libmicro.h \
0N/A recurse2.c \
0N/A benchmark_finibatch.c \
0N/A benchmark_initbatch.c \
0N/A benchmark_optswitch.c \
0N/A benchmark_fini.c \
0N/A benchmark_init.c \
0N/A benchmark_result.c \
0N/A benchmark_finirun.c \
0N/A benchmark_initrun.c \
0N/A benchmark_initworker.c \
0N/A benchmark_finiworker.c \
0N/A bench \
5N/A bench.sh \
0N/A mk_tarball \
0N/A multiview \
5N/A multiview.sh \
0N/A OPENSOLARIS.LICENSE \
0N/A tattle.c \
0N/A wrapper \
5N/A wrapper.sh \
0N/A README
0N/A
0N/Adefault $(ALL) run cstyle lint tattle: $(BINS)
1N/A @cp bench.sh bench
1N/A @cp multiview.sh multiview
2N/A @cp wrapper.sh wrapper
2N/A @chmod +x bench multiview wrapper
4N/A @mkdir -p bin-`uname -m`; cd bin-`uname -m`; MACH=`uname -m` $(MAKE) -f ../Makefile.`uname -s` UNAME_RELEASE=`uname -r | sed 's/\./_/g'` $@
0N/A
0N/Aclean:
2N/A rm -rf bin bin-* wrapper multiview bench
0N/A
0N/Abin:
0N/A @mkdir -p bin
0N/A
0N/A$(BINS): bin
2N/A @cp wrapper.sh wrapper
2N/A @chmod +x wrapper
0N/A @ln -sf ../wrapper $@
0N/A
0N/A
0N/AlibMicro.tar: FORCE
0N/A @chmod +x ./mk_tarball wrapper
0N/A @./mk_tarball $(TARBALL_CONTENTS)
0N/A
0N/AFORCE:
0N/A