Print this page
    
12595 restructure digest crypto-tests
Reviewed by: Jason King <jason.king@joyent.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Change-Id: Id850230fe9e9e0ee9eb39066b3c07e25739866f8
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/test/crypto-tests/tests/digest/Makefile
          +++ new/usr/src/test/crypto-tests/tests/digest/Makefile
   1    1  #
   2    2  # This file and its contents are supplied under the terms of the
   3    3  # Common Development and Distribution License ("CDDL"), version 1.0.
  
    | 
      ↓ open down ↓ | 
    3 lines elided | 
    
      ↑ open up ↑ | 
  
   4    4  # You may only use this file in accordance with the terms of version
   5    5  # 1.0 of the CDDL.
   6    6  #
   7    7  # A full copy of the text of the CDDL should have accompanied this
   8    8  # source.  A copy of the CDDL is also available via the Internet at
   9    9  # http://www.illumos.org/license/CDDL.
  10   10  #
  11   11  
  12   12  #
  13   13  # Copyright 2019 Joyent, Inc.
       14 +# Copyright 2020 Oxide Computer Company
  14   15  #
  15   16  
  16   17  ALGS    = sha1 sha256 sha384 sha512 sha512_224 sha512_256 md5
       18 +SUBDIRS = data
  17   19  
  18   20  all     :=      TARGET = all
  19   21  install :=      TARGET = install
  20   22  clean   :=      TARGET = clean
  21   23  clobber :=      TARGET = clobber
  22   24  
  23   25  .KEEP_STATE:
  24   26  
  25      -all clean clobber install: $(ALGS)
       27 +all clean clobber install: $(ALGS) $(SUBDIRS)
  26   28  
  27   29  $(ALGS): FRC
  28   30          $(MAKE) -e -f Makefile.digest BASEPROG=$@ $(TARGET)
  29   31  
       32 +$(SUBDIRS): FRC
       33 +        cd $@; pwd; $(MAKE) $(TARGET)
       34 +
  30   35  FRC:
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX