Print this page
4185 New hash algorithm support


   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright (c) 2012 Nexenta Systems, Inc. All rights reserved.

  25 #
  26 
  27 #
  28 # uts/common/Makefile.rules
  29 #
  30 #       This Makefile defines all the file build rules for the directory
  31 # uts/common and its children. These are the source files which may
  32 # be considered common to all SunOS systems.
  33 #
  34 #       The following two-level ordering must be maintained in this file.
  35 #         Lines are sorted first in order of decreasing specificity based on
  36 #         the first directory component.  That is, sun4u rules come before
  37 #         sparc rules come before common rules.
  38 #
  39 #         Lines whose initial directory components are equal are sorted
  40 #         alphabetically by the remaining components.
  41 
  42 #
  43 #       Section 1a: C objects build rules
  44 #


1503 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/pcmcia/nexus/%.c
1504         $(COMPILE.c) -o $@ $<
1505         $(CTFCONVERT_O)
1506 
1507 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/pcmcia/pcs/%.c
1508         $(COMPILE.c) -o $@ $<
1509         $(CTFCONVERT_O)
1510 
1511 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/rpc/%.c
1512         $(COMPILE.c) -o $@ $<
1513         $(CTFCONVERT_O)
1514 
1515 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/rpc/sec/%.c
1516         $(COMPILE.c) -o $@ $<
1517         $(CTFCONVERT_O)
1518 
1519 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/rpc/sec_gss/%.c
1520         $(COMPILE.c) -o $@ $<
1521         $(CTFCONVERT_O)
1522 




1523 $(OBJS_DIR)/%.o:                $(COMMONBASE)/crypto/sha1/%.c
1524         $(COMPILE.c) -o $@ $<
1525         $(CTFCONVERT_O)
1526 
1527 $(OBJS_DIR)/%.o:                $(COMMONBASE)/crypto/sha2/%.c
1528         $(COMPILE.c) -o $@ $<
1529         $(CTFCONVERT_O)
1530 




1531 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/syscall/%.c
1532         $(COMPILE.c) -o $@ $<
1533         $(CTFCONVERT_O)
1534 
1535 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/tnf/%.c
1536         $(COMPILE.c) -o $@ $<
1537         $(CTFCONVERT_O)
1538 
1539 $(OBJS_DIR)/%.o:                $(COMMONBASE)/tsol/%.c
1540         $(COMPILE.c) -o $@ $<
1541         $(CTFCONVERT_O)
1542 
1543 $(OBJS_DIR)/%.o:                $(COMMONBASE)/util/%.c
1544         $(COMPILE.c) -o $@ $<
1545         $(CTFCONVERT_O)
1546 
1547 $(OBJS_DIR)/%.o:                $(COMMONBASE)/unicode/%.c
1548         $(COMPILE.c) -o $@ $<
1549         $(CTFCONVERT_O)
1550 


2635         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2636 
2637 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/pcmcia/cis/%.c
2638         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2639 
2640 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/pcmcia/nexus/%.c
2641         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2642 
2643 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/pcmcia/pcs/%.c
2644         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2645 
2646 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/rpc/%.c
2647         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2648 
2649 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/rpc/sec/%.c
2650         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2651 
2652 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/rpc/sec_gss/%.c
2653         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2654 



2655 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/sha1/%.c
2656         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2657 
2658 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/sha2/%.c
2659         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2660 



2661 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/syscall/%.c
2662         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2663 
2664 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/tnf/%.c
2665         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2666 
2667 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/tsol/%.c
2668         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2669 
2670 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/util/%.c
2671         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2672 
2673 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/unicode/%.c
2674         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2675 
2676 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/vm/%.c
2677         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2678 
2679 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/scsi/adapters/iscsi/%.c
2680         @($(LHEAD) $(LINT.c) $< $(LTAIL))




   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright (c) 2012 Nexenta Systems, Inc. All rights reserved.
  25 # Copyright 2013 Saso Kiselkov. All rights reserved.
  26 #
  27 
  28 #
  29 # uts/common/Makefile.rules
  30 #
  31 #       This Makefile defines all the file build rules for the directory
  32 # uts/common and its children. These are the source files which may
  33 # be considered common to all SunOS systems.
  34 #
  35 #       The following two-level ordering must be maintained in this file.
  36 #         Lines are sorted first in order of decreasing specificity based on
  37 #         the first directory component.  That is, sun4u rules come before
  38 #         sparc rules come before common rules.
  39 #
  40 #         Lines whose initial directory components are equal are sorted
  41 #         alphabetically by the remaining components.
  42 
  43 #
  44 #       Section 1a: C objects build rules
  45 #


