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