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/xattr 20*a4dd1f35SJohn Wren Kennedy 21*a4dd1f35SJohn Wren KennedyPROGS = cleanup \ 22*a4dd1f35SJohn Wren Kennedy setup \ 23*a4dd1f35SJohn Wren Kennedy xattr_001_pos \ 24*a4dd1f35SJohn Wren Kennedy xattr_002_neg \ 25*a4dd1f35SJohn Wren Kennedy xattr_003_neg \ 26*a4dd1f35SJohn Wren Kennedy xattr_004_pos \ 27*a4dd1f35SJohn Wren Kennedy xattr_005_pos \ 28*a4dd1f35SJohn Wren Kennedy xattr_006_pos \ 29*a4dd1f35SJohn Wren Kennedy xattr_007_neg \ 30*a4dd1f35SJohn Wren Kennedy xattr_008_pos \ 31*a4dd1f35SJohn Wren Kennedy xattr_009_neg \ 32*a4dd1f35SJohn Wren Kennedy xattr_010_neg \ 33*a4dd1f35SJohn Wren Kennedy xattr_011_pos \ 34*a4dd1f35SJohn Wren Kennedy xattr_012_pos \ 35*a4dd1f35SJohn Wren Kennedy xattr_013_pos \ 36*a4dd1f35SJohn Wren Kennedy 37*a4dd1f35SJohn Wren KennedyFILES = xattr_common.kshlib 38*a4dd1f35SJohn Wren Kennedy 39*a4dd1f35SJohn Wren KennedyCMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%) 40*a4dd1f35SJohn Wren Kennedy$(CMDS) := FILEMODE = 0555 41*a4dd1f35SJohn Wren Kennedy 42*a4dd1f35SJohn Wren Kennedyall lint clean clobber: 43*a4dd1f35SJohn Wren Kennedy 44*a4dd1f35SJohn Wren Kennedyinstall: $(CMDS) 45*a4dd1f35SJohn Wren Kennedy 46*a4dd1f35SJohn Wren Kennedy$(CMDS): $(TESTDIR) 47*a4dd1f35SJohn Wren Kennedy 48*a4dd1f35SJohn Wren Kennedy$(TESTDIR): 49*a4dd1f35SJohn Wren Kennedy $(INS.dir) 50*a4dd1f35SJohn Wren Kennedy 51*a4dd1f35SJohn Wren Kennedy$(TESTDIR)/%: %.ksh 52*a4dd1f35SJohn Wren Kennedy $(INS.rename) 53*a4dd1f35SJohn Wren Kennedy 54*a4dd1f35SJohn Wren Kennedy$(TESTDIR)/%: % 55*a4dd1f35SJohn Wren Kennedy $(INS.file) 56