xref: /titanic_41/usr/src/test/zfs-tests/tests/functional/redundancy/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/redundancy
20*a4dd1f35SJohn Wren Kennedy
21*a4dd1f35SJohn Wren KennedyPROGS = cleanup \
22*a4dd1f35SJohn Wren Kennedy	redundancy_001_pos \
23*a4dd1f35SJohn Wren Kennedy	redundancy_002_pos \
24*a4dd1f35SJohn Wren Kennedy	redundancy_003_pos \
25*a4dd1f35SJohn Wren Kennedy	redundancy_004_neg \
26*a4dd1f35SJohn Wren Kennedy	setup
27*a4dd1f35SJohn Wren Kennedy
28*a4dd1f35SJohn Wren KennedyFILES = redundancy.cfg \
29*a4dd1f35SJohn Wren Kennedy	redundancy.kshlib
30*a4dd1f35SJohn Wren Kennedy
31*a4dd1f35SJohn Wren KennedyCMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%)
32*a4dd1f35SJohn Wren Kennedy$(CMDS) := FILEMODE = 0555
33*a4dd1f35SJohn Wren Kennedy
34*a4dd1f35SJohn Wren Kennedyall lint clean clobber:
35*a4dd1f35SJohn Wren Kennedy
36*a4dd1f35SJohn Wren Kennedyinstall: $(CMDS)
37*a4dd1f35SJohn Wren Kennedy
38*a4dd1f35SJohn Wren Kennedy$(CMDS): $(TESTDIR)
39*a4dd1f35SJohn Wren Kennedy
40*a4dd1f35SJohn Wren Kennedy$(TESTDIR):
41*a4dd1f35SJohn Wren Kennedy	$(INS.dir)
42*a4dd1f35SJohn Wren Kennedy
43*a4dd1f35SJohn Wren Kennedy$(TESTDIR)/%: %.ksh
44*a4dd1f35SJohn Wren Kennedy	$(INS.rename)
45*a4dd1f35SJohn Wren Kennedy
46*a4dd1f35SJohn Wren Kennedy$(TESTDIR)/%: %
47*a4dd1f35SJohn Wren Kennedy	$(INS.file)
48