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 2015 Nexenta Systems, Inc. All rights reserved. 15*4db555a5SRichard Lowe# 16*4db555a5SRichard Lowe 17*4db555a5SRichard Loweinclude $(SRC)/Makefile.master 18*4db555a5SRichard Loweinclude $(SRC)/test/Makefile.com 19*4db555a5SRichard Lowe 20*4db555a5SRichard LoweROOTOPTPKG = $(ROOT)/opt/elf-tests 21*4db555a5SRichard LoweROOTBIN = $(ROOTOPTPKG)/bin 22*4db555a5SRichard Lowe 23*4db555a5SRichard LowePROGS = elftest 24*4db555a5SRichard Lowe 25*4db555a5SRichard LoweCMDS = $(PROGS:%=$(ROOTBIN)/%) 26*4db555a5SRichard Lowe$(CMDS) := FILEMODE = 0555 27*4db555a5SRichard Lowe 28*4db555a5SRichard Loweall lint clean clobber: 29*4db555a5SRichard Lowe 30*4db555a5SRichard Loweinstall: $(CMDS) 31*4db555a5SRichard Lowe 32*4db555a5SRichard Lowe$(CMDS): $(ROOTBIN) 33*4db555a5SRichard Lowe 34*4db555a5SRichard Lowe$(ROOTBIN): 35*4db555a5SRichard Lowe $(INS.dir) 36*4db555a5SRichard Lowe 37*4db555a5SRichard Lowe$(ROOTBIN)/%: %.ksh 38*4db555a5SRichard Lowe $(INS.rename) 39