1*1a2d662aSRobert Mustacchi# 2*1a2d662aSRobert Mustacchi# This file and its contents are supplied under the terms of the 3*1a2d662aSRobert Mustacchi# Common Development and Distribution License ("CDDL"), version 1.0. 4*1a2d662aSRobert Mustacchi# You may only use this file in accordance with the terms of version 5*1a2d662aSRobert Mustacchi# 1.0 of the CDDL. 6*1a2d662aSRobert Mustacchi# 7*1a2d662aSRobert Mustacchi# A full copy of the text of the CDDL should have accompanied this 8*1a2d662aSRobert Mustacchi# source. A copy of the CDDL is also available via the Internet at 9*1a2d662aSRobert Mustacchi# http://www.illumos.org/license/CDDL. 10*1a2d662aSRobert Mustacchi# 11*1a2d662aSRobert Mustacchi 12*1a2d662aSRobert Mustacchi# 13*1a2d662aSRobert Mustacchi# Copyright 2024 Oxide Computer Company 14*1a2d662aSRobert Mustacchi# 15*1a2d662aSRobert Mustacchi 16*1a2d662aSRobert Mustacchiinclude $(SRC)/Makefile.master 17*1a2d662aSRobert Mustacchi 18*1a2d662aSRobert MustacchiRUNFILES = \ 19*1a2d662aSRobert Mustacchi default.run 20*1a2d662aSRobert Mustacchi 21*1a2d662aSRobert MustacchiROOTOPTPKG = $(ROOT)/opt/libproc-tests 22*1a2d662aSRobert MustacchiROOTRUNDIR = $(ROOTOPTPKG)/runfiles 23*1a2d662aSRobert Mustacchi 24*1a2d662aSRobert MustacchiROOTRUNFILES = $(RUNFILES:%=$(ROOTRUNDIR)/%) 25*1a2d662aSRobert Mustacchi$(ROOTRUNFILES) := FILEMODE = 0444 26*1a2d662aSRobert Mustacchi 27*1a2d662aSRobert Mustacchiall: $(SRCS) 28*1a2d662aSRobert Mustacchi 29*1a2d662aSRobert Mustacchiinstall: $(ROOTRUNFILES) 30*1a2d662aSRobert Mustacchi 31*1a2d662aSRobert Mustacchiclean: 32*1a2d662aSRobert Mustacchi 33*1a2d662aSRobert Mustacchiclobber: 34*1a2d662aSRobert Mustacchi 35*1a2d662aSRobert Mustacchi$(ROOTRUNFILES): $(ROOTRUNDIR) 36*1a2d662aSRobert Mustacchi 37*1a2d662aSRobert Mustacchi$(ROOTRUNDIR): 38*1a2d662aSRobert Mustacchi $(INS.dir) 39*1a2d662aSRobert Mustacchi 40*1a2d662aSRobert Mustacchi$(ROOTRUNDIR)/%: % 41*1a2d662aSRobert Mustacchi $(INS.file) 42