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/acl/trivial
20
21PROGS = cleanup \
22	setup \
23	zfs_acl_aclmode_restricted_001_pos \
24	zfs_acl_chmod_001_pos \
25	zfs_acl_compress_001_pos \
26	zfs_acl_cp_001_pos \
27	zfs_acl_cp_002_neg \
28	zfs_acl_cp_003_neg \
29	zfs_acl_find_001_pos \
30	zfs_acl_find_002_neg \
31	zfs_acl_ls_001_pos \
32	zfs_acl_ls_002_neg \
33	zfs_acl_mv_001_pos \
34	zfs_acl_pack_001_pos \
35	zfs_acl_pax_001_pos \
36	zfs_acl_pax_002_pos \
37	zfs_acl_pax_003_pos \
38	zfs_acl_pax_004_pos \
39	zfs_acl_pax_005_pos \
40	zfs_acl_pax_006_pos \
41	zfs_acl_tar_001_pos \
42	zfs_acl_tar_002_neg
43
44CMDS = $(PROGS:%=$(TESTDIR)/%)
45$(CMDS) := FILEMODE = 0555
46
47all lint clean clobber:
48
49install: $(CMDS)
50
51$(CMDS): $(TESTDIR)
52
53$(TESTDIR):
54	$(INS.dir)
55
56$(TESTDIR)/%: %.ksh
57	$(INS.rename)
58