1*ce8560eeSMatt Barden#
2*ce8560eeSMatt Barden# This file and its contents are supplied under the terms of the
3*ce8560eeSMatt Barden# Common Development and Distribution License ("CDDL"), version 1.0.
4*ce8560eeSMatt Barden# You may only use this file in accordance with the terms of version
5*ce8560eeSMatt Barden# 1.0 of the CDDL.
6*ce8560eeSMatt Barden#
7*ce8560eeSMatt Barden# A full copy of the text of the CDDL should have accompanied this
8*ce8560eeSMatt Barden# source.  A copy of the CDDL is also available via the Internet at
9*ce8560eeSMatt Barden# http://www.illumos.org/license/CDDL.
10*ce8560eeSMatt Barden#
11*ce8560eeSMatt Barden
12*ce8560eeSMatt Barden#
13*ce8560eeSMatt Barden# Copyright 2019 Joyent, Inc.
14*ce8560eeSMatt Barden# Copyright 2020 Tintri by DDN, Inc. All rights reserved.
15*ce8560eeSMatt Barden#
16*ce8560eeSMatt Barden
17*ce8560eeSMatt Bardeninclude $(SRC)/Makefile.master
18*ce8560eeSMatt Barden
19*ce8560eeSMatt BardenCFGS = samlogon.config krb5_pac.config
20*ce8560eeSMatt BardenROOTOPTPKG = $(ROOT)/opt/libmlrpc-tests
21*ce8560eeSMatt BardenROOTOPTPKGCFG = $(ROOT)/opt/libmlrpc-tests/cfg
22*ce8560eeSMatt BardenROOTOPTPKGDIRS = $(ROOTOPTPKG) $(ROOTOPTPKGCFG)
23*ce8560eeSMatt BardenFILES = $(CFGS:%=$(ROOTOPTPKGCFG)/%)
24*ce8560eeSMatt Barden$(FILES) := FILEMODE = 0644
25*ce8560eeSMatt Barden
26*ce8560eeSMatt Bardeninclude $(SRC)/test/Makefile.com
27*ce8560eeSMatt Barden
28*ce8560eeSMatt Bardenall: $(CFGS)
29*ce8560eeSMatt Barden
30*ce8560eeSMatt Bardeninstall: $(ROOTOPTPKG) $(ROOTOPTPKGCFG) $(FILES)
31*ce8560eeSMatt Barden
32*ce8560eeSMatt Bardenclobber: clean
33*ce8560eeSMatt Barden	$(RM) $(FILES)
34*ce8560eeSMatt Barden
35*ce8560eeSMatt Barden$(ROOTOPTPKGDIRS):
36*ce8560eeSMatt Barden	$(INS.dir)
37*ce8560eeSMatt Barden
38*ce8560eeSMatt Barden$(ROOTOPTPKGCFG)/%: % $(ROOTOPTPKGDIRS)
39*ce8560eeSMatt Barden	$(INS.file)
40