xref: /illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/Makefile (revision f985abb4a2473d3c04b086f7c9fab177e368ffef)
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) 2012 by Delphix. All rights reserved.
14#
15
16.PARALLEL: $(SUBDIRS)
17
18include $(SRC)/Makefile.master
19
20ROOTOPTPKG = $(ROOT)/opt/zfs-tests
21TESTDIR = $(ROOTOPTPKG)/tests/functional/cli_root
22
23PROGS = cli_common.kshlib
24
25CMDS = $(PROGS:%=$(TESTDIR)/%)
26$(CMDS) := FILEMODE = 0555
27
28all lint clean clobber:
29
30install: $(CMDS)
31
32$(CMDS): $(TESTDIR)
33
34$(TESTDIR):
35	$(INS.dir)
36
37$(TESTDIR)/%: %
38	$(INS.file)
39
40SUBDIRS = zdb \
41	zfs \
42	zfs_clone \
43	zfs_copies \
44	zfs_create \
45	zfs_destroy \
46	zfs_get \
47	zfs_inherit \
48	zfs_mount \
49	zfs_promote \
50	zfs_property \
51	zfs_receive \
52	zfs_rename \
53	zfs_reservation \
54	zfs_rollback \
55	zfs_send \
56	zfs_set \
57	zfs_share \
58	zfs_snapshot \
59	zfs_unmount \
60	zfs_unshare \
61	zfs_upgrade \
62	zpool \
63	zpool_add \
64	zpool_attach \
65	zpool_clear \
66	zpool_create \
67	zpool_destroy \
68	zpool_detach \
69	zpool_expand \
70	zpool_export \
71	zpool_get \
72	zpool_history \
73	zpool_import \
74	zpool_offline \
75	zpool_online \
76	zpool_remove \
77	zpool_replace \
78	zpool_scrub \
79	zpool_set \
80	zpool_status \
81	zpool_upgrade
82
83include $(SRC)/test/Makefile.com
84