1*ce8560eeSMatt Barden#
2*ce8560eeSMatt Barden# This file and its contents are supplied under the terms of the
3*ce8560eeSMatt Barden# Common Development and Distribution License ("CDDL"), version 1.0.
4*ce8560eeSMatt Barden# You may only use this file in accordance with the terms of version
5*ce8560eeSMatt Barden# 1.0 of the CDDL.
6*ce8560eeSMatt Barden#
7*ce8560eeSMatt Barden# A full copy of the text of the CDDL should have accompanied this
8*ce8560eeSMatt Barden# source.  A copy of the CDDL is also available via the Internet at
9*ce8560eeSMatt Barden# http://www.illumos.org/license/CDDL.
10*ce8560eeSMatt Barden#
11*ce8560eeSMatt Barden
12*ce8560eeSMatt Barden#
13*ce8560eeSMatt Barden# Copyright 2020 Tintri by DDN, Inc. All rights reserved.
14*ce8560eeSMatt Barden#
15*ce8560eeSMatt Barden
16*ce8560eeSMatt Bardeninclude $(SRC)/Makefile.master
17*ce8560eeSMatt Bardeninclude $(SRC)/test/Makefile.com
18*ce8560eeSMatt Barden
19*ce8560eeSMatt BardenROOTOPTPKG = $(ROOT)/opt/libmlrpc-tests
20*ce8560eeSMatt BardenROOTBIN = $(ROOTOPTPKG)/bin
21*ce8560eeSMatt Barden
22*ce8560eeSMatt BardenPROGS = libmlrpctest
23*ce8560eeSMatt Barden
24*ce8560eeSMatt BardenCMDS = $(PROGS:%=$(ROOTBIN)/%)
25*ce8560eeSMatt Barden$(CMDS) := FILEMODE = 0555
26*ce8560eeSMatt Barden
27*ce8560eeSMatt Bardenall lint clean clobber:
28*ce8560eeSMatt Barden
29*ce8560eeSMatt Bardeninstall: $(CMDS)
30*ce8560eeSMatt Barden
31*ce8560eeSMatt Barden$(CMDS): $(ROOTBIN)
32*ce8560eeSMatt Barden
33*ce8560eeSMatt Barden$(ROOTBIN):
34*ce8560eeSMatt Barden	$(INS.dir)
35*ce8560eeSMatt Barden
36*ce8560eeSMatt Barden$(ROOTBIN)/%: %
37*ce8560eeSMatt Barden	$(INS.file)
38*ce8560eeSMatt Barden
39*ce8560eeSMatt Barden$(ROOTBIN)/%: %.ksh
40*ce8560eeSMatt Barden	$(INS.rename)
41