xref: /illumos-gate/usr/src/test/zfs-tests/callbacks/Makefile (revision 55a13001fbd9772352bc050632ef966a249dc73b)
1*55a13001SPavel Zakharov#
2*55a13001SPavel Zakharov# This file and its contents are supplied under the terms of the
3*55a13001SPavel Zakharov# Common Development and Distribution License ("CDDL"), version 1.0.
4*55a13001SPavel Zakharov# You may only use this file in accordance with the terms of version
5*55a13001SPavel Zakharov# 1.0 of the CDDL.
6*55a13001SPavel Zakharov#
7*55a13001SPavel Zakharov# A full copy of the text of the CDDL should have accompanied this
8*55a13001SPavel Zakharov# source.  A copy of the CDDL is also available via the Internet at
9*55a13001SPavel Zakharov# http://www.illumos.org/license/CDDL.
10*55a13001SPavel Zakharov#
11*55a13001SPavel Zakharov
12*55a13001SPavel Zakharov#
13*55a13001SPavel Zakharov# Copyright (c) 2016 by Delphix. All rights reserved.
14*55a13001SPavel Zakharov#
15*55a13001SPavel Zakharov
16*55a13001SPavel Zakharovinclude $(SRC)/Makefile.master
17*55a13001SPavel Zakharov
18*55a13001SPavel ZakharovCALLBACKS = zfs_dbgmsg.ksh
19*55a13001SPavel Zakharov
20*55a13001SPavel ZakharovROOTOPTPKG = $(ROOT)/opt/zfs-tests
21*55a13001SPavel ZakharovCALLBACKSDIR = $(ROOTOPTPKG)/callbacks
22*55a13001SPavel Zakharov
23*55a13001SPavel ZakharovFILES = $(CALLBACKS:%=$(CALLBACKSDIR)/%)
24*55a13001SPavel Zakharov$(FILES) := FILEMODE = 0555
25*55a13001SPavel Zakharov
26*55a13001SPavel Zakharovall: $(CALLBACKS)
27*55a13001SPavel Zakharov
28*55a13001SPavel Zakharovinstall: $(CALLBACKSDIR) $(FILES)
29*55a13001SPavel Zakharov
30*55a13001SPavel Zakharovclean lint clobber:
31*55a13001SPavel Zakharov
32*55a13001SPavel Zakharov$(CALLBACKSDIR):
33*55a13001SPavel Zakharov	$(INS.dir)
34*55a13001SPavel Zakharov
35*55a13001SPavel Zakharov$(CALLBACKSDIR)/%: %
36*55a13001SPavel Zakharov	$(INS.file)
37