xref: /titanic_50/usr/src/test/zfs-tests/tests/functional/inheritance/Makefile (revision 1886f67eb9de99edbcda88765f2c603a30c87fc2)
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/inheritance
20
21PROGS = cleanup \
22	inherit_001_pos
23
24FILES = config001.cfg \
25	config002.cfg \
26	config003.cfg \
27	config004.cfg \
28	config005.cfg \
29	config006.cfg \
30	config007.cfg \
31	config008.cfg \
32	config009.cfg \
33	config010.cfg \
34	config011.cfg \
35	config012.cfg \
36	config013.cfg \
37	config014.cfg \
38	config015.cfg \
39	config016.cfg \
40	config017.cfg \
41	config018.cfg \
42	config019.cfg \
43	config020.cfg \
44	config021.cfg \
45	config022.cfg \
46	config023.cfg \
47	config024.cfg \
48	inherit.kshlib \
49	state001.cfg \
50	state002.cfg \
51	state003.cfg \
52	state004.cfg \
53	state005.cfg \
54	state006.cfg \
55	state007.cfg \
56	state008.cfg \
57	state009.cfg \
58	state010.cfg \
59	state011.cfg \
60	state012.cfg \
61	state013.cfg \
62	state014.cfg \
63	state015.cfg \
64	state016.cfg \
65	state017.cfg \
66	state018.cfg \
67	state019.cfg \
68	state020.cfg \
69	state021.cfg \
70	state022.cfg \
71	state023.cfg \
72	state024.cfg
73
74CMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%)
75$(CMDS) := FILEMODE = 0555
76
77all lint clean clobber:
78
79install: $(CMDS)
80
81$(CMDS): $(TESTDIR)
82
83$(TESTDIR):
84	$(INS.dir)
85
86$(TESTDIR)/%: %
87	$(INS.file)
88
89$(TESTDIR)/%: %.ksh
90	$(INS.rename)
91