xref: /titanic_52/usr/src/test/zfs-tests/cmd/scripts/Makefile (revision d583b39bfb4e2571d3e41097c5c357ffe353ad45)
1*d583b39bSJohn Wren Kennedy#
2*d583b39bSJohn Wren Kennedy# This file and its contents are supplied under the terms of the
3*d583b39bSJohn Wren Kennedy# Common Development and Distribution License ("CDDL"), version 1.0.
4*d583b39bSJohn Wren Kennedy# You may only use this file in accordance with the terms of version
5*d583b39bSJohn Wren Kennedy# 1.0 of the CDDL.
6*d583b39bSJohn Wren Kennedy#
7*d583b39bSJohn Wren Kennedy# A full copy of the text of the CDDL should have accompanied this
8*d583b39bSJohn Wren Kennedy# source.  A copy of the CDDL is also available via the Internet at
9*d583b39bSJohn Wren Kennedy# http://www.illumos.org/license/CDDL.
10*d583b39bSJohn Wren Kennedy#
11*d583b39bSJohn Wren Kennedy
12*d583b39bSJohn Wren Kennedy#
13*d583b39bSJohn Wren Kennedy# Copyright (c) 2012 by Delphix. All rights reserved.
14*d583b39bSJohn Wren Kennedy#
15*d583b39bSJohn Wren Kennedy
16*d583b39bSJohn Wren Kennedyinclude $(SRC)/Makefile.master
17*d583b39bSJohn Wren Kennedy
18*d583b39bSJohn Wren KennedyROOTOPTPKG = $(ROOT)/opt/zfs-tests
19*d583b39bSJohn Wren KennedyROOTBIN = $(ROOTOPTPKG)/bin
20*d583b39bSJohn Wren Kennedy
21*d583b39bSJohn Wren KennedyPROGS = zfstest
22*d583b39bSJohn Wren Kennedy
23*d583b39bSJohn Wren KennedyCMDS = $(PROGS:%=$(ROOTBIN)/%)
24*d583b39bSJohn Wren Kennedy$(CMDS) := FILEMODE = 0555
25*d583b39bSJohn Wren Kennedy
26*d583b39bSJohn Wren Kennedyall lint clean clobber:
27*d583b39bSJohn Wren Kennedy
28*d583b39bSJohn Wren Kennedyinstall: $(CMDS)
29*d583b39bSJohn Wren Kennedy
30*d583b39bSJohn Wren Kennedy$(CMDS): $(ROOTBIN)
31*d583b39bSJohn Wren Kennedy
32*d583b39bSJohn Wren Kennedy$(ROOTBIN):
33*d583b39bSJohn Wren Kennedy	$(INS.dir)
34*d583b39bSJohn Wren Kennedy
35*d583b39bSJohn Wren Kennedy$(ROOTBIN)/%: %.ksh
36*d583b39bSJohn Wren Kennedy	$(INS.rename)
37