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 # Copyright (c) 2012 by Delphix. All rights reserved.
12 # Copyright 2014 Nexenta Systems, Inc. All rights reserved.
13 #
14 include $(SRC)/Makefile.master
15
16 ROOTOPTPKG = $(ROOT)/opt/sharefs-tests
17 TESTDIR = $(ROOTOPTPKG)/tests/sharectl
18
19 PROGS = tp_sharectl_009 tp_sharectl_019 tp_sharectl_029 \
20 tc_sharectl tp_sharectl_010 tp_sharectl_020 tp_sharectl_030 \
21 tp_sharectl_001 tp_sharectl_011 tp_sharectl_021 tp_sharectl_031 \
22 tp_sharectl_002 tp_sharectl_012 tp_sharectl_022 tp_sharectl_032 \
23 tp_sharectl_003 tp_sharectl_013 tp_sharectl_023 tp_sharectl_033 \
24 tp_sharectl_004 tp_sharectl_014 tp_sharectl_024 tp_sharectl_034 \
25 tp_sharectl_005 tp_sharectl_015 tp_sharectl_025 tp_sharectl_035 \
26 tp_sharectl_006 tp_sharectl_016 tp_sharectl_026 tp_sharectl_036 \
27 tp_sharectl_007 tp_sharectl_017 tp_sharectl_027 tp_sharectl_037 \
28 tp_sharectl_008 tp_sharectl_018 tp_sharectl_028 tp_sharectl_038
29
30
31 CMDS = $(PROGS:%=$(TESTDIR)/%)
32 $(CMDS) := FILEMODE = 0555
33
34 all lint clean clobber:
35
36 install: $(CMDS)
37
38 $(CMDS): $(TESTDIR)
39
40 $(TESTDIR):
41 $(INS.dir)
42
43 $(TESTDIR)/%: %.ksh
44 $(INS.rename)