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