1*6d3b960aSAndy Fiddaman# 2*6d3b960aSAndy Fiddaman# This file and its contents are supplied under the terms of the 3*6d3b960aSAndy Fiddaman# Common Development and Distribution License ("CDDL"), version 1.0. 4*6d3b960aSAndy Fiddaman# You may only use this file in accordance with the terms of version 5*6d3b960aSAndy Fiddaman# 1.0 of the CDDL. 6*6d3b960aSAndy Fiddaman# 7*6d3b960aSAndy Fiddaman# A full copy of the text of the CDDL should have accompanied this 8*6d3b960aSAndy Fiddaman# source. A copy of the CDDL is also available via the Internet at 9*6d3b960aSAndy Fiddaman# http://www.illumos.org/license/CDDL. 10*6d3b960aSAndy Fiddaman# 11*6d3b960aSAndy Fiddaman 12*6d3b960aSAndy Fiddaman# 13*6d3b960aSAndy Fiddaman# Copyright 2022 OmniOS Community Edition (OmniOSce) Association. 14*6d3b960aSAndy Fiddaman# 15*6d3b960aSAndy Fiddaman 16*6d3b960aSAndy Fiddaman.PARALLEL: $(SUBDIRS) 17*6d3b960aSAndy FiddamanSUBDIRS = files 18*6d3b960aSAndy Fiddaman 19*6d3b960aSAndy Fiddamaninclude $(SRC)/cmd/Makefile.cmd 20*6d3b960aSAndy Fiddamaninclude $(SRC)/test/Makefile.com 21*6d3b960aSAndy Fiddaman 22*6d3b960aSAndy FiddamanROOTOPTPKG = $(ROOT)/opt/util-tests 23*6d3b960aSAndy FiddamanTESTDIR = $(ROOTOPTPKG)/tests/cpio 24*6d3b960aSAndy Fiddaman 25*6d3b960aSAndy FiddamanPROGS = cpio_test 26*6d3b960aSAndy Fiddaman 27*6d3b960aSAndy FiddamanTESTS = $(PROGS:%=$(TESTDIR)/%) 28*6d3b960aSAndy Fiddaman$(TESTS) := FILEMODE = 0555 29*6d3b960aSAndy Fiddaman 30*6d3b960aSAndy Fiddamanall clean clobber: 31*6d3b960aSAndy Fiddaman 32*6d3b960aSAndy Fiddamaninstall: $(TESTS) 33*6d3b960aSAndy Fiddaman 34*6d3b960aSAndy Fiddaman$(TESTS): $(TESTDIR) 35*6d3b960aSAndy Fiddaman 36*6d3b960aSAndy Fiddaman$(TESTDIR): 37*6d3b960aSAndy Fiddaman $(INS.dir) 38*6d3b960aSAndy Fiddaman 39*6d3b960aSAndy Fiddaman$(TESTDIR)/%: %.ksh 40*6d3b960aSAndy Fiddaman $(INS.rename) 41