xref: /titanic_41/usr/src/test/test-runner/cmd/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 Kennedyinclude $(SRC)/test/Makefile.com
18*d583b39bSJohn Wren Kennedy
19*d583b39bSJohn Wren KennedyROOTOPTPKG = $(ROOT)/opt/test-runner
20*d583b39bSJohn Wren KennedyROOTBIN = $(ROOTOPTPKG)/bin
21*d583b39bSJohn Wren Kennedy
22*d583b39bSJohn Wren KennedyPROGS = run
23*d583b39bSJohn Wren Kennedy
24*d583b39bSJohn Wren KennedyCMDS = $(PROGS:%=$(ROOTBIN)/%)
25*d583b39bSJohn Wren Kennedy$(CMDS) := FILEMODE = 0555
26*d583b39bSJohn Wren Kennedy
27*d583b39bSJohn Wren Kennedyall lint clean clobber:
28*d583b39bSJohn Wren Kennedy
29*d583b39bSJohn Wren Kennedyinstall: $(CMDS)
30*d583b39bSJohn Wren Kennedy
31*d583b39bSJohn Wren Kennedy$(CMDS): $(ROOTBIN)
32*d583b39bSJohn Wren Kennedy
33*d583b39bSJohn Wren Kennedy$(ROOTBIN):
34*d583b39bSJohn Wren Kennedy	$(INS.dir)
35*d583b39bSJohn Wren Kennedy
36*d583b39bSJohn Wren Kennedy$(ROOTBIN)/%: %.py
37*d583b39bSJohn Wren Kennedy	$(INS.rename)
38