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 2015 Nexenta Systems, Inc. All rights reserved.
13 #
14 include $(SRC)/Makefile.master
15
16 ROOTOPTPKG = $(ROOT)/opt/comstar-tests
17 TESTDIR = $(ROOTOPTPKG)/tests/stmfadm/add
18
19 PROGS = tc_add_stmfadm tp_add_stmfadm_001 tp_add_stmfadm_002 tp_add_stmfadm_003 \
20 tp_add_stmfadm_004 tp_add_stmfadm_005 tp_add_stmfadm_006 tp_add_stmfadm_008 \
21 tp_add_stmfadm_009 tp_add_stmfadm_010 tp_add_stmfadm_011 tp_add_stmfadm_012 \
22 tp_add_stmfadm_013 tp_add_stmfadm_014 tp_add_stmfadm_015 tp_add_stmfadm_016 \
23 tp_add_stmfadm_017 tp_add_stmfadm_018 tp_add_stmfadm_019 tp_add_stmfadm_020 \
24 tp_add_stmfadm_021 tp_add_stmfadm_022 tp_add_stmfadm_023 tp_add_stmfadm_024 \
25 tp_add_stmfadm_025 tp_add_stmfadm_026 tp_add_stmfadm_007
26
27
28 CMDS = $(PROGS:%=$(TESTDIR)/%)
29 $(CMDS) := FILEMODE = 0555
30
31 all lint clean clobber:
32
33 install: $(CMDS)
34
35 $(CMDS): $(TESTDIR)
36
37 $(TESTDIR):
38 $(INS.dir)
39
40 $(TESTDIR)/%: %.ksh
41 $(INS.rename)