1*f38cb554SJohn Wren Kennedy# 2*f38cb554SJohn Wren Kennedy# This file and its contents are supplied under the terms of the 3*f38cb554SJohn Wren Kennedy# Common Development and Distribution License ("CDDL"), version 1.0. 4*f38cb554SJohn Wren Kennedy# You may only use this file in accordance with the terms of version 5*f38cb554SJohn Wren Kennedy# 1.0 of the CDDL. 6*f38cb554SJohn Wren Kennedy# 7*f38cb554SJohn Wren Kennedy# A full copy of the text of the CDDL should have accompanied this 8*f38cb554SJohn Wren Kennedy# source. A copy of the CDDL is also available via the Internet at 9*f38cb554SJohn Wren Kennedy# http://www.illumos.org/license/CDDL. 10*f38cb554SJohn Wren Kennedy# 11*f38cb554SJohn Wren Kennedy 12*f38cb554SJohn Wren Kennedy# 13*f38cb554SJohn Wren Kennedy# Copyright (c) 2013 by Delphix. All rights reserved. 14*f38cb554SJohn Wren Kennedy# 15*f38cb554SJohn Wren Kennedy 16*f38cb554SJohn Wren Kennedyinclude $(SRC)/Makefile.master 17*f38cb554SJohn Wren Kennedy 18*f38cb554SJohn Wren KennedyROOTOPTPKG = $(ROOT)/opt/zfs-tests 19*f38cb554SJohn Wren KennedyTESTDIR = $(ROOTOPTPKG)/tests/functional/quota 20*f38cb554SJohn Wren Kennedy 21*f38cb554SJohn Wren KennedyPROGS = cleanup \ 22*f38cb554SJohn Wren Kennedy quota_001_pos \ 23*f38cb554SJohn Wren Kennedy quota_002_pos \ 24*f38cb554SJohn Wren Kennedy quota_003_pos \ 25*f38cb554SJohn Wren Kennedy quota_004_pos \ 26*f38cb554SJohn Wren Kennedy quota_005_pos \ 27*f38cb554SJohn Wren Kennedy quota_006_neg \ 28*f38cb554SJohn Wren Kennedy setup 29*f38cb554SJohn Wren Kennedy 30*f38cb554SJohn Wren KennedyFILES = quota.cfg \ 31*f38cb554SJohn Wren Kennedy quota.kshlib 32*f38cb554SJohn Wren Kennedy 33*f38cb554SJohn Wren KennedyCMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%) 34*f38cb554SJohn Wren Kennedy$(CMDS) := FILEMODE = 0555 35*f38cb554SJohn Wren Kennedy 36*f38cb554SJohn Wren Kennedyall lint clean clobber: 37*f38cb554SJohn Wren Kennedy 38*f38cb554SJohn Wren Kennedyinstall: $(CMDS) 39*f38cb554SJohn Wren Kennedy 40*f38cb554SJohn Wren Kennedy$(CMDS): $(TESTDIR) 41*f38cb554SJohn Wren Kennedy 42*f38cb554SJohn Wren Kennedy$(TESTDIR): 43*f38cb554SJohn Wren Kennedy $(INS.dir) 44*f38cb554SJohn Wren Kennedy 45*f38cb554SJohn Wren Kennedy$(TESTDIR)/%: %.ksh 46*f38cb554SJohn Wren Kennedy $(INS.rename) 47*f38cb554SJohn Wren Kennedy 48*f38cb554SJohn Wren Kennedy$(TESTDIR)/%: % 49*f38cb554SJohn Wren Kennedy $(INS.file) 50