f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy#
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy# This file and its contents are supplied under the terms of the
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy# Common Development and Distribution License ("CDDL"), version 1.0.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy# You may only use this file in accordance with the terms of version
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy# 1.0 of the CDDL.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy#
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy# A full copy of the text of the CDDL should have accompanied this
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy# source. A copy of the CDDL is also available via the Internet at
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy# http://www.illumos.org/license/CDDL.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy#
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy#
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy# Copyright (c) 2013 by Delphix. All rights reserved.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy#
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedyinclude $(SRC)/Makefile.master
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy
f38cb554a534c6df738be3f4d23327e69888e634John Wren KennedyROOTOPTPKG = $(ROOT)/opt/zfs-tests
f38cb554a534c6df738be3f4d23327e69888e634John Wren KennedyTESTDIR = $(ROOTOPTPKG)/tests/functional/large_files
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy
f38cb554a534c6df738be3f4d23327e69888e634John Wren KennedyPROGS = cleanup \
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy large_files_001_pos \
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy setup
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy
f38cb554a534c6df738be3f4d23327e69888e634John Wren KennedyCMDS = $(PROGS:%=$(TESTDIR)/%)
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy$(CMDS) := FILEMODE = 0555
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedyall lint clean clobber:
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedyinstall: $(CMDS)
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy$(CMDS): $(TESTDIR)
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy$(TESTDIR):
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy $(INS.dir)
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy$(TESTDIR)/%: %.ksh
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy $(INS.rename)
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy$(TESTDIR)/%: %
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy $(INS.file)