xref: /titanic_41/usr/src/test/zfs-tests/tests/functional/migration/Makefile (revision a4dd1f3517267c5e5aa5b2bb53cb388002bc688f)
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/migration
20
21PROGS = cleanup \
22	migration_001_pos \
23	migration_002_pos \
24	migration_003_pos \
25	migration_004_pos \
26	migration_005_pos \
27	migration_006_pos \
28	migration_007_pos \
29	migration_008_pos \
30	migration_009_pos \
31	migration_010_pos \
32	migration_011_pos \
33	migration_012_pos \
34	setup
35
36FILES = migration.cfg \
37	migration.kshlib
38
39CMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%)
40$(CMDS) := FILEMODE = 0555
41
42all lint clean clobber:
43
44install: $(CMDS)
45
46$(CMDS): $(TESTDIR)
47
48$(TESTDIR):
49	$(INS.dir)
50
51$(TESTDIR)/%: %.ksh
52	$(INS.rename)
53
54$(TESTDIR)/%: %
55	$(INS.file)
56