xref: /illumos-gate/usr/src/test/util-tests/tests/pwd/Makefile (revision bb22c2af5c5ffa416f82a7b13a92d58240c65a83)
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 2026 Oxide Computer Company
14#
15
16SCRIPTS = pwd-test
17
18ROOTOPTDIR = $(ROOT)/opt/util-tests/tests
19ROOTOPTPROGS = $(SCRIPTS:%=$(ROOTOPTDIR)/%)
20
21include $(SRC)/cmd/Makefile.cmd
22
23.KEEP_STATE:
24
25all: $(PROGS)
26
27install: $(ROOTOPTPROGS)
28
29clean:
30	$(RM) *.o
31
32$(ROOTOPTPROGS): $(PROGS) $(ROOTOPTDIR)
33
34$(ROOTOPTDIR):
35	$(INS.dir)
36
37$(ROOTOPTDIR)/%: %.ksh
38	$(INS.rename)
39
40clobber: clean
41	$(RM) $(PROGS)
42
43FRC:
44