Home | History | Annotate | Download | only in workloads
      1 #
      2 # CDDL HEADER START
      3 #
      4 # The contents of this file are subject to the terms of the
      5 # Common Development and Distribution License (the "License").
      6 # You may not use this file except in compliance with the License.
      7 #
      8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
      9 # or http://www.opensolaris.org/os/licensing.
     10 # See the License for the specific language governing permissions
     11 # and limitations under the License.
     12 #
     13 # When distributing Covered Code, include this CDDL HEADER in each
     14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
     15 # If applicable, add the following below this CDDL HEADER, with the
     16 # fields enclosed by brackets "[]" replaced with your own identifying
     17 # information: Portions Copyright [yyyy] [name of copyright owner]
     18 #
     19 # CDDL HEADER END
     20 #
     21 #
     22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
     23 # Use is subject to license terms.
     24 #
     25 
     26 .KEEP_STATE:
     27 
     28 include ../../Makefile.cmd
     29 
     30 WORKLOADS = \
     31 	bringover.f \
     32 	compflow_demo.f \
     33 	copyfiles.f \
     34 	createfiles.f \
     35 	deletefiles.f \
     36 	filemicro_create.f \
     37 	filemicro_createfiles.f \
     38 	filemicro_createrand.f \
     39 	filemicro_delete.f \
     40 	filemicro_rread.f \
     41 	filemicro_rwrite.f \
     42 	filemicro_rwritedsync.f \
     43 	filemicro_rwritefsync.f \
     44 	filemicro_seqwriterandvargam.f \
     45 	filemicro_seqwriterandvartab.f \
     46 	filemicro_seqread.f \
     47 	filemicro_seqwrite.f \
     48 	filemicro_seqwriterand.f \
     49 	filemicro_statfile.f \
     50 	filemicro_writefsync.f \
     51 	fileserver.f \
     52 	listdirs.f \
     53 	makedirs.f \
     54 	mongo.f \
     55 	multistreamread.f \
     56 	multistreamreaddirect.f \
     57 	multistreamwrite.f \
     58 	multistreamwritedirect.f \
     59 	networkfs.f \
     60 	oltp.f \
     61 	openfiles.f \
     62 	randomfileaccess.f \
     63 	randomread.f \
     64 	randomrw.f \
     65 	randomwrite.f \
     66 	ratelimcopyfiles.f \
     67 	removedirs.f \
     68 	singlestreamread.f \
     69 	singlestreamreaddirect.f \
     70 	singlestreamwrite.f \
     71 	singlestreamwritedirect.f \
     72 	tpcso.f \
     73 	varmail.f \
     74 	videoserver.f \
     75 	webproxy.f \
     76 	webserver.f
     77 
     78 ROOTUSRBENCHDIR = $(ROOT)/usr/benchmarks
     79 ROOTUSRBENCHFBWORKLOADSDIR = $(ROOTUSRBENCHDIR)/filebench/workloads
     80 FBWORKLOADS = $(WORKLOADS:%=$(ROOTUSRBENCHFBWORKLOADSDIR)/%)
     81 
     82 FILEMODE= 0444
     83 
     84 all clobber clean lint:
     85 
     86 $(ROOTUSRBENCHDIR):
     87 	$(INS.dir)
     88 
     89 $(ROOTUSRBENCHFBWORKLOADSDIR):
     90 	$(INS.dir)
     91 
     92 $(ROOTUSRBENCHFBWORKLOADSDIR)/%: %
     93 	$(INS.file)
     94 
     95 install: $(ROOTUSRBENCHDIR) .WAIT $(ROOTUSRBENCHFBWORKLOADSDIR) .WAIT $(FBWORKLOADS)
     96