xref: /titanic_51/usr/src/test/zfs-tests/tests/functional/xattr/Makefile (revision f7b98820db2e767eb246fc6aef8f740f838f03c6)
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/xattr
20
21PROGS = cleanup \
22	setup \
23	xattr_001_pos \
24	xattr_002_neg \
25	xattr_003_neg \
26	xattr_004_pos \
27	xattr_005_pos \
28	xattr_006_pos \
29	xattr_007_neg \
30	xattr_008_pos \
31	xattr_009_neg \
32	xattr_010_neg \
33	xattr_011_pos \
34	xattr_012_pos \
35	xattr_013_pos \
36
37FILES = xattr_common.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