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*faeaba88SJason King# Copyright 2019 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 22e75b2cb0SRobert MustacchiROOTAES = $(ROOTOPTPKG)/tests/aes/kcf 23e75b2cb0SRobert MustacchiROOTDIGEST = $(ROOTOPTPKG)/tests/digest/kcf 24*faeaba88SJason KingROOTHMAC = $(ROOTOPTPKG)/tests/hmac/kcf 25*faeaba88SJason King 26*faeaba88SJason KingROOTDIRS = $(ROOTAES) $(ROOTDIGEST) $(ROOTHMAC) 27cd964fceSMatt Barden 28cd964fceSMatt BardenPROGS = cleanup setup 29cd964fceSMatt Barden 30*faeaba88SJason KingCMDS = \ 31*faeaba88SJason King $(PROGS:%=$(ROOTAES)/%) \ 32*faeaba88SJason King $(PROGS:%=$(ROOTDIGEST)/%) \ 33*faeaba88SJason King $(PROGS:%=$(ROOTHMAC)/%) 34*faeaba88SJason King 35cd964fceSMatt Barden$(CMDS) := FILEMODE = 0555 36cd964fceSMatt Barden 37cd964fceSMatt Bardenall lint clean clobber: 38cd964fceSMatt Barden 39cd964fceSMatt Bardeninstall: $(CMDS) 40cd964fceSMatt Barden 41e75b2cb0SRobert Mustacchi$(CMDS): $(ROOTDIRS) 42cd964fceSMatt Barden 43e75b2cb0SRobert Mustacchi$(ROOTDIRS): 44cd964fceSMatt Barden $(INS.dir) 45cd964fceSMatt Barden 46e75b2cb0SRobert Mustacchi$(ROOTAES)/%: %.ksh 47e75b2cb0SRobert Mustacchi $(INS.rename) 48e75b2cb0SRobert Mustacchi$(ROOTDIGEST)/%: %.ksh 49cd964fceSMatt Barden $(INS.rename) 50*faeaba88SJason King$(ROOTHMAC)/%: %.ksh 51*faeaba88SJason King $(INS.rename) 52