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