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