xref: /titanic_51/usr/src/test/zfs-tests/tests/functional/reservation/Makefile (revision aab83bb83be7342f6cfccaed8d5fe0b2f404855d)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright (c) 2013 by Delphix. All rights reserved.
14#
15
16include $(SRC)/Makefile.master
17
18ROOTOPTPKG = $(ROOT)/opt/zfs-tests
19TESTDIR = $(ROOTOPTPKG)/tests/functional/reservation
20
21PROGS = cleanup \
22	reservation_001_pos \
23	reservation_002_pos \
24	reservation_003_pos \
25	reservation_004_pos \
26	reservation_005_pos \
27	reservation_006_pos \
28	reservation_007_pos \
29	reservation_008_pos \
30	reservation_009_pos \
31	reservation_010_pos \
32	reservation_011_pos \
33	reservation_012_pos \
34	reservation_013_pos \
35	reservation_014_pos \
36	reservation_015_pos \
37	reservation_016_pos \
38	reservation_017_pos \
39	reservation_018_pos \
40	setup
41
42FILES = reservation.cfg \
43	reservation.shlib
44
45CMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%)
46$(CMDS) := FILEMODE = 0555
47
48all lint clean clobber:
49
50install: $(CMDS)
51
52$(CMDS): $(TESTDIR)
53
54$(TESTDIR):
55	$(INS.dir)
56
57$(TESTDIR)/%: %.sh
58	$(INS.rename)
59
60$(TESTDIR)/%: %.ksh
61	$(INS.rename)
62
63$(TESTDIR)/%: %
64	$(INS.file)
65