xref: /illumos-gate/usr/src/test/util-tests/tests/grep_xpg4/files/Makefile (revision e214b19eaa16fec1fa60a97227778103f598336f)
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 2020 Peter Tribble.
16#
17
18include $(SRC)/cmd/Makefile.cmd
19include $(SRC)/test/Makefile.com
20
21ROOTOPTPKG = $(ROOT)/opt/util-tests
22TESTDIR = $(ROOTOPTPKG)/tests/files
23
24PROGS = test0 \
25	test1 \
26	test2 \
27	test3 \
28	test4 \
29	test5 \
30	test6 \
31	test7 \
32	gout0 \
33	gout1 \
34	gout2 \
35	gout3 \
36	gout4 \
37	gout5 \
38	gout6 \
39	gout7 \
40	gout8 \
41	gout9 \
42	gout10 \
43	gout11 \
44	gout12 \
45	gout13 \
46	gout14 \
47	gout15 \
48	gout16 \
49	gout17 \
50	gout18 \
51	gout19 \
52	gout20 \
53	gout21 \
54	gout22 \
55	gout23 \
56	gout24 \
57	gout25 \
58	gout26 \
59	gout27 \
60	gout28 \
61	gout29 \
62	gout30 \
63	gout31 \
64	gout32 \
65	gout33 \
66	gout34 \
67	gout35 \
68	gout36 \
69	gout37 \
70	gout38 \
71	gout39 \
72	gout40 \
73	gout41 \
74	gout42 \
75	gout43 \
76	gout44 \
77	gout45 \
78	gout46 \
79	gout47 \
80	gout48 \
81	gout49 \
82	gout50 \
83	gout51 \
84	gout52 \
85	gout53 \
86	gout54 \
87	gout55 \
88	gout56 \
89	gout57 \
90	gout58 \
91	gout59 \
92	gout60 \
93	gout61 \
94	gout62 \
95	gout63 \
96	gout64 \
97	gout65 \
98	gout66 \
99	gout67 \
100	gout68 \
101	gout69 \
102	gout70 \
103	testnl
104
105CMDS = $(PROGS:%=$(TESTDIR)/%)
106$(CMDS) := FILEMODE = 0444
107
108all lint clean clobber:
109
110install: $(CMDS)
111
112$(CMDS): $(TESTDIR)
113
114$(TESTDIR):
115	$(INS.dir)
116
117$(TESTDIR)/%: %
118	$(INS.file)
119