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 # Copyright (c) 2012 by Delphix. All rights reserved.
13 # Copyright 2016 Nexenta Systems, Inc. All rights reserved.
14 #
15 include $(SRC)/Makefile.master
16
17 ROOTOPTPKG = $(ROOT)/opt/nfsgen-tests
18 ROOTBIN = $(ROOTOPTPKG)/bin
19 ROOTSH = $(ROOTBIN)
20
21 DESC = config.vars stf_description README
22 PROGS = checkenv_def configure srv_setup \
23 suite_cleanup suite_setup unconfigure
24
25 STFDESC = $(DESC:%=$(ROOTBIN)/%)
26 SHS = $(PROGS:%=$(ROOTSH)/%)
27 $(STFDESC) := FILEMODE = 0444
28 $(SHS) := FILEMODE = 0555
29
30 all lint clean clobber:
31
32 install: $(STFDESC) $(SHS)
33
34 $(STFDESC) : $(ROOTBIN)
35 $(SHS): $(ROOTSH)
36
37 $(ROOTBIN):
38 $(INS.dir)
39
40 $(ROOTSH)/% : %.ksh
41 $(INS.rename)
42
43 $(ROOTBIN)/% : %
44 $(INS.file)
45
46 .PARALLEL: $(SUBDIRS)
47
48 SUBDIRS = nfsv4
49
50 include $(SRC)/test/Makefile.com