xref: /titanic_52/usr/src/test/util-tests/cmd/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 2014 Garrett D'Amore <garrett@damore.org>
14*598f4ceeSGarrett D'Amore# Copyright (c) 2012 by Delphix. All rights reserved.
15*598f4ceeSGarrett D'Amore#
16*598f4ceeSGarrett D'Amore
17*598f4ceeSGarrett D'Amoreinclude $(SRC)/Makefile.master
18*598f4ceeSGarrett D'Amoreinclude $(SRC)/test/Makefile.com
19*598f4ceeSGarrett D'Amore
20*598f4ceeSGarrett D'AmoreROOTOPTPKG = $(ROOT)/opt/util-tests
21*598f4ceeSGarrett D'AmoreROOTBIN = $(ROOTOPTPKG)/bin
22*598f4ceeSGarrett D'Amore
23*598f4ceeSGarrett D'AmorePROGS = utiltest
24*598f4ceeSGarrett D'Amore
25*598f4ceeSGarrett D'AmoreCMDS = $(PROGS:%=$(ROOTBIN)/%)
26*598f4ceeSGarrett D'Amore$(CMDS) := FILEMODE = 0555
27*598f4ceeSGarrett D'Amore
28*598f4ceeSGarrett D'Amoreall lint clean clobber:
29*598f4ceeSGarrett D'Amore
30*598f4ceeSGarrett D'Amoreinstall: $(CMDS)
31*598f4ceeSGarrett D'Amore
32*598f4ceeSGarrett D'Amore$(CMDS): $(ROOTBIN)
33*598f4ceeSGarrett D'Amore
34*598f4ceeSGarrett D'Amore$(ROOTBIN):
35*598f4ceeSGarrett D'Amore	$(INS.dir)
36*598f4ceeSGarrett D'Amore
37*598f4ceeSGarrett D'Amore$(ROOTBIN)/%: %.ksh
38*598f4ceeSGarrett D'Amore	$(INS.rename)
39