Makefile revision f38cb554a534c6df738be3f4d23327e69888e634
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# This file and its contents are supplied under the terms of the
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# Common Development and Distribution License ("CDDL"), version 1.0.
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# You may only use this file in accordance with the terms of version
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# 1.0 of the CDDL.
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# A full copy of the text of the CDDL should have accompanied this
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# source. A copy of the CDDL is also available via the Internet at
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# http://www.illumos.org/license/CDDL.
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# Copyright (c) 2013 by Delphix. All rights reserved.
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntinclude $(SRC)/Makefile.master
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontROOTOPTPKG = $(ROOT)/opt/zfs-tests
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontTESTDIR = $(ROOTOPTPKG)/tests/functional/mount
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontPROGS = cleanup \
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont umount_001 \
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont umountall_001 \
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt setup
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontCMDS = $(PROGS:%=$(TESTDIR)/%)
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt$(CMDS) := FILEMODE = 0555
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupontall lint clean clobber:
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntinstall: $(CMDS)
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont$(CMDS): $(TESTDIR)
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont$(TESTDIR):
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont $(INS.dir)
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt$(TESTDIR)/%: %.ksh
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont $(INS.rename)
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont$(TESTDIR)/%: %
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt $(INS.file)
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont