xref: /titanic_41/usr/src/test/zfs-tests/tests/functional/cache/Makefile (revision a4dd1f3517267c5e5aa5b2bb53cb388002bc688f)
1*a4dd1f35SJohn Wren Kennedy#
2*a4dd1f35SJohn Wren Kennedy# This file and its contents are supplied under the terms of the
3*a4dd1f35SJohn Wren Kennedy# Common Development and Distribution License ("CDDL"), version 1.0.
4*a4dd1f35SJohn Wren Kennedy# You may only use this file in accordance with the terms of version
5*a4dd1f35SJohn Wren Kennedy# 1.0 of the CDDL.
6*a4dd1f35SJohn Wren Kennedy#
7*a4dd1f35SJohn Wren Kennedy# A full copy of the text of the CDDL should have accompanied this
8*a4dd1f35SJohn Wren Kennedy# source.  A copy of the CDDL is also available via the Internet at
9*a4dd1f35SJohn Wren Kennedy# http://www.illumos.org/license/CDDL.
10*a4dd1f35SJohn Wren Kennedy#
11*a4dd1f35SJohn Wren Kennedy
12*a4dd1f35SJohn Wren Kennedy#
13*a4dd1f35SJohn Wren Kennedy# Copyright (c) 2013 by Delphix. All rights reserved.
14*a4dd1f35SJohn Wren Kennedy#
15*a4dd1f35SJohn Wren Kennedy
16*a4dd1f35SJohn Wren Kennedyinclude $(SRC)/Makefile.master
17*a4dd1f35SJohn Wren Kennedy
18*a4dd1f35SJohn Wren KennedyROOTOPTPKG = $(ROOT)/opt/zfs-tests
19*a4dd1f35SJohn Wren KennedyTESTDIR = $(ROOTOPTPKG)/tests/functional/cache
20*a4dd1f35SJohn Wren Kennedy
21*a4dd1f35SJohn Wren KennedyPROGS = cleanup \
22*a4dd1f35SJohn Wren Kennedy	setup \
23*a4dd1f35SJohn Wren Kennedy	cache_001_pos \
24*a4dd1f35SJohn Wren Kennedy	cache_002_pos \
25*a4dd1f35SJohn Wren Kennedy	cache_003_pos \
26*a4dd1f35SJohn Wren Kennedy	cache_004_neg \
27*a4dd1f35SJohn Wren Kennedy	cache_005_neg \
28*a4dd1f35SJohn Wren Kennedy	cache_006_pos \
29*a4dd1f35SJohn Wren Kennedy	cache_007_neg \
30*a4dd1f35SJohn Wren Kennedy	cache_008_neg \
31*a4dd1f35SJohn Wren Kennedy	cache_009_pos \
32*a4dd1f35SJohn Wren Kennedy	cache_010_neg \
33*a4dd1f35SJohn Wren Kennedy	cache_011_pos
34*a4dd1f35SJohn Wren Kennedy
35*a4dd1f35SJohn Wren KennedyFILES = cache.cfg \
36*a4dd1f35SJohn Wren Kennedy	cache.kshlib
37*a4dd1f35SJohn Wren Kennedy
38*a4dd1f35SJohn Wren KennedyCMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%)
39*a4dd1f35SJohn Wren Kennedy$(CMDS) := FILEMODE = 0555
40*a4dd1f35SJohn Wren Kennedy
41*a4dd1f35SJohn Wren Kennedyall lint clean clobber:
42*a4dd1f35SJohn Wren Kennedy
43*a4dd1f35SJohn Wren Kennedyinstall: $(CMDS)
44*a4dd1f35SJohn Wren Kennedy
45*a4dd1f35SJohn Wren Kennedy$(CMDS): $(TESTDIR)
46*a4dd1f35SJohn Wren Kennedy
47*a4dd1f35SJohn Wren Kennedy$(TESTDIR):
48*a4dd1f35SJohn Wren Kennedy	$(INS.dir)
49*a4dd1f35SJohn Wren Kennedy
50*a4dd1f35SJohn Wren Kennedy$(TESTDIR)/%: %.ksh
51*a4dd1f35SJohn Wren Kennedy	$(INS.rename)
52*a4dd1f35SJohn Wren Kennedy
53*a4dd1f35SJohn Wren Kennedy$(TESTDIR)/%: %
54*a4dd1f35SJohn Wren Kennedy	$(INS.file)
55