xref: /titanic_50/usr/src/test/zfs-tests/tests/functional/snapshot/Makefile (revision 6aa4fc89ec1cf2cdf7d7c3b9ec059802ac9abe65)
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/snapshot
20
21PROGS = cleanup \
22	clone_001_pos \
23	rollback_001_pos \
24	rollback_002_pos \
25	rollback_003_pos \
26	setup \
27	snapshot_001_pos \
28	snapshot_002_pos \
29	snapshot_003_pos \
30	snapshot_004_pos \
31	snapshot_005_pos \
32	snapshot_006_pos \
33	snapshot_007_pos \
34	snapshot_008_pos \
35	snapshot_009_pos \
36	snapshot_010_pos \
37	snapshot_011_pos \
38	snapshot_012_pos \
39	snapshot_013_pos \
40	snapshot_014_pos \
41	snapshot_015_pos \
42	snapshot_016_pos \
43	snapshot_017_pos
44
45FILES = snapshot.cfg
46
47CMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%)
48$(CMDS) := FILEMODE = 0555
49
50all lint clean clobber:
51
52install: $(CMDS)
53
54$(CMDS): $(TESTDIR)
55
56$(TESTDIR):
57	$(INS.dir)
58
59$(TESTDIR)/%: %.ksh
60	$(INS.rename)
61
62$(TESTDIR)/%: %
63	$(INS.file)
64