xref: /titanic_44/usr/src/test/zfs-tests/tests/functional/userquota/Makefile (revision 1a5e258f5471356ca102c7176637cdce45bac147)
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/userquota
20
21PROGS = cleanup \
22	groupspace_001_pos \
23	groupspace_002_pos \
24	setup \
25	userquota_001_pos \
26	userquota_002_pos \
27	userquota_003_pos \
28	userquota_004_pos \
29	userquota_005_neg \
30	userquota_006_pos \
31	userquota_007_pos \
32	userquota_008_pos \
33	userquota_009_pos \
34	userquota_010_pos \
35	userquota_011_pos \
36	userquota_012_neg \
37	userspace_001_pos \
38	userspace_002_pos
39
40FILES = userquota.cfg \
41	userquota_common.kshlib
42
43CMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%)
44$(CMDS) := FILEMODE = 0555
45
46all lint clean clobber:
47
48install: $(CMDS)
49
50$(CMDS): $(TESTDIR)
51
52$(TESTDIR):
53	$(INS.dir)
54
55$(TESTDIR)/%: %.ksh
56	$(INS.rename)
57
58$(TESTDIR)/%: %
59	$(INS.file)
60