xref: /titanic_41/usr/src/test/zfs-tests/tests/functional/userquota/Makefile (revision a4dd1f3517267c5e5aa5b2bb53cb388002bc688f)
1*a4dd1f35SJohn Wren Kennedy#
2*a4dd1f35SJohn Wren Kennedy# This file and its contents are supplied under the terms of the
3*a4dd1f35SJohn Wren Kennedy# Common Development and Distribution License ("CDDL"), version 1.0.
4*a4dd1f35SJohn Wren Kennedy# You may only use this file in accordance with the terms of version
5*a4dd1f35SJohn Wren Kennedy# 1.0 of the CDDL.
6*a4dd1f35SJohn Wren Kennedy#
7*a4dd1f35SJohn Wren Kennedy# A full copy of the text of the CDDL should have accompanied this
8*a4dd1f35SJohn Wren Kennedy# source.  A copy of the CDDL is also available via the Internet at
9*a4dd1f35SJohn Wren Kennedy# http://www.illumos.org/license/CDDL.
10*a4dd1f35SJohn Wren Kennedy#
11*a4dd1f35SJohn Wren Kennedy
12*a4dd1f35SJohn Wren Kennedy#
13*a4dd1f35SJohn Wren Kennedy# Copyright (c) 2013 by Delphix. All rights reserved.
14*a4dd1f35SJohn Wren Kennedy#
15*a4dd1f35SJohn Wren Kennedy
16*a4dd1f35SJohn Wren Kennedyinclude $(SRC)/Makefile.master
17*a4dd1f35SJohn Wren Kennedy
18*a4dd1f35SJohn Wren KennedyROOTOPTPKG = $(ROOT)/opt/zfs-tests
19*a4dd1f35SJohn Wren KennedyTESTDIR = $(ROOTOPTPKG)/tests/functional/userquota
20*a4dd1f35SJohn Wren Kennedy
21*a4dd1f35SJohn Wren KennedyPROGS = cleanup \
22*a4dd1f35SJohn Wren Kennedy	groupspace_001_pos \
23*a4dd1f35SJohn Wren Kennedy	groupspace_002_pos \
24*a4dd1f35SJohn Wren Kennedy	setup \
25*a4dd1f35SJohn Wren Kennedy	userquota_001_pos \
26*a4dd1f35SJohn Wren Kennedy	userquota_002_pos \
27*a4dd1f35SJohn Wren Kennedy	userquota_003_pos \
28*a4dd1f35SJohn Wren Kennedy	userquota_004_pos \
29*a4dd1f35SJohn Wren Kennedy	userquota_005_neg \
30*a4dd1f35SJohn Wren Kennedy	userquota_006_pos \
31*a4dd1f35SJohn Wren Kennedy	userquota_007_pos \
32*a4dd1f35SJohn Wren Kennedy	userquota_008_pos \
33*a4dd1f35SJohn Wren Kennedy	userquota_009_pos \
34*a4dd1f35SJohn Wren Kennedy	userquota_010_pos \
35*a4dd1f35SJohn Wren Kennedy	userquota_011_pos \
36*a4dd1f35SJohn Wren Kennedy	userquota_012_neg \
37*a4dd1f35SJohn Wren Kennedy	userspace_001_pos \
38*a4dd1f35SJohn Wren Kennedy	userspace_002_pos
39*a4dd1f35SJohn Wren Kennedy
40*a4dd1f35SJohn Wren KennedyFILES = userquota.cfg \
41*a4dd1f35SJohn Wren Kennedy	userquota_common.kshlib
42*a4dd1f35SJohn Wren Kennedy
43*a4dd1f35SJohn Wren KennedyCMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%)
44*a4dd1f35SJohn Wren Kennedy$(CMDS) := FILEMODE = 0555
45*a4dd1f35SJohn Wren Kennedy
46*a4dd1f35SJohn Wren Kennedyall lint clean clobber:
47*a4dd1f35SJohn Wren Kennedy
48*a4dd1f35SJohn Wren Kennedyinstall: $(CMDS)
49*a4dd1f35SJohn Wren Kennedy
50*a4dd1f35SJohn Wren Kennedy$(CMDS): $(TESTDIR)
51*a4dd1f35SJohn Wren Kennedy
52*a4dd1f35SJohn Wren Kennedy$(TESTDIR):
53*a4dd1f35SJohn Wren Kennedy	$(INS.dir)
54*a4dd1f35SJohn Wren Kennedy
55*a4dd1f35SJohn Wren Kennedy$(TESTDIR)/%: %.ksh
56*a4dd1f35SJohn Wren Kennedy	$(INS.rename)
57*a4dd1f35SJohn Wren Kennedy
58*a4dd1f35SJohn Wren Kennedy$(TESTDIR)/%: %
59*a4dd1f35SJohn Wren Kennedy	$(INS.file)
60