xref: /illumos-gate/usr/src/test/libmlrpc-tests/cfg/Makefile (revision 431a74760e42d5af1054ef3d5de0e389ea277476)
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 2019 Joyent, Inc.
14# Copyright 2020 Tintri by DDN, Inc. All rights reserved.
15#
16
17include $(SRC)/Makefile.master
18
19CFGS = samlogon.config krb5_pac.config
20ROOTOPTPKG = $(ROOT)/opt/libmlrpc-tests
21ROOTOPTPKGCFG = $(ROOT)/opt/libmlrpc-tests/cfg
22ROOTOPTPKGDIRS = $(ROOTOPTPKG) $(ROOTOPTPKGCFG)
23FILES = $(CFGS:%=$(ROOTOPTPKGCFG)/%)
24$(FILES) := FILEMODE = 0644
25
26include $(SRC)/test/Makefile.com
27
28all: $(CFGS)
29
30install: $(ROOTOPTPKG) $(ROOTOPTPKGCFG) $(FILES)
31
32clobber: clean
33	$(RM) $(FILES)
34
35$(ROOTOPTPKGDIRS):
36	$(INS.dir)
37
38$(ROOTOPTPKGCFG)/%: % $(ROOTOPTPKGDIRS)
39	$(INS.file)
40