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