1504 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/pcmcia/nexus/%.c
1505         $(COMPILE.c) -o $@ $<
1506         $(CTFCONVERT_O)
1507 
1508 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/pcmcia/pcs/%.c
1509         $(COMPILE.c) -o $@ $<
1510         $(CTFCONVERT_O)
1511 
1512 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/rpc/%.c
1513         $(COMPILE.c) -o $@ $<
1514         $(CTFCONVERT_O)
1515 
1516 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/rpc/sec/%.c
1517         $(COMPILE.c) -o $@ $<
1518         $(CTFCONVERT_O)
1519 
1520 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/rpc/sec_gss/%.c
1521         $(COMPILE.c) -o $@ $<
1522         $(CTFCONVERT_O)
1523 
1524 $(OBJS_DIR)/%.o:                $(COMMONBASE)/crypto/edonr/%.c
1525         $(COMPILE.c) -o $@ $<
1526         $(CTFCONVERT_O)
1527 
1528 $(OBJS_DIR)/%.o:                $(COMMONBASE)/crypto/sha1/%.c
1529         $(COMPILE.c) -o $@ $<
1530         $(CTFCONVERT_O)
1531 
1532 $(OBJS_DIR)/%.o:                $(COMMONBASE)/crypto/sha2/%.c
1533         $(COMPILE.c) -o $@ $<
1534         $(CTFCONVERT_O)
1535 
1536 $(OBJS_DIR)/%.o:                $(COMMONBASE)/crypto/skein/%.c
1537         $(COMPILE.c) -o $@ $<
1538         $(CTFCONVERT_O)
1539 
1540 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/syscall/%.c
1541         $(COMPILE.c) -o $@ $<
1542         $(CTFCONVERT_O)
1543 
1544 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/tnf/%.c
1545         $(COMPILE.c) -o $@ $<
1546         $(CTFCONVERT_O)
1547 
1548 $(OBJS_DIR)/%.o:                $(COMMONBASE)/tsol/%.c
1549         $(COMPILE.c) -o $@ $<
1550         $(CTFCONVERT_O)
1551 
1552 $(OBJS_DIR)/%.o:                $(COMMONBASE)/util/%.c
1553         $(COMPILE.c) -o $@ $<
1554         $(CTFCONVERT_O)
1555 
1556 $(OBJS_DIR)/%.o:                $(COMMONBASE)/unicode/%.c
1557         $(COMPILE.c) -o $@ $<
1558         $(CTFCONVERT_O)
1559 


2644         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2645 
2646 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/pcmcia/cis/%.c
2647         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2648 
2649 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/pcmcia/nexus/%.c
2650         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2651 
2652 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/pcmcia/pcs/%.c
2653         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2654 
2655 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/rpc/%.c
2656         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2657 
2658 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/rpc/sec/%.c
2659         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2660 
2661 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/rpc/sec_gss/%.c
2662         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2663 
2664 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/edonr/%.c
2665         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2666 
2667 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/sha1/%.c
2668         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2669 
2670 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/sha2/%.c
2671         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2672 
2673 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/skein/%.c
2674         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2675 
2676 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/syscall/%.c
2677         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2678 
2679 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/tnf/%.c
2680         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2681 
2682 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/tsol/%.c
2683         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2684 
2685 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/util/%.c
2686         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2687 
2688 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/unicode/%.c
2689         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2690 
2691 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/vm/%.c
2692         @($(LHEAD) $(LINT.c) $< $(LTAIL))
2693 
2694 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/scsi/adapters/iscsi/%.c
2695         @($(LHEAD) $(LINT.c) $< $(LTAIL))