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 
  16 include $(SRC)/Makefile.master
  17 
  18 ROOTOPTPKG = $(ROOT)/opt/zfs-tests
  19 TESTDIR = $(ROOTOPTPKG)/tests/functional/xattr
  20 
  21 PROGS = 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 
  37 FILES = xattr_common.kshlib
  38 
  39 CMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%)
  40 $(CMDS) := FILEMODE = 0555
  41 
  42 all lint clean clobber:
  43 
  44 install: $(CMDS)
  45 
  46 $(CMDS): $(TESTDIR)
  47 
  48 $(TESTDIR):
  49         $(INS.dir)
  50 
  51 $(TESTDIR)/%: %.ksh
  52         $(INS.rename)
  53 
  54 $(TESTDIR)/%: %
  55         $(INS.file)