xref: /titanic_51/usr/src/test/zfs-tests/tests/functional/checksum/Makefile (revision 45818ee124adeaaf947698996b4f4c722afc6d1f)
1*45818ee1SMatthew Ahrens#
2*45818ee1SMatthew Ahrens# This file and its contents are supplied under the terms of the
3*45818ee1SMatthew Ahrens# Common Development and Distribution License ("CDDL"), version 1.0.
4*45818ee1SMatthew Ahrens# You may only use this file in accordance with the terms of version
5*45818ee1SMatthew Ahrens# 1.0 of the CDDL.
6*45818ee1SMatthew Ahrens#
7*45818ee1SMatthew Ahrens# A full copy of the text of the CDDL should have accompanied this
8*45818ee1SMatthew Ahrens# source.  A copy of the CDDL is also available via the Internet at
9*45818ee1SMatthew Ahrens# http://www.illumos.org/license/CDDL.
10*45818ee1SMatthew Ahrens#
11*45818ee1SMatthew Ahrens
12*45818ee1SMatthew Ahrens#
13*45818ee1SMatthew Ahrens# Copyright (c) 2015 by Delphix. All rights reserved.
14*45818ee1SMatthew Ahrens#
15*45818ee1SMatthew Ahrens
16*45818ee1SMatthew Ahrens.PARALLEL: $(SUBDIRS)
17*45818ee1SMatthew Ahrens
18*45818ee1SMatthew Ahrensinclude $(SRC)/Makefile.master
19*45818ee1SMatthew Ahrens
20*45818ee1SMatthew AhrensROOTOPTPKG = $(ROOT)/opt/zfs-tests
21*45818ee1SMatthew AhrensTESTDIR = $(ROOTOPTPKG)/tests/functional/checksum
22*45818ee1SMatthew Ahrens
23*45818ee1SMatthew AhrensSCRIPTS = run_edonr_test \
24*45818ee1SMatthew Ahrens	run_sha2_test \
25*45818ee1SMatthew Ahrens	run_skein_test
26*45818ee1SMatthew Ahrens
27*45818ee1SMatthew AhrensCMDS = $(SCRIPTS:%=$(TESTDIR)/%)
28*45818ee1SMatthew Ahrens$(CMDS) := FILEMODE = 0555
29*45818ee1SMatthew Ahrens
30*45818ee1SMatthew Ahrensall lint clean clobber:
31*45818ee1SMatthew Ahrens
32*45818ee1SMatthew Ahrensinstall: $(CMDS)
33*45818ee1SMatthew Ahrens
34*45818ee1SMatthew Ahrens$(CMDS): $(TESTDIR)
35*45818ee1SMatthew Ahrens
36*45818ee1SMatthew Ahrens$(TESTDIR):
37*45818ee1SMatthew Ahrens	$(INS.dir)
38*45818ee1SMatthew Ahrens
39*45818ee1SMatthew Ahrens$(TESTDIR)/%: %
40*45818ee1SMatthew Ahrens	$(INS.file)
41*45818ee1SMatthew Ahrens
42*45818ee1SMatthew Ahrens$(TESTDIR)/%: %.ksh
43*45818ee1SMatthew Ahrens	$(INS.rename)
44*45818ee1SMatthew Ahrens
45*45818ee1SMatthew AhrensSUBDIRS = edonr \
46*45818ee1SMatthew Ahrens	sha2 \
47*45818ee1SMatthew Ahrens	skein
48*45818ee1SMatthew Ahrens
49*45818ee1SMatthew Ahrensinclude $(SRC)/test/Makefile.com
50