xref: /illumos-gate/usr/src/test/crypto-tests/tests/digest/Makefile (revision 080adf9151dd071434400f6061c837f7421eca5f)
1f3041bfaSJason King#
2f3041bfaSJason King# This file and its contents are supplied under the terms of the
3f3041bfaSJason King# Common Development and Distribution License ("CDDL"), version 1.0.
4f3041bfaSJason King# You may only use this file in accordance with the terms of version
5f3041bfaSJason King# 1.0 of the CDDL.
6f3041bfaSJason King#
7f3041bfaSJason King# A full copy of the text of the CDDL should have accompanied this
8f3041bfaSJason King# source.  A copy of the CDDL is also available via the Internet at
9f3041bfaSJason King# http://www.illumos.org/license/CDDL.
10f3041bfaSJason King#
11f3041bfaSJason King
12f3041bfaSJason King#
13faeaba88SJason King# Copyright 2019 Joyent, Inc.
14*080adf91SPatrick Mooney# Copyright 2020 Oxide Computer Company
15f3041bfaSJason King#
16f3041bfaSJason King
176b2ab905SJason KingALGS	= sha1 sha256 sha384 sha512 sha512_224 sha512_256 md5
18*080adf91SPatrick MooneySUBDIRS	= data
19f3041bfaSJason King
20faeaba88SJason Kingall	:=	TARGET = all
21faeaba88SJason Kinginstall	:=	TARGET = install
22faeaba88SJason Kingclean	:=	TARGET = clean
23faeaba88SJason Kingclobber	:=	TARGET = clobber
24f3041bfaSJason King
25faeaba88SJason King.KEEP_STATE:
26f3041bfaSJason King
27*080adf91SPatrick Mooneyall clean clobber install: $(ALGS) $(SUBDIRS)
28f3041bfaSJason King
29faeaba88SJason King$(ALGS): FRC
30faeaba88SJason King	$(MAKE) -e -f Makefile.digest BASEPROG=$@ $(TARGET)
31f3041bfaSJason King
32*080adf91SPatrick Mooney$(SUBDIRS): FRC
33*080adf91SPatrick Mooney	cd $@; pwd; $(MAKE) $(TARGET)
34*080adf91SPatrick Mooney
35faeaba88SJason KingFRC:
36