xref: /illumos-gate/usr/src/test/libsec-tests/tests/totext/Makefile (revision 42920ac8f798accb1375a7faa38ddefa674abf63)
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 2024 RackTop Systems, Inc.
14#
15include $(SRC)/Makefile.master
16include $(SRC)/cmd/Makefile.cmd
17
18ROOTOPTPKG = $(ROOT)/opt/libsec-tests
19TESTDIR = $(ROOTOPTPKG)/tests/totext
20
21PROG = \
22	acl_totext_0 \
23	acl_totext_1 \
24	acl_totext_2 \
25	acl_totext_3 \
26	acl_totext_4 \
27	acl_totext_5 \
28	acl_totext_6 \
29	acl_totext_7
30
31CMDS = $(PROG:%=$(TESTDIR)/%)
32FILEMODE=0444
33$(CMDS) := FILEMODE = 0555
34
35include $(SRC)/test/Makefile.com
36
37install: $(CMDS)
38
39clobber: clean
40	$(RM) $(CMDS)
41
42$(CMDS): $(TESTDIR)
43
44$(TESTDIR):
45	$(INS.dir)
46
47$(TESTDIR)/%: %
48	$(INS.file)
49
50$(TESTDIR)/%: %.ksh
51	$(INS.rename)
52