1*9992e6a6SMatthew Barden# 2*9992e6a6SMatthew Barden# This file and its contents are supplied under the terms of the 3*9992e6a6SMatthew Barden# Common Development and Distribution License ("CDDL"), version 1.0. 4*9992e6a6SMatthew Barden# You may only use this file in accordance with the terms of version 5*9992e6a6SMatthew Barden# 1.0 of the CDDL. 6*9992e6a6SMatthew Barden# 7*9992e6a6SMatthew Barden# A full copy of the text of the CDDL should have accompanied this 8*9992e6a6SMatthew Barden# source. A copy of the CDDL is also available via the Internet at 9*9992e6a6SMatthew Barden# http://www.illumos.org/license/CDDL. 10*9992e6a6SMatthew Barden# 11*9992e6a6SMatthew Barden 12*9992e6a6SMatthew Barden# 13*9992e6a6SMatthew Barden# Copyright (c) 2013 by Delphix. All rights reserved. 14*9992e6a6SMatthew Barden# Copyright 2014 Nexenta Systems, Inc. All rights reserved. 15*9992e6a6SMatthew Barden# 16*9992e6a6SMatthew Barden 17*9992e6a6SMatthew Barden.PARALLEL: $(SUBDIRS) 18*9992e6a6SMatthew Barden 19*9992e6a6SMatthew Bardeninclude $(SRC)/cmd/Makefile.cmd 20*9992e6a6SMatthew Bardeninclude $(SRC)/test/Makefile.com 21*9992e6a6SMatthew Barden 22*9992e6a6SMatthew BardenROOTOPTPKG = $(ROOT)/opt/util-tests 23*9992e6a6SMatthew BardenTESTDIR = $(ROOTOPTPKG)/tests 24*9992e6a6SMatthew Barden 25*9992e6a6SMatthew BardenPROGS = grep_test 26*9992e6a6SMatthew Barden 27*9992e6a6SMatthew BardenCMDS = $(PROGS:%=$(TESTDIR)/%) 28*9992e6a6SMatthew Barden$(CMDS) := FILEMODE = 0555 29*9992e6a6SMatthew Barden 30*9992e6a6SMatthew Bardenall lint clean clobber: 31*9992e6a6SMatthew Barden 32*9992e6a6SMatthew Bardeninstall: $(CMDS) 33*9992e6a6SMatthew Barden 34*9992e6a6SMatthew Barden$(CMDS): $(TESTDIR) 35*9992e6a6SMatthew Barden 36*9992e6a6SMatthew Barden$(TESTDIR): 37*9992e6a6SMatthew Barden $(INS.dir) 38*9992e6a6SMatthew Barden 39*9992e6a6SMatthew Barden$(TESTDIR)/%: %.ksh 40*9992e6a6SMatthew Barden $(INS.rename) 41*9992e6a6SMatthew Barden 42*9992e6a6SMatthew BardenSUBDIRS = files 43*9992e6a6SMatthew Barden 44*9992e6a6SMatthew Bardeninclude $(SRC)/test/Makefile.com 45