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