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