1*4db555a5SRichard Lowe# 2*4db555a5SRichard Lowe# This file and its contents are supplied under the terms of the 3*4db555a5SRichard Lowe# Common Development and Distribution License ("CDDL"), version 1.0. 4*4db555a5SRichard Lowe# You may only use this file in accordance with the terms of version 5*4db555a5SRichard Lowe# 1.0 of the CDDL. 6*4db555a5SRichard Lowe# 7*4db555a5SRichard Lowe# A full copy of the text of the CDDL should have accompanied this 8*4db555a5SRichard Lowe# source. A copy of the CDDL is also available via the Internet at 9*4db555a5SRichard Lowe# http://www.illumos.org/license/CDDL. 10*4db555a5SRichard Lowe# 11*4db555a5SRichard Lowe 12*4db555a5SRichard Lowe# 13*4db555a5SRichard Lowe# Copyright (c) 2012 by Delphix. All rights reserved. 14*4db555a5SRichard Lowe# Copyright 2014, OmniTI Computer Consulting, Inc. All rights reserved. 15*4db555a5SRichard Lowe# Copyright 2014 Garrett D'Amore <garrett@damore.org> 16*4db555a5SRichard Lowe# 17*4db555a5SRichard Lowe 18*4db555a5SRichard Loweinclude $(SRC)/Makefile.master 19*4db555a5SRichard Lowe 20*4db555a5SRichard LoweSRCS = default.run 21*4db555a5SRichard Lowe 22*4db555a5SRichard LoweROOTOPTPKG = $(ROOT)/opt/elf-tests 23*4db555a5SRichard LoweRUNFILES = $(ROOTOPTPKG)/runfiles 24*4db555a5SRichard Lowe 25*4db555a5SRichard LoweCMDS = $(SRCS:%=$(RUNFILES)/%) 26*4db555a5SRichard Lowe$(CMDS) := FILEMODE = 0444 27*4db555a5SRichard Lowe 28*4db555a5SRichard Loweall: $(SRCS) 29*4db555a5SRichard Lowe 30*4db555a5SRichard Loweinstall: $(CMDS) 31*4db555a5SRichard Lowe 32*4db555a5SRichard Loweclean lint clobber: 33*4db555a5SRichard Lowe 34*4db555a5SRichard Lowe$(CMDS): $(RUNFILES) $(SRCS) 35*4db555a5SRichard Lowe 36*4db555a5SRichard Lowe$(RUNFILES): 37*4db555a5SRichard Lowe $(INS.dir) 38*4db555a5SRichard Lowe 39*4db555a5SRichard Lowe$(RUNFILES)/%: % 40*4db555a5SRichard Lowe $(INS.file) 41