xref: /illumos-gate/usr/src/test/libsec-tests/tests/fromtext/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/fromtext
20
21PROG = \
22	acl_fromtext_0 \
23	acl_fromtext_1 \
24	acl_fromtext_2 \
25	acl_fromtext_3 \
26	acl_fromtext_4 \
27	acl_fromtext_5 \
28	acl_fromtext_6 \
29	acl_fromtext_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