xref: /illumos-gate/usr/src/test/util-tests/tests/chown/files/Makefile (revision 533affcbc7fc4d0c8132976ea454aaa715fe2307)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright (c) 2013 by Delphix. All rights reserved.
14# Copyright 2014 Nexenta Systems, Inc. All rights reserved.
15# Copyright 2019 Alexander Pyhalov
16#
17
18include $(SRC)/cmd/Makefile.cmd
19include $(SRC)/test/Makefile.com
20
21ROOTOPTPKG = $(ROOT)/opt/util-tests
22TESTDIR = $(ROOTOPTPKG)/tests/files
23
24PROGS = cout0 \
25	cout1 \
26	cout2 \
27	cout3 \
28	cout4 \
29	cout5 \
30	cout6 \
31	cout7 \
32	cout8 \
33	cout9 \
34	cout10 \
35	cout11
36
37CMDS = $(PROGS:%=$(TESTDIR)/%)
38$(CMDS) := FILEMODE = 0444
39
40all lint clean clobber:
41
42install: $(CMDS)
43
44$(CMDS): $(TESTDIR)
45
46$(TESTDIR):
47	$(INS.dir)
48
49$(TESTDIR)/%: %
50	$(INS.file)
51