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