1*5cabbc6bSPrashanth Sreenivasa# 2*5cabbc6bSPrashanth Sreenivasa# This file and its contents are supplied under the terms of the 3*5cabbc6bSPrashanth Sreenivasa# Common Development and Distribution License ("CDDL"), version 1.0. 4*5cabbc6bSPrashanth Sreenivasa# You may only use this file in accordance with the terms of version 5*5cabbc6bSPrashanth Sreenivasa# 1.0 of the CDDL. 6*5cabbc6bSPrashanth Sreenivasa# 7*5cabbc6bSPrashanth Sreenivasa# A full copy of the text of the CDDL should have accompanied this 8*5cabbc6bSPrashanth Sreenivasa# source. A copy of the CDDL is also available via the Internet at 9*5cabbc6bSPrashanth Sreenivasa# http://www.illumos.org/license/CDDL. 10*5cabbc6bSPrashanth Sreenivasa# 11*5cabbc6bSPrashanth Sreenivasa 12*5cabbc6bSPrashanth Sreenivasa# 13*5cabbc6bSPrashanth Sreenivasa# Copyright (c) 2015 by Delphix. All rights reserved. 14*5cabbc6bSPrashanth Sreenivasa# 15*5cabbc6bSPrashanth Sreenivasa 16*5cabbc6bSPrashanth Sreenivasainclude $(SRC)/Makefile.master 17*5cabbc6bSPrashanth Sreenivasa 18*5cabbc6bSPrashanth SreenivasaROOTOPTPKG = $(ROOT)/opt/zfs-tests 19*5cabbc6bSPrashanth SreenivasaTESTDIR = $(ROOTOPTPKG)/tests/stress/races 20*5cabbc6bSPrashanth Sreenivasa 21*5cabbc6bSPrashanth SreenivasaPROGS = remove_file_while_remap 22*5cabbc6bSPrashanth Sreenivasa 23*5cabbc6bSPrashanth SreenivasaCMDS = $(PROGS:%=$(TESTDIR)/%) 24*5cabbc6bSPrashanth Sreenivasa$(CMDS) := FILEMODE = 0555 25*5cabbc6bSPrashanth Sreenivasa 26*5cabbc6bSPrashanth Sreenivasaall lint clean clobber: 27*5cabbc6bSPrashanth Sreenivasa 28*5cabbc6bSPrashanth Sreenivasainstall: $(CMDS) 29*5cabbc6bSPrashanth Sreenivasa 30*5cabbc6bSPrashanth Sreenivasa$(CMDS): $(TESTDIR) 31*5cabbc6bSPrashanth Sreenivasa 32*5cabbc6bSPrashanth Sreenivasa$(TESTDIR): 33*5cabbc6bSPrashanth Sreenivasa $(INS.dir) 34*5cabbc6bSPrashanth Sreenivasa 35*5cabbc6bSPrashanth Sreenivasa$(TESTDIR)/%: %.ksh 36*5cabbc6bSPrashanth Sreenivasa $(INS.rename) 37*5cabbc6bSPrashanth Sreenivasa 38*5cabbc6bSPrashanth Sreenivasa$(TESTDIR)/%: % 39*5cabbc6bSPrashanth Sreenivasa $(INS.file) 40