Print this page
4185 New hash algorithm support

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libmd/Makefile.targ
          +++ new/usr/src/lib/libmd/Makefile.targ
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  
  22   22  #
  23   23  # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
       24 +# Copyright 2013 Saso Kiselkov. All rights reserved.
  24   25  #
  25   26  
  26   27  COMDIR =        $(SRC)/common/crypto
  27   28  
       29 +pics/%.o: $(COMDIR)/edonr/%.c
       30 +                $(COMPILE.c) -I$(COMDIR)/edonr -o $@ $<
       31 +                $(POST_PROCESS_O)
       32 +
  28   33  pics/%.o: $(COMDIR)/md4/%.c
  29   34                  $(COMPILE.c) -I$(COMDIR)/md4 -o $@ $<
  30   35                  $(POST_PROCESS_O)
  31   36  
  32   37  pics/%.o: $(COMDIR)/md5/%.c
  33   38                  $(COMPILE.c) -I$(COMDIR)/md5 $(INLINES) -o $@ $<
  34   39                  $(POST_PROCESS_O)
  35   40  
  36   41  pics/%.o: $(COMDIR)/sha1/%.c
  37   42                  $(COMPILE.c) -I$(COMDIR)/sha1 -o $@ $<
↓ open down ↓ 1 lines elided ↑ open up ↑
  39   44  
  40   45  pics/sha1_asm.o: $(COMDIR)/sha1/sparc/$(PLATFORM)/sha1_asm.s
  41   46                  $(COMPILE.s) -o pics/sha1_asm.o \
  42   47                  $(COMDIR)/sha1/sparc/$(PLATFORM)/sha1_asm.s
  43   48                  $(POST_PROCESS_O)
  44   49  
  45   50  pics/%.o: $(COMDIR)/sha2/%.c
  46   51                  $(COMPILE.c) -I$(COMDIR)/sha2 -o $@ $<
  47   52                  $(POST_PROCESS_O)
  48   53  
       54 +pics/%.o: $(COMDIR)/skein/%.c
       55 +                $(COMPILE.c) -I$(COMDIR)/skein -o $@ $<
       56 +                $(POST_PROCESS_O)
       57 +
  49   58  include         $(SRC)/lib/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX