xref: /illumos-gate/usr/src/test/util-tests/tests/grep_xpg4/files/Makefile (revision f415aa8f1340638644c6cf63e9d11d3767f4cbba)
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# Copyright 2020 Oxide Computer Company
17#
18
19include $(SRC)/cmd/Makefile.cmd
20include $(SRC)/test/Makefile.com
21
22ROOTOPTPKG = $(ROOT)/opt/util-tests
23TESTDIR = $(ROOTOPTPKG)/tests/files/grep
24
25PROGS = test0 \
26	test1 \
27	test2 \
28	test3 \
29	test4 \
30	test5 \
31	test6 \
32	test7 \
33	gout.t1.0 \
34	gout.t1.1 \
35	gout.t1.2 \
36	gout.t1.3 \
37	gout.t1.4 \
38	gout.t1.5 \
39	gout.t1.6 \
40	gout.t1.7 \
41	gout.t1.8 \
42	gout.t1.9 \
43	gout.t1.10 \
44	gout.t1.11 \
45	gout.t1.12 \
46	gout.t1.13 \
47	gout.t1.14 \
48	gout.t1.15 \
49	gout.t1.16 \
50	gout.t1.17 \
51	gout.t1.18 \
52	gout.t1.19 \
53	gout.t1.20 \
54	gout.t1.21 \
55	gout.t1.22 \
56	gout.t1.23 \
57	gout.t1.24 \
58	gout.t1.25 \
59	gout.t1.26 \
60	gout.t1.27 \
61	gout.t1.28 \
62	gout.t1.29 \
63	gout.t1.30 \
64	gout.t1.31 \
65	gout.t1.32 \
66	gout.t1.33 \
67	gout.t1.34 \
68	gout.t1.35 \
69	gout.t1.36 \
70	gout.t1.37 \
71	gout.t1.38 \
72	gout.t1.39 \
73	gout.t1.40 \
74	gout.t1.41 \
75	gout.t1.42 \
76	gout.t1.43 \
77	gout.t1.44 \
78	gout.t1.45 \
79	gout.t1.46 \
80	gout.t1.47 \
81	gout.t1.48 \
82	gout.t1.49 \
83	gout.t1.50 \
84	gout.t1.51 \
85	gout.t1.52 \
86	gout.t1.53 \
87	gout.t1.54 \
88	gout.t1.55 \
89	gout.t1.56 \
90	gout.t1.57 \
91	gout.t1.58 \
92	gout.t1.59 \
93	gout.t1.60 \
94	gout.t1.61 \
95	gout.t1.62 \
96	gout.t2.0 \
97	gout.t3.0 \
98	gout.t3.1 \
99	gout.t3.2 \
100	gout.t4.0 \
101	gout.t4.1 \
102	gout.t5.0 \
103	gout.t5.1 \
104	testnl
105
106CMDS = $(PROGS:%=$(TESTDIR)/%)
107$(CMDS) := FILEMODE = 0444
108
109all lint clean clobber:
110
111install: $(CMDS)
112
113$(CMDS): $(TESTDIR)
114
115$(TESTDIR):
116	$(INS.dir)
117
118$(TESTDIR)/%: %
119	$(INS.file)
120