xref: /illumos-gate/usr/src/test/crypto-tests/cmd/kcf/Makefile (revision e75b2cb046700ccab0100afdcd81f2b860fcca87)
1cd964fceSMatt Barden#
2cd964fceSMatt Barden# This file and its contents are supplied under the terms of the
3cd964fceSMatt Barden# Common Development and Distribution License ("CDDL"), version 1.0.
4cd964fceSMatt Barden# You may only use this file in accordance with the terms of version
5cd964fceSMatt Barden# 1.0 of the CDDL.
6cd964fceSMatt Barden#
7cd964fceSMatt Barden# A full copy of the text of the CDDL should have accompanied this
8cd964fceSMatt Barden# source.  A copy of the CDDL is also available via the Internet at
9cd964fceSMatt Barden# http://www.illumos.org/license/CDDL.
10cd964fceSMatt Barden#
11cd964fceSMatt Barden
12cd964fceSMatt Barden#
13cd964fceSMatt Barden# Copyright (c) 2012 by Delphix. All rights reserved.
14cd964fceSMatt Barden# Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
15*e75b2cb0SRobert Mustacchi# Copyright (c) 2018, Joyent, Inc.
16cd964fceSMatt Barden#
17cd964fceSMatt Barden
18cd964fceSMatt Bardeninclude $(SRC)/Makefile.master
19cd964fceSMatt Bardeninclude $(SRC)/test/Makefile.com
20cd964fceSMatt Barden
21cd964fceSMatt BardenROOTOPTPKG = $(ROOT)/opt/crypto-tests
22*e75b2cb0SRobert MustacchiROOTAES = $(ROOTOPTPKG)/tests/aes/kcf
23*e75b2cb0SRobert MustacchiROOTDIGEST = $(ROOTOPTPKG)/tests/digest/kcf
24*e75b2cb0SRobert MustacchiROOTDIRS = $(ROOTAES) $(ROOTDIGEST)
25cd964fceSMatt Barden
26cd964fceSMatt BardenPROGS = cleanup setup
27cd964fceSMatt Barden
28*e75b2cb0SRobert MustacchiCMDS = $(PROGS:%=$(ROOTAES)/%) $(PROGS:%=$(ROOTDIGEST)/%)
29cd964fceSMatt Barden$(CMDS) := FILEMODE = 0555
30cd964fceSMatt Barden
31cd964fceSMatt Bardenall lint clean clobber:
32cd964fceSMatt Barden
33cd964fceSMatt Bardeninstall: $(CMDS)
34cd964fceSMatt Barden
35*e75b2cb0SRobert Mustacchi$(CMDS): $(ROOTDIRS)
36cd964fceSMatt Barden
37*e75b2cb0SRobert Mustacchi$(ROOTDIRS):
38cd964fceSMatt Barden	$(INS.dir)
39cd964fceSMatt Barden
40*e75b2cb0SRobert Mustacchi$(ROOTAES)/%: %.ksh
41*e75b2cb0SRobert Mustacchi	$(INS.rename)
42*e75b2cb0SRobert Mustacchi$(ROOTDIGEST)/%: %.ksh
43cd964fceSMatt Barden	$(INS.rename)
44