xref: /titanic_44/usr/src/test/zfs-tests/runfiles/Makefile (revision cf988fac1debd92859f8068ee3d3e53782043469)
1d583b39bSJohn Wren Kennedy#
2d583b39bSJohn Wren Kennedy# This file and its contents are supplied under the terms of the
3d583b39bSJohn Wren Kennedy# Common Development and Distribution License ("CDDL"), version 1.0.
4d583b39bSJohn Wren Kennedy# You may only use this file in accordance with the terms of version
5d583b39bSJohn Wren Kennedy# 1.0 of the CDDL.
6d583b39bSJohn Wren Kennedy#
7d583b39bSJohn Wren Kennedy# A full copy of the text of the CDDL should have accompanied this
8d583b39bSJohn Wren Kennedy# source.  A copy of the CDDL is also available via the Internet at
9d583b39bSJohn Wren Kennedy# http://www.illumos.org/license/CDDL.
10d583b39bSJohn Wren Kennedy#
11d583b39bSJohn Wren Kennedy
12d583b39bSJohn Wren Kennedy#
13d583b39bSJohn Wren Kennedy# Copyright (c) 2012 by Delphix. All rights reserved.
14*cf988facSDan McDonald# Copyright 2014, OmniTI Computer Consulting, Inc. All rights reserved.
15d583b39bSJohn Wren Kennedy#
16d583b39bSJohn Wren Kennedy
17d583b39bSJohn Wren Kennedyinclude $(SRC)/Makefile.master
18d583b39bSJohn Wren Kennedy
19*cf988facSDan McDonaldSRCS = delphix.run openindiana.run omnios.run
20d583b39bSJohn Wren Kennedy
21d583b39bSJohn Wren KennedyROOTOPTPKG = $(ROOT)/opt/zfs-tests
22d583b39bSJohn Wren KennedyRUNFILES = $(ROOTOPTPKG)/runfiles
23d583b39bSJohn Wren Kennedy
24d583b39bSJohn Wren KennedyCMDS = $(SRCS:%=$(RUNFILES)/%)
25d583b39bSJohn Wren Kennedy$(CMDS) := FILEMODE = 0444
26d583b39bSJohn Wren Kennedy
27d583b39bSJohn Wren Kennedyall: $(SRCS)
28d583b39bSJohn Wren Kennedy
29d583b39bSJohn Wren Kennedyinstall: $(CMDS)
30d583b39bSJohn Wren Kennedy
31d583b39bSJohn Wren Kennedyclean lint clobber:
32d583b39bSJohn Wren Kennedy
33d583b39bSJohn Wren Kennedy$(CMDS): $(RUNFILES) $(SRCS)
34d583b39bSJohn Wren Kennedy
35d583b39bSJohn Wren Kennedy$(RUNFILES):
36d583b39bSJohn Wren Kennedy	$(INS.dir)
37d583b39bSJohn Wren Kennedy
38d583b39bSJohn Wren Kennedy$(RUNFILES)/%: %
39d583b39bSJohn Wren Kennedy	$(INS.file)
40