xref: /titanic_52/usr/src/test/util-tests/tests/xargs/Makefile (revision 826ac02a0def83e0a41b29321470d299c7389aab)
1*826ac02aSGarrett D'Amore#
2*826ac02aSGarrett D'Amore# This file and its contents are supplied under the terms of the
3*826ac02aSGarrett D'Amore# Common Development and Distribution License ("CDDL"), version 1.0.
4*826ac02aSGarrett D'Amore# You may only use this file in accordance with the terms of version
5*826ac02aSGarrett D'Amore# 1.0 of the CDDL.
6*826ac02aSGarrett D'Amore#
7*826ac02aSGarrett D'Amore# A full copy of the text of the CDDL should have accompanied this
8*826ac02aSGarrett D'Amore# source.  A copy of the CDDL is also available via the Internet at
9*826ac02aSGarrett D'Amore# http://www.illumos.org/license/CDDL.
10*826ac02aSGarrett D'Amore#
11*826ac02aSGarrett D'Amore
12*826ac02aSGarrett D'Amore#
13*826ac02aSGarrett D'Amore# Copyright (c) 2012 by Delphix. All rights reserved.
14*826ac02aSGarrett D'Amore# Copyright 2014 Garrett D'Amore <garrett@damore.org>
15*826ac02aSGarrett D'Amore#
16*826ac02aSGarrett D'Amore
17*826ac02aSGarrett D'Amoreinclude $(SRC)/cmd/Makefile.cmd
18*826ac02aSGarrett D'Amoreinclude $(SRC)/test/Makefile.com
19*826ac02aSGarrett D'Amore
20*826ac02aSGarrett D'AmorePROG = xargs_test
21*826ac02aSGarrett D'Amore
22*826ac02aSGarrett D'AmoreROOTOPTPKG = $(ROOT)/opt/util-tests
23*826ac02aSGarrett D'AmoreTESTDIR = $(ROOTOPTPKG)/tests
24*826ac02aSGarrett D'Amore
25*826ac02aSGarrett D'AmoreCMDS = $(PROG:%=$(TESTDIR)/%)
26*826ac02aSGarrett D'Amore$(CMDS) := FILEMODE = 0555
27*826ac02aSGarrett D'Amore
28*826ac02aSGarrett D'Amoreall lint clean clobber:
29*826ac02aSGarrett D'Amore
30*826ac02aSGarrett D'Amoreinstall: all $(CMDS)
31*826ac02aSGarrett D'Amore
32*826ac02aSGarrett D'Amore$(CMDS): $(TESTDIR) $(PROG).ksh
33*826ac02aSGarrett D'Amore
34*826ac02aSGarrett D'Amore$(TESTDIR):
35*826ac02aSGarrett D'Amore	$(INS.dir)
36*826ac02aSGarrett D'Amore
37*826ac02aSGarrett D'Amore$(TESTDIR)/%: %.ksh
38*826ac02aSGarrett D'Amore	$(INS.rename)
39